Function at 0x414cb8
Capabilities:
Open clipboard
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 0x52a900
mov edi, edx
mov dword [ebp - 0xc], ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, dword [sym.imp.USER32.dll_EnableMenuItem]
neg eax
sbb esi, esi
inc esi
push esi
push 0x9c42
push edi
call ebx
push esi
push 0x4e29
push edi
call ebx
push esi
push 0x4e27
push edi
call ebx
push esi
push 0x4e28
push edi
call ebx
push esi
push 0x4e2a
push edi
call ebx
push esi
push 0x4e26
push edi
call ebx
push esi
push 0x9c48
push edi
call ebx
push esi
push 0x9c4f
push edi
call ebx
push esi
push 0x9c50
push edi
call ebx
push esi
push 0x9c52
push edi
call ebx
push esi
push 0x9c47
push edi
call ebx
mov eax, dword [0x524fc8]
neg eax
sbb eax, eax
and eax, 8
push eax
push 0x9c47
push edi
call dword [sym.imp.USER32.dll_CheckMenuItem]
push esi
push 0x9caa
push edi
call ebx
imul eax, dword [0x5278e4], 0x50
mov ecx, 0x9ca8
lea edx, [ecx - 4]
mov eax, dword [eax + 0x4f8a50]
test al, 0x10
je 0x414d7f
lea eax, [ecx - 2]
jmp 0x414da5
test al, 8
je 0x414d8a
mov eax, 0x9ca5
jmp 0x414da5
test al, 4
je 0x414d92
mov eax, ecx
jmp 0x414da5
test al, 2
je 0x414d9d
mov eax, 0x9ca7
jmp 0x414da5
test al, 1
push 0xffffffffffffffff
pop eax
cmovne eax, edx
mov esi, dword [sym.imp.USER32.dll_CheckMenuRadioItem]
push 0
push eax
push ecx
push edx
push edi
call esi
mov ecx, dword [0x5278d4]
mov edx, 0x9d08
test ecx, ecx
jne 0x414dc6
mov eax, edx
jmp 0x414dd3
xor eax, eax
cmp ecx, 2
setne al
add eax, 0x9d09
push 0
push eax
push 0x9d0a
push edx
push edi
call esi
mov ecx, dword [0x52a698]
xor esi, esi
push esi
push esi
xor edx, edx
call fcn.0041175c
pop ecx
pop ecx
xor ecx, ecx
test eax, eax
setle cl
push ecx
push 0x9c54
push edi
call ebx
push esi
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x87e
push dword [0x52a68c]
call esi
xor ecx, ecx
test eax, eax
sete cl
push ecx
push 0x9d6c
push edi
call ebx
push 0
push 0
push 0x7e0
push dword [0x52a68c]
call esi
xor ecx, ecx
test eax, eax
sete cl
push ecx
push 0x9d6d
push edi
call ebx
push 0
push 0
push 0x861
push dword [0x52a68c]
call esi
push 0
push 0
push 0x85f
push dword [0x52a68c]
mov esi, eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x87d
push dword [0x52a68c]
sub esi, eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 8], eax
xor eax, eax
test esi, esi
sete al
push eax
push 0x9d6e
push edi
mov dword [ebp - 4], eax
call ebx
push dword [ebp - 4]
push 0x9d6f
push edi
call ebx
push 0
push 0
push 0x7d6
push dword [0x52a68c]
call dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
test eax, eax
sete cl
push ecx
push 0x9d70
push edi
call ebx
push dword [ebp - 4]
push 0x9d71
push edi
call ebx
xor eax, eax
cmp dword [ebp - 8], eax
sete al
push eax
push 0x9d72
push edi
call ebx
test esi, esi
jne 0x414ef7
cmp dword [ebp - 8], esi
jne 0x414ef7
xor eax, eax
inc eax
jmp 0x414ef9
xor eax, eax
push eax
push 0x9d73
push edi
call ebx
push dword [ebp - 4]
push 0x9d74
push edi
call ebx
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_CountClipboardFormats]
xor ecx, ecx
test eax, eax
sete cl
push ecx
push 0x9d75
push edi
call ebx
call dword [sym.imp.USER32.dll_CloseClipboard]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
push eax
push eax
push eax
push 0x861
push dword [0x52a68c]
call esi
push eax
push 0x876
push dword [0x52a68c]
call esi
mov esi, eax
xor eax, eax
push eax
push eax
push eax
push 0x85f
push dword [0x52a68c]
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 0x876
push dword [0x52a68c]
call dword [sym.imp.USER32.dll_SendMessageW]
sub esi, eax
xor eax, eax
cmp esi, 1
setl al
push eax
push 0x9d91
push edi
call ebx
mov esi, dword [ebp - 4]
push esi
push 0x9d81
push edi
call ebx
push esi
push 0x9d82
push edi
call ebx
push esi
push 0x9d83
push edi
call ebx
push esi
push 0x9d84
push edi
call ebx
push esi
push 0x9d93
push edi
call ebx
push esi
push 0x9d94
push edi
call ebx
push esi
push 0x9d95
push edi
call ebx
push esi
push 0x9d96
push edi
call ebx
push esi
push 0x9d97
push edi
call ebx
push esi
push 0x9d98
push edi
call ebx
push esi
push 0x9d99
push edi
call ebx
push esi
push 0x9d9a
push edi
call ebx
push esi
push 0x9d9b
push edi
call ebx
push esi
push 0x9da4
push edi
call ebx
push esi
push 0x9da5
push edi
call ebx
push esi
push 0x9da6
push edi
call ebx
push esi
push 0x9da7
push edi
call ebx
push esi
push 0x9da8
push edi
call ebx
push esi
push 0x9da9
push edi
call ebx
push esi
push 0x9df1
push edi
call ebx
push 0
push 0
push 0xfa2
push dword [0x52a68c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
xor eax, eax
inc eax
cmp esi, eax
je 0x415076
cmp esi, 0x26
je 0x415076
cmp esi, 0x10
je 0x415076
xor eax, eax
push eax
push 0x9da2
push edi
call ebx
xor eax, eax
inc eax
cmp esi, eax
je 0x4150f4
cmp esi, 0x1c
je 0x4150f4
cmp esi, 0xb
je 0x4150f4
cmp esi, 8
je 0x4150f4
cmp esi, 0x22
je 0x4150f4
cmp esi, 7
je 0x4150f4
cmp esi, 6
je 0x4150f4
cmp esi, 2
je 0x4150f4
cmp esi, 9
je 0x4150f4
cmp esi, 0x11
je 0x4150f4
cmp esi, 0x58
je 0x4150f4
cmp esi, 0xc
je 0x4150f4
cmp esi, 0x10
je 0x4150f4
cmp esi, 0x3e
je 0x4150f4
cmp esi, 0x19
je 0x4150f4
cmp esi, 0x3c
je 0x4150f4
cmp esi, 0xe
je 0x4150f4
cmp esi, 0xc8
je 0x4150f4
cmp esi, 0x16
je 0x4150f4
cmp esi, 0x50
je 0x4150f4
cmp esi, 0x62
je 0x4150f4
cmp esi, 0x30
je 0x4150f4
xor eax, eax
push eax
push 0x9da3
push edi
call ebx
imul eax, dword [0x5278e4], 0x50
xor ecx, ecx
mov eax, dword [eax + 0x4f8a58]
cmp byte [eax], cl
sete cl
push ecx
push 0x9d9d
push edi
call ebx
push 0
push 0
push 0x7d6
push dword [0x52a68c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, eax
xor eax, eax
test ecx, ecx
mov dword [ebp - 4], ecx
sete al
push eax
push 0x9dac
push edi
mov dword [ebp - 8], eax
call ebx
mov esi, dword [ebp - 8]
push esi
push 0x9dad
push edi
call ebx
push esi
push 0x9dae
push edi
call ebx
cmp dword [ebp - 4], 0
je 0x415175
push 0x523fa8
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x415175
xor eax, eax
jmp 0x415178
xor eax, eax
inc eax
push eax
push 0x9daf
push edi
call ebx
push esi
push 0x9db0
push edi
call ebx
push esi
push 0x9db1
push edi
call ebx
cmp dword [ebp - 4], 0
je 0x4151ac
push 0x523fa8
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x4151ac
xor eax, eax
jmp 0x4151af
xor eax, eax
inc eax
push eax
push 0x9db3
push edi
call ebx
cmp dword [ebp - 4], 0
je 0x4151d1
push 0x523fa8
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x4151d1
xor eax, eax
jmp 0x4151d4
xor eax, eax
inc eax
push eax
push 0x9db4
push edi
call ebx
push esi
push 0x9daa
push edi
call ebx
push esi
push 0x9dab
push edi
call ebx
push esi
push 0x9d7f
push edi
call ebx
push esi
push 0x9d80
push edi
call ebx
push esi
push 0x4e23
push edi
call ebx
push esi
push 0x4e24
push edi
call ebx
push esi
push 0x4e2e
push edi
call ebx
cmp dword [ebp - 4], 0
je 0x41522f
cmp dword [0x526f0c], 0
je 0x41522f
xor eax, eax
jmp 0x415232
xor eax, eax
inc eax
push eax
push 0x9dfe
push edi
call ebx
mov eax, dword [0x526f0c]
push 8
neg eax
pop esi
sbb eax, eax
and eax, esi
push eax
push 0x9dfd
push edi
call dword [sym.imp.USER32.dll_CheckMenuItem]
mov eax, dword [0x526cc4]
neg eax
sbb eax, eax
and eax, esi
push eax
push 0x9dd1
push edi
call dword [sym.imp.USER32.dll_CheckMenuItem]
mov eax, dword [0x52a5f0]
neg eax
sbb eax, eax
and eax, esi
push eax
push 0x9dd4
push edi
call dword [sym.imp.USER32.dll_CheckMenuItem]
mov eax, dword [0x52a5b0]
neg eax
sbb eax, eax
and eax, esi
push eax
push 0x9dd5
push edi
call dword [sym.imp.USER32.dll_CheckMenuItem]
mov eax, dword [0x52a6c0]
neg eax
sbb eax, eax
and eax, esi
push eax
push 0x9de1
push edi
call dword [sym.imp.USER32.dll_CheckMenuItem]
mov eax, dword [0x527684]
neg eax
sbb eax, eax
and eax, esi
push eax
push 0x9dd6
push edi
call dword [sym.imp.USER32.dll_CheckMenuItem]
mov eax, dword [0x5278c8]
neg eax
sbb eax, eax
and eax, esi
push eax
push 0x9de5
push edi
call dword [sym.imp.USER32.dll_CheckMenuItem]
mov eax, dword [0x5278ac]
neg eax
sbb eax, eax
and eax, esi
push eax
push 0x9ddc
push edi
call dword [sym.imp.USER32.dll_CheckMenuItem]
mov eax, dword [0x52a134]
neg eax
sbb eax, eax
and eax, esi
push eax
push 0x9ddd
push edi
call dword [sym.imp.USER32.dll_CheckMenuItem]
push dword [ebp - 8]
push 0x9db5
push edi
call ebx
mov eax, dword [0x526ce8]
neg eax
sbb eax, eax
and eax, esi
push eax
push 0x9e05
push edi
call dword [sym.imp.USER32.dll_CheckMenuItem]
mov eax, dword [0x5275e4]
mov ecx, 0x9e02
lea edx, [ecx - 3]
sub eax, 0
je 0x41536a
sub eax, 1
je 0x415366
sub eax, 1
je 0x41535f
sub eax, 1
jne 0x41536e
lea eax, [ecx - 2]
jmp 0x415371
mov eax, 0x9e01
jmp 0x415371
mov eax, ecx
jmp 0x415371
mov eax, edx
jmp 0x415371
mov eax, dword [ebp - 4]
push 0
push eax
push ecx
push edx
push edi
call dword [sym.imp.USER32.dll_CheckMenuRadioItem]
mov eax, dword [0x526cdc]
neg eax
sbb eax, eax
and eax, esi
push eax
push 0x9e03
push edi
call dword [sym.imp.USER32.dll_CheckMenuItem]
mov eax, dword [0x5278c4]
neg eax
sbb eax, eax
and eax, esi
push eax
push 0x9e04
push edi
call dword [sym.imp.USER32.dll_CheckMenuItem]
xor eax, eax
cmp dword [0x5275e4], eax
sete al
push eax
push 0x9e03
push edi
call ebx
xor eax, eax
cmp dword [0x5275e4], eax
sete al
push eax
push 0x9e04
push edi
call ebx
mov eax, dword [0x526ce0]
neg eax
sbb eax, eax
and eax, esi
push eax
push 0x9dd7
push edi
call dword [sym.imp.USER32.dll_CheckMenuItem]
mov eax, dword [0x5278f0]
neg eax
sbb eax, eax
and eax, esi
push eax
push 0x9dd8
push edi
call dword [sym.imp.USER32.dll_CheckMenuItem]
mov eax, dword [0x52adb8]
neg eax
sbb eax, eax
and eax, esi
push eax
push 0x9dd9
push edi
call dword [sym.imp.USER32.dll_CheckMenuItem]
mov eax, dword [0x5278d0]
neg eax
sbb eax, eax
and eax, esi
push eax
push 0x9dda
push edi
call dword [sym.imp.USER32.dll_CheckMenuItem]
mov eax, dword [0x527550]
neg eax
sbb eax, eax
and eax, esi
push eax
push 0x9df8
push edi
call dword [sym.imp.USER32.dll_CheckMenuItem]
xor eax, eax
cmp dword [0x527550], eax
sete al
push eax
push 0x9df9
push edi
call ebx
mov eax, dword [0x5278ec]
neg eax
sbb eax, eax
and eax, esi
push eax
push 0x9dfa
push edi
call dword [sym.imp.USER32.dll_CheckMenuItem]
push 0
push 0
push 0xfa2
push dword [0x52a68c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [0x5278cc]
neg eax
sbb eax, eax
and eax, esi
push eax
push 0x9de6
push edi
call dword [sym.imp.USER32.dll_CheckMenuItem]
mov eax, dword [0x52a5b4]
neg eax
sbb eax, eax
and eax, esi
push eax
push 0x9ddb
push edi
call dword [sym.imp.USER32.dll_CheckMenuItem]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0x522d98
push 0
push str.ReuseWindow
push str.Settings2
call esi
neg eax
sbb eax, eax
and eax, 8
push eax
push 0x9de7
push edi
call dword [sym.imp.USER32.dll_CheckMenuItem]
push 0x522d98
push 0
push str.SingleFileInstance
push str.Settings2
call esi
neg eax
sbb eax, eax
and eax, 8
push eax
push 0x9dec
push edi
call dword [sym.imp.USER32.dll_CheckMenuItem]
push 0x522d98
push 0
push str.StickyWindowPosition
push str.Settings2
call esi
mov dword [0x5278b0], eax
neg eax
push 8
pop esi
sbb eax, eax
and eax, esi
push eax
push 0x9de8
push edi
call dword [sym.imp.USER32.dll_CheckMenuItem]
cmp dword [0x526cd0], 0
mov eax, dword [0x523da4]
jne 0x415553
cmp eax, 2
jne 0x41555c
cmp eax, 1
je 0x41555c
mov eax, esi
jmp 0x41555e
xor eax, eax
push eax
push 0x9de9
push edi
call dword [sym.imp.USER32.dll_CheckMenuItem]
mov eax, dword [0x5275e8]
neg eax
sbb eax, eax
and eax, esi
push eax
push 0x9dea
push edi
call dword [sym.imp.USER32.dll_CheckMenuItem]
cmp dword [0x527688], 0
je 0x415599
cmp dword [0x52a5c0], 0
je 0x415599
mov eax, esi
jmp 0x41559b
xor eax, eax
push eax
push 0x9deb
push edi
call dword [sym.imp.USER32.dll_CheckMenuItem]
xor eax, eax
cmp dword [0x52a5c0], eax
sete al
push eax
push 0x9deb
push edi
call ebx
mov eax, dword [0x52a6c4]
mov ebx, dword [sym.imp.USER32.dll_CheckMenuItem]
neg eax
sbb eax, eax
and eax, esi
push eax
push 0x9df6
push edi
call ebx
mov eax, dword [0x526cd4]
neg eax
sbb eax, eax
and eax, esi
push eax
push 0x9df7
push edi
call ebx
mov eax, dword [0x52a5c4]
neg eax
sbb eax, eax
and eax, esi
push eax
push 0x9df5
push edi
call ebx
mov eax, dword [0x52a6b4]
neg eax
sbb eax, eax
and eax, esi
push eax
push 0x9ded
push edi
call ebx
push 0x523a68
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, 0x9dee
test eax, eax
je 0x41562b
lea eax, [edx + 3]
jmp 0x415646
mov ecx, dword [0x5278e0]
test ecx, ecx
jne 0x415639
mov eax, edx
jmp 0x415646
xor eax, eax
cmp ecx, 1
setne al
add eax, 0x9def
push 0
push eax
push 0x9df1
push edx
push edi
call dword [sym.imp.USER32.dll_CheckMenuRadioItem]
mov ecx, dword [0x52754c]
mov edx, 0x9df2
cmp ecx, 1
jne 0x41566e
lea eax, [edx + 1]
lea ecx, [edx + 2]
jmp 0x41567b
cmp ecx, 2
mov eax, edx
mov ecx, 0x9df4
cmove eax, ecx
push 0
push eax
push ecx
push edx
push edi
call dword [sym.imp.USER32.dll_CheckMenuRadioItem]
push 0x522d98
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp dword [0x5278b8], 0
mov dword [ebp - 0xc], eax
je 0x4156a2
test eax, eax
jne 0x4156a4
xor esi, esi
push esi
push 0x9dfb
push edi
call ebx
mov esi, dword [sym.imp.USER32.dll_EnableMenuItem]
xor ebx, ebx
cmp dword [ebp - 0xc], ebx
sete bl
push ebx
push 0x9de7
push edi
call esi
push ebx
push 0x9de8
push edi
call esi
push ebx
push 0x9dec
push edi
call esi
push ebx
push 0x9df6
push edi
call esi
push ebx
push 0x9df7
push edi
call esi
push ebx
push 0x9dfb
push edi
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x522d98
call ebx
test eax, eax
jg 0x415712
push 0x5233d0
call ebx
test eax, eax
jg 0x415712
xor eax, eax
inc eax
jmp 0x415714
xor eax, eax
push eax
push 0x9dfc
push edi
call esi
pop edi
pop esi
pop ebx
leave
ret