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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 0x56e260
mov edi, edx
mov dword [ebp - 0xc], ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, dword [sym.imp.USER32.dll_EnableMenuItem]
xor ebx, ebx
test eax, eax
sete bl
push ebx
push 0x9c42
push edi
call esi
push ebx
push 0x9c48
push edi
call esi
push ebx
push 0x9c4f
push edi
call esi
push ebx
push 0x9c50
push edi
call esi
push ebx
push 0x9c52
push edi
call esi
push ebx
push 0x9c47
push edi
call esi
mov eax, dword [0x567b48]
neg eax
sbb eax, eax
and eax, 8
push eax
push 0x9c47
push edi
call dword [sym.imp.USER32.dll_CheckMenuItem]
push ebx
push 0x9caa
push edi
mov ebx, esi
call ebx
mov eax, dword [0x56d450]
lea eax, [eax + eax*4]
shl eax, 4
mov eax, dword [eax + 0x53b698]
test al, 0x10
je 0x45b5ec
mov eax, 0x9ca6
jmp 0x45b61c
test al, 8
je 0x45b5f7
mov eax, 0x9ca5
jmp 0x45b61c
test al, 4
je 0x45b602
mov eax, 0x9ca8
jmp 0x45b61c
test al, 2
je 0x45b60d
mov eax, 0x9ca7
jmp 0x45b61c
and al, 1
movzx eax, al
neg eax
sbb eax, eax
and eax, 0x9ca5
dec eax
mov esi, dword [sym.imp.USER32.dll_CheckMenuRadioItem]
push 0
push eax
push 0x9ca8
push 0x9ca4
push edi
call esi
mov ecx, dword [0x56a9ac]
test ecx, ecx
jne 0x45b643
mov eax, 0x9d08
jmp 0x45b650
xor eax, eax
cmp ecx, 2
setne al
add eax, 0x9d09
push 0
push eax
push 0x9d0a
push 0x9d08
push edi
call esi
mov edx, dword [0x56e918]
xor ecx, ecx
cmp dword [edx + 0x208], ecx
lea eax, [edx + 0x208]
je 0x45b68d
mov edx, dword [edx + 0x204]
lea esp, [esp]
cmp ecx, edx
jge 0x45b68d
add eax, 4
inc ecx
cmp dword [eax], 0
jne 0x45b680
xor eax, eax
test ecx, ecx
setle al
push eax
push 0x9c54
push edi
call ebx
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x87e
push dword [0x56e17c]
call esi
neg eax
sbb eax, eax
inc eax
push eax
push 0x9d6c
push edi
call ebx
push 0
push 0
push 0x7e0
push dword [0x56e17c]
call esi
neg eax
sbb eax, eax
inc eax
push eax
push 0x9d6d
push edi
call ebx
push 0
push 0
push 0x861
push dword [0x56e17c]
call esi
push 0
push 0
push 0x85f
push dword [0x56e17c]
mov esi, eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x87d
push dword [0x56e17c]
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 [0x56e17c]
call dword [sym.imp.USER32.dll_SendMessageW]
neg eax
sbb eax, eax
inc eax
push eax
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 0x45b78e
cmp dword [ebp - 8], esi
jne 0x45b78e
lea eax, [esi + 1]
jmp 0x45b790
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]
neg eax
sbb eax, eax
inc eax
push eax
push 0x9d75
push edi
call ebx
call dword [sym.imp.USER32.dll_CloseClipboard]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0
push 0x861
push dword [0x56e17c]
call esi
push eax
push 0x876
push dword [0x56e17c]
call esi
push 0
push 0
push 0
push 0x85f
push dword [0x56e17c]
mov esi, eax
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 0x876
push dword [0x56e17c]
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 [0x56e17c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
cmp esi, 1
je 0x45b90d
cmp esi, 0x26
je 0x45b90d
cmp esi, 0x10
je 0x45b90d
xor eax, eax
jmp 0x45b912
mov eax, 1
push eax
push 0x9da2
push edi
call ebx
cmp esi, 1
je 0x45b990
cmp esi, 0x1c
je 0x45b990
cmp esi, 0xb
je 0x45b990
cmp esi, 8
je 0x45b990
cmp esi, 0x22
je 0x45b990
cmp esi, 7
je 0x45b990
cmp esi, 6
je 0x45b990
cmp esi, 2
je 0x45b990
cmp esi, 9
je 0x45b990
cmp esi, 0x11
je 0x45b990
cmp esi, 0x58
je 0x45b990
cmp esi, 0xc
je 0x45b990
cmp esi, 0x10
je 0x45b990
cmp esi, 0x3e
je 0x45b990
cmp esi, 0x19
je 0x45b990
cmp esi, 0x3c
je 0x45b990
cmp esi, 0xe
je 0x45b990
cmp esi, 0xc8
je 0x45b990
cmp esi, 0x16
je 0x45b990
cmp esi, 0x50
je 0x45b990
cmp esi, 0x62
je 0x45b990
cmp esi, 0x30
je 0x45b990
xor eax, eax
jmp 0x45b995
mov eax, 1
push eax
push 0x9da3
push edi
call ebx
mov eax, dword [0x56d450]
xor ecx, ecx
lea eax, [eax + eax*4]
shl eax, 4
mov eax, dword [eax + 0x53b6a0]
cmp byte [eax], cl
sete cl
push ecx
push 0x9d9d
push edi
call ebx
push 0
push 0
push 0x7d6
push dword [0x56e17c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, eax
xor eax, eax
test ecx, ecx
sete al
mov dword [ebp - 4], ecx
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 0x45ba1a
push 0x566048
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x45ba1a
xor eax, eax
jmp 0x45ba1f
mov eax, 1
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 0x45ba53
push 0x566048
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x45ba53
xor eax, eax
jmp 0x45ba58
mov eax, 1
push eax
push 0x9db3
push edi
call ebx
cmp dword [ebp - 4], 0
je 0x45ba7a
push 0x566048
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x45ba7a
xor eax, eax
jmp 0x45ba7f
mov eax, 1
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 0x9d41
push edi
call ebx
push esi
push 0x9d3f
push edi
call ebx
push esi
push 0x9d3e
push edi
call ebx
push esi
push 0x9d40
push edi
call ebx
cmp dword [ebp - 4], 0
je 0x45bad1
cmp dword [0x56daa0], 0
je 0x45bad1
xor eax, eax
jmp 0x45bad6
mov eax, 1
push eax
push 0x9dfe
push edi
call ebx
mov eax, dword [0x56daa0]
mov esi, dword [sym.imp.USER32.dll_CheckMenuItem]
neg eax
sbb eax, eax
and eax, 8
push eax
push 0x9dfd
push edi
call esi
mov eax, dword [0x56a9a0]
neg eax
sbb eax, eax
and eax, 8
push eax
push 0x9e9b
push edi
call esi
cmp dword [0x56d1ec], 0
jne 0x45bb25
cmp dword [0x56d1f8], 0
jne 0x45bb25
xor eax, eax
jmp 0x45bb2a
mov eax, 8
push eax
push 0x9e9a
push edi
call esi
mov eax, dword [0x56a824]
neg eax
sbb eax, eax
and eax, 8
push eax
push 0x9dd1
push edi
call esi
mov eax, dword [0x56e1b0]
neg eax
sbb eax, eax
and eax, 8
push eax
push 0x9dd4
push edi
call esi
mov eax, dword [0x56daac]
neg eax
sbb eax, eax
and eax, 8
push eax
push 0x9dd5
push edi
call esi
mov eax, dword [0x56e938]
neg eax
sbb eax, eax
and eax, 8
push eax
push 0x9de1
push edi
call esi
mov eax, dword [0x56a9c0]
neg eax
sbb eax, eax
and eax, 8
push eax
push 0x9dd6
push edi
call esi
mov eax, dword [0x56d218]
neg eax
sbb eax, eax
and eax, 8
push eax
push 0x9de5
push edi
call esi
mov eax, dword [0x56d20c]
neg eax
sbb eax, eax
and eax, 8
push eax
push 0x9ddc
push edi
call esi
mov eax, dword [0x56a834]
neg eax
sbb eax, eax
and eax, 8
push eax
push 0x9ddd
push edi
call esi
push dword [ebp - 8]
push 0x9db5
push edi
call ebx
mov eax, dword [0x56d1e8]
neg eax
sbb eax, eax
and eax, 8
push eax
push 0x9e05
push edi
call esi
mov eax, dword [0x56d460]
cmp eax, 3
ja case.default.0x45bc05
jmp dword [eax*4 + 0x45bfd8]
mov eax, 0x9dff
jmp 0x45bc2b
mov eax, 0x9e00
jmp 0x45bc2b
mov eax, 0x9e01
jmp 0x45bc2b
mov eax, 0x9e02
jmp 0x45bc2b
mov eax, dword [ebp - 4]
push 0
push eax
push 0x9e02
push 0x9dff
push edi
call dword [sym.imp.USER32.dll_CheckMenuRadioItem]
mov eax, dword [0x56a83c]
neg eax
sbb eax, eax
and eax, 8
push eax
push 0x9e03
push edi
call esi
mov eax, dword [0x56e174]
neg eax
sbb eax, eax
and eax, 8
push eax
push 0x9e04
push edi
call esi
xor eax, eax
cmp dword [0x56d460], eax
sete al
push eax
push 0x9e03
push edi
call ebx
xor eax, eax
cmp dword [0x56d460], eax
sete al
push eax
push 0x9e04
push edi
call ebx
mov eax, dword [0x56a9bc]
neg eax
sbb eax, eax
and eax, 8
push eax
push 0x9dd7
push edi
call esi
mov eax, dword [0x56a9b0]
neg eax
sbb eax, eax
and eax, 8
push eax
push 0x9dd8
push edi
call esi
mov eax, dword [0x56e6c8]
neg eax
sbb eax, eax
and eax, 8
push eax
push 0x9dd9
push edi
call esi
mov eax, dword [0x56a9a8]
neg eax
sbb eax, eax
and eax, 8
push eax
push 0x9dda
push edi
call esi
mov eax, dword [0x56a844]
neg eax
sbb eax, eax
and eax, 8
push eax
push 0x9df8
push edi
call esi
xor eax, eax
cmp dword [0x56a844], eax
sete al
push eax
push 0x9df9
push edi
call ebx
mov eax, dword [0x56daa8]
neg eax
sbb eax, eax
and eax, 8
push eax
push 0x9dfa
push edi
call esi
push 0
push 0
push 0xfa2
push dword [0x56e17c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [0x56dce0]
neg eax
sbb eax, eax
and eax, 8
push eax
push 0x9de6
push edi
call esi
mov eax, dword [0x56d1f0]
neg eax
sbb eax, eax
and eax, 8
push eax
push 0x9ddb
push edi
call esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0x565908
push 0
push 0x40a244
push 0x408a0c
call esi
neg eax
sbb eax, eax
and eax, 8
push eax
push 0x9de7
push edi
call dword [sym.imp.USER32.dll_CheckMenuItem]
push 0x565908
push 0
push 0x40a25c
push 0x408a0c
call esi
neg eax
sbb eax, eax
and eax, 8
push eax
push 0x9dec
push edi
call dword [sym.imp.USER32.dll_CheckMenuItem]
push 0x565908
push 0
push 0x40a284
push 0x408a0c
call esi
mov esi, dword [sym.imp.USER32.dll_CheckMenuItem]
mov dword [0x56d1fc], eax
neg eax
sbb eax, eax
and eax, 8
push eax
push 0x9de8
push edi
call esi
cmp dword [0x56d1e4], 0
mov eax, dword [0x565d34]
jne 0x45bdf7
cmp eax, 2
jne 0x45be03
cmp eax, 1
je 0x45be03
mov eax, 8
jmp 0x45be05
xor eax, eax
push eax
push 0x9de9
push edi
call esi
mov eax, dword [0x56daa4]
neg eax
sbb eax, eax
and eax, 8
push eax
push 0x9dea
push edi
call esi
cmp dword [0x56a874], 0
je 0x45be3c
cmp dword [0x56a9a4], 0
je 0x45be3c
mov eax, 8
jmp 0x45be3e
xor eax, eax
push eax
push 0x9deb
push edi
call esi
xor eax, eax
cmp dword [0x56a9a4], eax
sete al
push eax
push 0x9deb
push edi
call ebx
mov eax, dword [0x56e6dc]
neg eax
sbb eax, eax
and eax, 8
push eax
push 0x9df6
push edi
call esi
mov eax, dword [0x56df0c]
neg eax
sbb eax, eax
and eax, 8
push eax
push 0x9df7
push edi
call esi
mov eax, dword [0x56a900]
neg eax
sbb eax, eax
and eax, 8
push eax
push 0x9df5
push edi
call esi
mov eax, dword [0x56e240]
neg eax
sbb eax, eax
and eax, 8
push eax
push 0x9ded
push edi
call esi
push 0x565f48
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x45bec5
mov eax, 0x9df1
jmp 0x45bee3
mov ecx, dword [0x56a878]
test ecx, ecx
jne 0x45bed6
mov eax, 0x9dee
jmp 0x45bee3
xor eax, eax
cmp ecx, 1
setne al
add eax, 0x9def
mov ebx, dword [sym.imp.USER32.dll_CheckMenuRadioItem]
push 0
push eax
push 0x9df1
push 0x9dee
push edi
call ebx
mov ecx, dword [0x56d204]
cmp ecx, 1
jne 0x45bf0b
mov eax, 0x9df3
jmp 0x45bf1a
xor eax, eax
cmp ecx, 2
sete al
lea eax, [eax*2 + 0x9df2]
push 0
push eax
push 0x9df4
push 0x9df2
push edi
call ebx
push 0x565908
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp dword [0x56d214], 0
mov dword [ebp - 0xc], eax
je 0x45bf4c
test eax, eax
je 0x45bf4c
mov ecx, 8
jmp 0x45bf4e
xor ecx, ecx
push ecx
push 0x9dfb
push edi
call esi
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 0x565908
call ebx
test eax, eax
jg 0x45bfbb
push 0x567070
call ebx
test eax, eax
jg 0x45bfbb
xor ecx, ecx
jmp 0x45bfc0
mov ecx, 1
xor eax, eax
test ecx, ecx
sete al
push eax
push 0x9dfc
push edi
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret