Function at 0x43fdd0
Capabilities:
Read .ini file
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d84c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc28
mov dword [ebp - 0xc34], ecx
mov eax, dword [ebp - 0xc34]
mov dword [eax + 0x1188], 0
mov ecx, dword [ebp - 0xc34]
cmp dword [ecx + 0x70d10], 0
je 0x43fe26
mov edx, dword [ebp - 0xc34]
mov eax, dword [edx + 0x70d10]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0xc34]
call fcn.0040c87e
mov ecx, dword [ebp - 0xc34]
call fcn.0040c18a
mov ecx, dword [ebp - 0xc34]
call fcn.00413b73
mov ecx, dword [ebp - 0xc34]
cmp dword [ecx + 0x71458], 0
je 0x43fec4
push 0x52fa5c
push 0xc3
push 0x4fb618
push 0x4fb634
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0xc20], eax
push 0x52fa5c
push 0
push 0x4fb650
push 0x4fb674
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0xc24], eax
mov edx, dword [ebp - 0xc24]
push edx
mov ecx, dword [ebp - 0xc34]
add ecx, 0x73990
call fcn.004047f0
mov eax, dword [ebp - 0xc24]
push eax
mov ecx, dword [ebp - 0xc20]
push ecx
mov ecx, dword [ebp - 0xc34]
call fcn.00409a53
mov edx, dword [ebp - 0xc34]
cmp dword [edx + 0x71034], 0
je 0x43fef1
mov eax, dword [ebp - 0xc34]
cmp dword [eax + 0x928], 0
je 0x43fef1
push 1
mov ecx, dword [ebp - 0xc34]
call fcn.00463b1f
jmp 0x43fefe
push 0
mov ecx, dword [ebp - 0xc34]
call fcn.00463b1f
mov dword [ebp - 0xc1c], 0
jmp 0x43ff19
mov ecx, dword [ebp - 0xc1c]
add ecx, 1
mov dword [ebp - 0xc1c], ecx
cmp dword [ebp - 0xc1c], 0x10
jge 0x43ff68
mov edx, dword [ebp - 0xc1c]
imul edx, edx, 0x28
mov eax, dword [ebp - 0xc34]
cmp dword [eax + edx + 0x6fd8c], 0
je 0x43ff66
push 0
mov ecx, dword [ebp - 0xc1c]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0xc34]
mov eax, dword [edx + ecx + 0x6fd80]
push eax
mov ecx, dword [ebp - 0xc1c]
push ecx
mov ecx, dword [ebp - 0xc34]
call fcn.00439ad8
jmp 0x43ff0a
lea ecx, [ebp - 0x814]
call fcn.0040d4d0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xc18]
call fcn.004517d0
lea ecx, [ebp - 0x810]
call fcn.00451800
push 0x404
push 0
lea edx, [ebp - 0xc18]
push edx
call fcn.004ba860
add esp, 0xc
push 0x804
push 0
lea eax, [ebp - 0x810]
push eax
call fcn.004ba860
add esp, 0xc
push 0x52fa5c
push 0
push str.command_num
push 0x4fb6a8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0xc18], eax
mov dword [ebp - 0xc1c], 0
jmp 0x43fff4
mov ecx, dword [ebp - 0xc1c]
add ecx, 1
mov dword [ebp - 0xc1c], ecx
mov edx, dword [ebp - 0xc1c]
cmp edx, dword [ebp - 0xc18]
jge 0x440090
cmp dword [ebp - 0xc1c], 0x100
jge 0x440090
mov eax, dword [ebp - 0xc1c]
add eax, 1
push eax
push str.command__d
lea ecx, [ebp - 0x814]
push ecx
call fcn.004ca55d
add esp, 0xc
push 0x52fa5c
push 0x104
mov edx, dword [ebp - 0xc34]
add edx, 0x948
push edx
push 0x530070
lea ecx, [ebp - 0x814]
call fcn.004b01e0
push eax
push str.S3_RETURN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [ebp - 0xc1c]
lea ecx, [ebp + eax*4 - 0xc14]
push ecx
push 0x4fb6e8
mov edx, dword [ebp - 0xc34]
add edx, 0x948
push edx
call fcn.004bb622
add esp, 0xc
jmp 0x43ffe5
cmp dword [ebp - 0xc18], 0
jbe 0x4400b6
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0xc18]
push ecx
mov edx, dword [0x5348f8]
push edx
call fcn.004ae59f
add esp, 0xc
push 5
mov ecx, dword [ebp - 0xc34]
add ecx, 0x141fc
call fcn.00482917
test eax, eax
je 0x4400e2
mov ecx, dword [ebp - 0xc34]
add ecx, 0x141fc
call fcn.004837c0
test eax, eax
jne 0x44010e
push 3
mov ecx, dword [ebp - 0xc34]
add ecx, 0x141fc
call fcn.00482917
test eax, eax
je 0x440110
mov ecx, dword [ebp - 0xc34]
add ecx, 0x141fc
call fcn.004838ee
test eax, eax
je 0x440110
jmp 0x440145
mov eax, dword [ebp - 0xc34]
add eax, 0x1ac8
sub esp, 0x10
mov ecx, esp
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [0x5348f8]
push ecx
call fcn.004af530
add esp, 0x14
mov edx, dword [ebp - 0xc34]
cmp dword [edx + 0x928], 3
jne 0x440198
mov dword [ebp - 0xc18], 1
push 0x1f9801
lea ecx, [ebp - 0xc2c]
call fcn.00451ee0
mov eax, dword [ebp - 0xc2c]
mov dword [ebp - 0xc14], eax
lea ecx, [ebp - 0x810]
push ecx
lea edx, [ebp - 0xc18]
push edx
mov eax, dword [0x5348f8]
push eax
call fcn.004ae59f
add esp, 0xc
jmp 0x4401ea
mov ecx, dword [ebp - 0xc34]
cmp dword [ecx + 0x928], 2
jne 0x4401ea
mov dword [ebp - 0xc18], 1
push 0x1f8804
lea ecx, [ebp - 0xc30]
call fcn.00451ee0
mov edx, dword [ebp - 0xc30]
mov dword [ebp - 0xc14], edx
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0xc18]
push ecx
mov edx, dword [0x5348f8]
push edx
call fcn.004ae59f
add esp, 0xc
mov eax, dword [ebp - 0xc34]
cmp dword [eax + 0x928], 3
jne 0x4402d9
push 9
push 0
mov ecx, dword [ebp - 0xc34]
add ecx, 0x141fc
call fcn.00482e72
mov dword [ebp - 0xc28], eax
mov ecx, dword [ebp - 0xc28]
push ecx
push 9
push 0
mov ecx, dword [ebp - 0xc34]
add ecx, 0x141fc
call fcn.00482ee6
push 8
push 0
mov ecx, dword [ebp - 0xc34]
add ecx, 0x141fc
call fcn.00482e72
mov dword [ebp - 0xc28], eax
mov edx, dword [ebp - 0xc28]
push edx
push 8
push 0
mov ecx, dword [ebp - 0xc34]
add ecx, 0x141fc
call fcn.00482ee6
push 7
push 0
mov ecx, dword [ebp - 0xc34]
add ecx, 0x141fc
call fcn.00482e72
mov dword [ebp - 0xc28], eax
mov eax, dword [ebp - 0xc28]
push eax
push 7
push 0
mov ecx, dword [ebp - 0xc34]
add ecx, 0x141fc
call fcn.00482ee6
push 6
push 0
mov ecx, dword [ebp - 0xc34]
add ecx, 0x141fc
call fcn.00482e72
mov dword [ebp - 0xc28], eax
mov ecx, dword [ebp - 0xc28]
push ecx
push 6
push 0
mov ecx, dword [ebp - 0xc34]
add ecx, 0x141fc
call fcn.00482ee6
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x814]
call fcn.004d02cd
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret