Function at 0x4052d0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x43e588
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
push str.AutoPatch_
lea eax, [esp + 0x28]
push 0x451d68
mov esi, ecx
push eax
call fcn.00403c30
push str.GUI.ini
lea ecx, [esp + 0x24]
xor ebx, ebx
push eax
push ecx
mov dword [esp + 0x6c], ebx
call fcn.00403c30
add esp, 0x18
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x58], 2
call fcn.00403320
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x405338
mov eax, 0x4416fc
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
push 0xffff
push 0x44d4c0
push 0x44d4b8
call edi
cmp eax, 0xffff
mov dword [esp + 0x38], eax
jne 0x405383
push 1
lea ecx, [esp + 0x18]
mov dword [esp + 0x58], 0xffffffff
call fcn.00403320
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret
mov eax, dword [esp + 0x18]
mov dword [esp + 0x34], ebx
cmp eax, ebx
jne 0x405394
mov eax, 0x4416fc
push eax
push 0xffff
push 0x44d4b4
push 0x44d4b8
call edi
cmp eax, 0xffff
mov dword [esp + 0x3c], eax
je 0x40535b
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x4053be
mov eax, 0x4416fc
push eax
push 0xffff
push 0x44d4b0
push 0x44d4b8
call edi
cmp eax, 0xffff
mov dword [esp + 0x40], eax
je 0x40535b
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x4053e8
mov eax, 0x4416fc
push eax
push 0xffff
push 0x44d4ac
push 0x44d4b8
call edi
cmp eax, 0xffff
mov dword [esp + 0x44], eax
je 0x40535b
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x405416
mov eax, 0x4416fc
push eax
push 0xffff
push str.hwyx
push 0x44d4b8
call edi
cmp eax, 0xffff
mov dword [esp + 0x48], eax
je 0x40535b
mov eax, dword [esi + 0x120]
lea ebp, [esi + 0x118]
lea edx, [esp + 0x34]
mov ecx, ebp
push edx
push 1
push eax
call fcn.004087e0
mov eax, dword [0x44dd44]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
mov byte [esp + 0x54], 3
cmp eax, ebx
jne 0x40546d
mov eax, 0x4416fc
push eax
push ebx
push str.CtrlNum
push str.Ctrl
call edi
mov ebx, eax
mov esi, 1
cmp ebx, esi
jl 0x40560b
push esi
push 0x44d4c0
lea ecx, [esp + 0x18]
push str._s_d
push ecx
mov dword [esp + 0x44], 1
call fcn.00432112
mov eax, dword [esp + 0x28]
add esp, 0x10
test eax, eax
jne 0x4054b7
mov eax, 0x4416fc
mov edx, dword [esp + 0x10]
push eax
push 0xffff
push edx
push str.Ctrl
call edi
cmp eax, 0xffff
mov dword [esp + 0x38], eax
je 0x405642
push esi
push 0x44d4b4
lea eax, [esp + 0x18]
push str._s_d
push eax
call fcn.00432112
mov eax, dword [esp + 0x28]
add esp, 0x10
test eax, eax
jne 0x4054fd
mov eax, 0x4416fc
mov ecx, dword [esp + 0x10]
push eax
push 0xffff
push ecx
push str.Ctrl
call edi
cmp eax, 0xffff
mov dword [esp + 0x3c], eax
je 0x405642
push esi
push 0x44d4b0
lea edx, [esp + 0x18]
push str._s_d
push edx
call fcn.00432112
mov eax, dword [esp + 0x28]
add esp, 0x10
test eax, eax
jne 0x405543
mov eax, 0x4416fc
push eax
mov eax, dword [esp + 0x14]
push 0xffff
push eax
push str.Ctrl
call edi
cmp eax, 0xffff
mov dword [esp + 0x40], eax
je 0x405655
push esi
push 0x44d4ac
lea ecx, [esp + 0x18]
push str._s_d
push ecx
call fcn.00432112
mov eax, dword [esp + 0x28]
add esp, 0x10
test eax, eax
jne 0x405589
mov eax, 0x4416fc
mov edx, dword [esp + 0x10]
push eax
push 0xffff
push edx
push str.Ctrl
call edi
cmp eax, 0xffff
mov dword [esp + 0x44], eax
je 0x405690
push esi
push str.hwyx
lea eax, [esp + 0x18]
push str._s_d
push eax
call fcn.00432112
mov eax, dword [esp + 0x28]
add esp, 0x10
test eax, eax
jne 0x4055cf
mov eax, 0x4416fc
mov ecx, dword [esp + 0x10]
push eax
push 0xffff
push ecx
push str.Ctrl
call edi
cmp eax, 0xffff
mov dword [esp + 0x48], eax
je 0x405690
mov eax, dword [ebp + 8]
lea edx, [esp + 0x34]
push edx
push 1
push eax
mov ecx, ebp
call fcn.004087e0
inc esi
cmp esi, ebx
jle 0x40548a
lea ecx, [esp + 0x10]
mov byte [esp + 0x54], 2
call fcn.00433832
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4056f4
mov al, byte [ecx - 1]
test al, al
je 0x4056ea
cmp al, 0xff
je 0x4056ea
dec al
mov byte [ecx - 1], al
jmp 0x4056f4
lea ecx, [esp + 0x10]
mov byte [esp + 0x54], 2
call fcn.00433832
jmp 0x40535b
lea ecx, [esp + 0x10]
mov byte [esp + 0x54], 2
call fcn.00433832
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4056d5
mov al, byte [ecx - 1]
test al, al
je 0x4056cb
cmp al, 0xff
je 0x4056cb
dec al
pop edi
pop esi
mov byte [ecx - 1], al
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret
lea ecx, [esp + 0x10]
mov byte [esp + 0x54], 2
call fcn.00433832
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4056d5
mov al, byte [ecx - 1]
test al, al
je 0x4056cb
cmp al, 0xff
je 0x4056cb
dec al
pop edi
pop esi
mov byte [ecx - 1], al
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret
dec ecx
push ecx
call fcn.0043359c
add esp, 4
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret
dec ecx
push ecx
call fcn.0043359c
add esp, 4
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret