Function at 0x4dfa70
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5256a2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x128
mov dword [ebp - 0x10c], ecx
mov ecx, dword [ebp - 0x10c]
call fcn.004df6d0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4dfab0
mov eax, dword [ebp - 0x18]
jmp 0x4dfe0f
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.0050d9e0
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.ressrcchsuplive.svr0
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 0x4dfbf3
push 0x538638
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 0x538688
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 0x4dfc66
push 0x538664
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 0x5386cc
push 0x5386d0
push 0x5386e0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4dfc9b
jmp 0x4dfdbe
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 0x5386f0
push 0x5386f4
lea ecx, [ebp - 0x20]
call fcn.0046efa0
push 0x5386f8
push 0x5386fc
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 0x538704
push 0x538708
push 0x53870c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4dfd56
jmp 0x4dfdbe
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