Function at 0x4df690
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5255f6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x128
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x24]
call fcn.004070d0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004070d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xf0]
call fcn.004070d0
mov byte [ebp - 4], 2
mov word [ebp - 0xec], 0
push 0xc6
push 0
lea eax, [ebp - 0xea]
push eax
call fcn.0049e730
add esp, 0xc
lea ecx, [ebp - 0x20]
call fcn.004070d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.004070d0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xf4]
push ecx
call fcn.0050d9a0
add esp, 4
mov dword [ebp - 0x110], eax
mov edx, dword [ebp - 0x110]
mov dword [ebp - 0x114], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x114]
push eax
lea ecx, [ebp - 0xf0]
call fcn.00404380
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xf4]
call fcn.004070b0
lea ecx, [ebp - 0xf0]
call fcn.004043a0
lea ecx, [ebp - 0xf0]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00404380
lea edx, [ebp - 0xf0]
push edx
lea ecx, [ebp - 0x24]
call fcn.00404380
push str.data_baseconfig.dat0
lea ecx, [ebp - 0x1c]
call fcn.00407250
push 0
lea ecx, [ebp - 0x1c]
call fcn.00477060
push eax
call fcn.004a3585
add esp, 8
test eax, eax
je 0x4df7fe
push 0x53872c
lea eax, [ebp - 0xf0]
push eax
lea ecx, [ebp - 0xf8]
push ecx
call fcn.0040b1c0
add esp, 0xc
mov dword [ebp - 0x118], eax
mov edx, dword [ebp - 0x118]
mov dword [ebp - 0x11c], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00404380
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xf8]
call fcn.004070b0
push str.updatewmindexpcmgr.txt.old.txt
lea ecx, [ebp - 0x24]
call fcn.00407250
push 0
lea ecx, [ebp - 0x24]
call fcn.00477060
push eax
call fcn.004a3585
add esp, 8
test eax, eax
je 0x4df871
push 0x538754
lea ecx, [ebp - 0xf0]
push ecx
lea edx, [ebp - 0xfc]
push edx
call fcn.0040b1c0
add esp, 0xc
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x124], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x124]
push ecx
lea ecx, [ebp - 0x24]
call fcn.00404380
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xfc]
call fcn.004070b0
lea ecx, [ebp - 0x1c]
call fcn.00477060
push eax
push 0x64
lea edx, [ebp - 0xec]
push edx
push 0x5387bc
push str.Version
push str.Common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4df8a6
jmp 0x4df9c9
lea eax, [ebp - 0xec]
push eax
lea ecx, [ebp - 0x14]
call fcn.00407020
lea ecx, [ebp - 0x14]
call fcn.004043a0
lea ecx, [ebp - 0x14]
call fcn.00406ac0
push eax
push 2
lea ecx, [ebp - 0x100]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00407450
mov dword [ebp - 0x128], eax
mov edx, dword [ebp - 0x128]
mov dword [ebp - 0x12c], edx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x20]
call fcn.00404380
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x100]
call fcn.004070b0
push 0x5387e0
push 0x5387e4
lea ecx, [ebp - 0x20]
call fcn.0046efa0
push 0x5387e8
push 0x5387ec
lea ecx, [ebp - 0x20]
call fcn.0046efa0
lea ecx, [ebp - 0x24]
call fcn.00477060
push eax
push 0x64
lea ecx, [ebp - 0xec]
push ecx
push 0x5387f4
push 0x5387f8
push 0x5387fc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4df961
jmp 0x4df9c9
lea edx, [ebp - 0xec]
push edx
lea ecx, [ebp - 0x14]
call fcn.00407020
push 6
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x14]
call fcn.00407530
mov dword [ebp - 0x130], eax
mov ecx, dword [ebp - 0x130]
mov dword [ebp - 0x134], ecx
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x134]
push edx
lea ecx, [ebp - 0x20]
call fcn.0040a960
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x104]
call fcn.004070b0
lea ecx, [ebp - 0x20]
call fcn.00477060
push eax
call fcn.0049ffd6
add esp, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x108], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.004070b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.004070b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xf0]
call fcn.004070b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004070b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004070b0
mov eax, dword [ebp - 0x108]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret