Function at 0x428400
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4b8ed8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e88d0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x5d4]
xor ebx, ebx
push ebx
push ebx
push 0x1009
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
call fcn.0047b116
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x42845b
push 0x80004005
call fcn.00402120
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
mov dword [esp + 0x38], ebx
mov eax, dword [esi - 8]
mov edi, dword [0x4f4380]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x42849b
push 0x104
lea ecx, [esp + 0x18]
call fcn.004020a0
mov esi, dword [esp + 0x14]
push edi
push 0x104
push esi
push 0x4c6054
push str.HotkeyCount
push str.HotkeyOpt
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00491b18
add esp, 8
cmp eax, ebx
jl 0x4287bc
cmp eax, dword [esi - 8]
jg 0x4287bc
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [esi - 0xc], ebx
jne 0x42851d
add esi, 0xfffffff0
mov dword [esp + 0x38], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x428507
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 4
lea ecx, [esp + 0x1c]
push ecx
push 0x4c99c8
push esi
mov dword [esp + 0x28], ebx
call fcn.00491c68
add esp, 0xc
cmp eax, 1
jne 0x4287c6
cmp dword [esp + 0x1c], ebx
jle 0x4287c6
call fcn.0047b116
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x428561
push 0x80004005
call fcn.00402120
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x18], ebp
mov byte [esp + 0x38], 1
cmp dword [esp + 0x1c], ebx
jle 0x42876f
mov edi, 1
mov dword [esp + 0x24], edi
lea esp, [esp]
push edi
lea ecx, [esp + 0x1c]
push str.Hotkey_d
push ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], ebx
call fcn.004021f0
mov ebp, dword [esp + 0x24]
push ebx
push ebx
lea edx, [esp + 0x34]
push edx
push ebp
lea ebx, [esp + 0x44]
call fcn.00428040
add esp, 0x1c
cmp dword [esp + 0x20], 0
je 0x428757
push edi
lea eax, [esp + 0x1c]
push str.ScriptFile_d
push eax
call fcn.004021f0
mov eax, dword [esi - 8]
mov edi, dword [0x4f4380]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
add esp, 0xc
or eax, ecx
jge 0x42860a
push 0x104
lea ecx, [esp + 0x18]
call fcn.004020a0
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
push edi
push 0x104
push esi
push 0x4c6054
push ebp
push str.HotkeyOpt
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00491b18
add esp, 8
test eax, eax
jl 0x4287bc
cmp eax, dword [esi - 8]
jg 0x4287bc
xor ecx, ecx
lea edi, [esi - 0x10]
mov dword [esi - 0xc], eax
push edi
mov word [esi + eax*2], cx
call fcn.00401da0
lea ebx, [eax + 0x10]
add esp, 4
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x38], 2
cmp dword [ebx - 0xc], 0
jne 0x428685
add ebx, 0xfffffff0
mov byte [esp + 0x38], 1
lea edx, [ebx + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jmp 0x42874b
mov ecx, dword [esp + 0x24]
push ecx
lea edx, [esp + 0x1c]
push str.Enable_d
push edx
call fcn.004021f0
mov eax, dword [edi + 8]
mov ebp, dword [0x4f4380]
mov ecx, 1
sub ecx, dword [edi + 0xc]
sub eax, 0x104
add esp, 0xc
or eax, ecx
jge 0x4286c8
push 0x104
lea ecx, [esp + 0x18]
call fcn.004020a0
mov esi, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x1c]
push 0x104
push esi
push 0x4c5280
push ebp
push str.HotkeyOpt
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00491b18
add esp, 8
test eax, eax
jl 0x4287bc
cmp eax, dword [esi - 8]
jg 0x4287bc
lea edx, [esp + 0x14]
xor ecx, ecx
push 0x4c5280
mov dword [esi - 0xc], eax
push edx
mov word [esi + eax*2], cx
call fcn.00401b80
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x48]
add esp, 8
movzx eax, al
push eax
mov eax, dword [esp + 0x2c]
push ebx
push eax
push ecx
push edx
call fcn.00426f20
add ebx, 0xfffffff0
mov byte [esp + 0x38], 1
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x428757
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov edi, dword [esp + 0x24]
inc edi
lea ecx, [edi - 1]
xor ebx, ebx
cmp ecx, dword [esp + 0x1c]
mov dword [esp + 0x24], edi
jl 0x428590
lea eax, [ebp - 0x10]
mov byte [esp + 0x38], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42878f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 0xfffffff0
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428507
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
jmp 0x428507
push 0x80070057
call fcn.00402120
add esi, 0xfffffff0
mov dword [esp + 0x38], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jmp 0x4284fb