Function at 0x4b8920
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c8
mov eax, dword [0x579aa4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c4], ecx
mov dword [ebp - 0x2c0], 0
mov ecx, dword [ebp - 0x2c4]
add ecx, 0x30
call fcn.004bfcb0
cmp eax, 1
jne 0x4b8cee
mov eax, dword [ebp - 0x2c4]
movzx ecx, byte [eax + 0x960]
test ecx, ecx
jne 0x4b8cee
mov edx, dword [ebp - 0x2c4]
movzx eax, byte [edx + 0x961]
test eax, eax
je 0x4b8cee
movzx ecx, byte [0x57c124]
test ecx, ecx
jne 0x4b8cee
mov edx, dword [ebp - 0x2c4]
cmp dword [edx + 0x2a8], 0
jne 0x4b8bf2
call fcn.004a6d00
movzx eax, al
test eax, eax
jne 0x4b89f2
lea ecx, [ebp - 0x230]
push ecx
call fcn.00482b90
add esp, 4
or dword [ebp - 0x2c0], 1
mov ecx, eax
call fcn.00406010
push eax
push 0
push str.CreateShortcutTip
push 0x551cc4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x4b89f2
mov dword [ebp - 0x2c8], 1
jmp 0x4b89fc
mov dword [ebp - 0x2c8], 0
mov dl, byte [ebp - 0x2c8]
mov byte [ebp - 0x229], dl
mov eax, dword [ebp - 0x2c0]
and eax, 1
je 0x4b8a25
and dword [ebp - 0x2c0], 0xfffffffe
lea ecx, [ebp - 0x230]
call fcn.00406190
movzx ecx, byte [ebp - 0x229]
test ecx, ecx
je 0x4b8bed
lea ecx, [ebp - 0x220]
call fcn.004c6e80
push 0
push ecx
mov ecx, esp
push 0
call fcn.00483e20
push 0
push 0
push 0
push ecx
mov ecx, esp
push 0
call fcn.00483db0
mov edx, dword [ebp - 0x2c4]
mov eax, dword [edx + 0x30]
push eax
lea ecx, [ebp - 0x1f4]
call fcn.004c03e0
test eax, eax
je 0x4b8be2
push 0
push 0xffffffffffffffff
push 0x551cd8
lea ecx, [ebp - 0x254]
push ecx
mov ecx, dword [ebp - 0x2c4]
add ecx, 0x54
call fcn.00411510
mov ecx, eax
call fcn.00402b70
push eax
lea ecx, [ebp - 0x220]
call fcn.004c8fc0
lea ecx, [ebp - 0x254]
call fcn.00402ac0
push 1
push 0
push 0
push 0
push str.IDS_TIP_CREATE_SHORTCUT
lea edx, [ebp - 0x270]
push edx
mov ecx, dword [ebp - 0x2c4]
add ecx, 0x54
call fcn.004114c0
mov ecx, eax
call fcn.00402b70
push eax
push 0
lea ecx, [ebp - 0x220]
call fcn.004c9110
lea ecx, [ebp - 0x270]
call fcn.00402ac0
push 0
push 0
push str.IDS_NO_THANKS
lea eax, [ebp - 0x28c]
push eax
mov ecx, dword [ebp - 0x2c4]
add ecx, 0x54
call fcn.004114c0
mov ecx, eax
call fcn.00402b70
push eax
push 2
lea ecx, [ebp - 0x220]
call fcn.004c9a20
lea ecx, [ebp - 0x28c]
call fcn.00402ac0
push 0
push 0
push str.IDS_CREATE_SHORTCUT
lea ecx, [ebp - 0x2a8]
push ecx
mov ecx, dword [ebp - 0x2c4]
add ecx, 0x54
call fcn.004114c0
mov ecx, eax
call fcn.00402b70
push eax
push 1
lea ecx, [ebp - 0x220]
call fcn.004c9a20
lea ecx, [ebp - 0x2a8]
call fcn.00402ac0
push 1
lea ecx, [ebp - 0x220]
call fcn.004c9ad0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x220]
call fcn.004c8d50
mov dword [ebp - 0x224], eax
lea edx, [ebp - 0x2ac]
push edx
call fcn.00482b90
add esp, 4
mov ecx, eax
call fcn.00406010
push eax
push 0x551d70
push 0x551d74
push 0x551d98
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x2ac]
call fcn.00406190
cmp dword [ebp - 0x224], 1
jne 0x4b8be2
push 1
call fcn.004a6290
add esp, 4
lea ecx, [ebp - 0x220]
call fcn.004bf980
jmp 0x4b8cee
lea eax, [ebp - 0x2b4]
push eax
call fcn.00482b90
add esp, 4
mov ecx, eax
call fcn.00406010
push eax
push 0
push str.ShowTrayTip
push 0x551dc4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x2ad], al
lea ecx, [ebp - 0x2b4]
call fcn.00406190
movzx ecx, byte [ebp - 0x2ad]
test ecx, ecx
je 0x4b8cee
push 0x551dd8
push 0
lea edx, [ebp - 0x2b8]
push edx
call fcn.00482cc0
add esp, 8
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.00404ee0
add esp, 0xc
lea ecx, [ebp - 0x2b8]
call fcn.00406190
lea ecx, [ebp - 0x228]
call fcn.00406010
push eax
call fcn.00454650
add esp, 4
movzx ecx, al
cmp ecx, 1
jne 0x4b8ce3
lea edx, [ebp - 0x2bc]
push edx
call fcn.00482b90
add esp, 4
mov ecx, eax
call fcn.00406010
push eax
push 0x551df8
push 0x551dfc
push 0x551e14
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x2bc]
call fcn.00406190
push 0
push 0
push 0x551e28
lea ecx, [ebp - 0x228]
call fcn.00406010
push eax
call fcn.00490370
add esp, 0x10
lea ecx, [ebp - 0x228]
call fcn.00406190
push 0
mov ecx, dword [ebp - 0x2c4]
add ecx, 0x30
call fcn.00483e80
push 0x2710
mov eax, dword [ebp - 0x2c4]
mov ecx, dword [eax + 0x2a0]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [0x57ca94]
push edx
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov ecx, dword [ebp - 0x2c4]
add ecx, 0x2c
call fcn.004c0300
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050c75f
mov esp, ebp
pop ebp
ret 4