Function at 0x4d449b
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5712d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x231c
call fcn.0054cd40
mov dword [ebp - 0x2320], ecx
mov dword [ebp - 0x8b0], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x22c4], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x22c0], 0
mov dword [ebp - 0x22b8], 0
mov dword [ebp - 0x22bc], 0
mov dword [ebp - 0x22f0], 0
lea ecx, [ebp - 0x68]
call fcn.004013e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.004013e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x22ec]
call fcn.004013e0
mov byte [ebp - 4], 2
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x8b4], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x22e8], 0
mov eax, dword [ebp + 0x1c]
push eax
push 0
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.0054bfb0
add esp, 0xc
mov edx, dword [ebp + 0xc]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x2320]
call fcn.004c62af
test eax, eax
je 0x4d45a6
mov edx, dword [ebp + 0x10]
push edx
push 0x5af2d8
lea eax, [ebp - 0x68]
push eax
call fcn.0055ea77
add esp, 0xc
jmp 0x4d45e7
mov ecx, dword [ebp - 0x8b0]
mov dword [ebp - 0x2314], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x22ec]
call fcn.00560ea1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00560ea1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.00560ea1
mov eax, dword [ebp - 0x2314]
jmp 0x4d4ab5
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.0054bec0
add esp, 8
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x22c4], 0
mov dword [ebp - 0x6c], 0xffff
mov dword [ebp - 0x22c4], 0
jmp 0x4d462a
mov ecx, dword [ebp - 0x22c4]
add ecx, 1
mov dword [ebp - 0x22c4], ecx
cmp dword [ebp - 0x22c4], 0x17
jge 0x4d4663
mov edx, dword [ebp - 0x22c4]
imul edx, edx, 0x14
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x4764]
cmp ecx, dword [edx + 0x5b8460]
jne 0x4d4661
mov edx, dword [ebp - 0x22c4]
imul edx, edx, 0x14
mov eax, dword [edx + 0x5b8464]
mov dword [ebp - 0x6c], eax
jmp 0x4d4663
jmp 0x4d461b
mov ecx, dword [ebp + 0x14]
xor edx, edx
mov dl, byte [ecx + 5]
push edx
mov eax, dword [ebp + 0x14]
xor ecx, ecx
mov cl, byte [eax + 4]
push ecx
mov edx, dword [ebp + 0x14]
xor eax, eax
mov al, byte [edx + 3]
push eax
mov ecx, dword [ebp + 0x14]
xor edx, edx
mov dl, byte [ecx + 2]
push edx
mov eax, dword [ebp + 0x14]
xor ecx, ecx
mov cl, byte [eax + 1]
push ecx
mov edx, dword [ebp + 0x14]
xor eax, eax
mov al, byte [edx]
push eax
push 0x5af2dc
lea ecx, [ebp - 0x64]
push ecx
call fcn.0054c45b
add esp, 0x20
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x8ac]
push eax
call fcn.0054bec0
add esp, 8
push 0x5af2f0
lea ecx, [ebp - 0x8ac]
push ecx
call fcn.0054bed0
add esp, 8
mov edx, dword [ebp + 0x10]
push edx
push 0x800
lea eax, [ebp - 0x20b4]
push eax
push 0x5d972c
lea ecx, [ebp - 0x8ac]
push ecx
lea ecx, [ebp - 0x68]
call fcn.00401440
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x4d4704
jmp 0x4d4a79
lea edx, [ebp - 0x20b4]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
push eax
call fcn.0054c3e0
add esp, 4
test eax, eax
jne 0x4d4722
jmp 0x4d4a79
mov ecx, dword [ebp - 0x34]
push ecx
lea edx, [ebp - 0x88c]
push edx
call fcn.0054bec0
add esp, 8
lea eax, [ebp - 0x88c]
push eax
call fcn.0054c3e0
add esp, 4
mov dword [ebp - 0x22b8], eax
lea ecx, [ebp - 0x88c]
mov dword [ebp - 0x10], ecx
push 0x20
push 0
lea edx, [ebp - 0x2310]
push edx
call fcn.0054bfb0
add esp, 0xc
push 0x20
push 0
lea eax, [ebp - 0x22e4]
push eax
call fcn.0054bfb0
add esp, 0xc
mov ecx, dword [ebp - 0x34]
push ecx
lea edx, [ebp - 0x2310]
push edx
call fcn.0054bec0
add esp, 8
lea eax, [ebp - 0x22bc]
push eax
push 0x5af2f4
lea ecx, [ebp - 0x2310]
push ecx
call fcn.0054c6fc
add esp, 0xc
mov edx, dword [ebp - 0x22bc]
add edx, 0xc8
mov dword [ebp - 0x22f0], edx
mov eax, dword [ebp - 0x22bc]
mov dword [ebp - 0x22c4], eax
jmp 0x4d47d6
mov ecx, dword [ebp - 0x22c4]
add ecx, 1
mov dword [ebp - 0x22c4], ecx
mov edx, dword [ebp - 0x22c4]
cmp edx, dword [ebp - 0x22f0]
jg 0x4d4a5f
mov dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x22c4]
push eax
push 0x5af2f8
lea ecx, [ebp - 0x88c]
push ecx
call fcn.0054c45b
add esp, 0xc
push 0x800
push 0
lea edx, [ebp - 0x86c]
push edx
call fcn.0054bfb0
add esp, 0xc
mov eax, dword [ebp + 0x10]
push eax
push 0x800
lea ecx, [ebp - 0x86c]
push ecx
push 0x5d9730
lea edx, [ebp - 0x88c]
push edx
lea ecx, [ebp - 0x68]
call fcn.00401440
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x4d4854
jmp 0x4d4a5f
lea eax, [ebp - 0x18b4]
push eax
lea ecx, [ebp - 0x22b4]
push ecx
lea edx, [ebp - 0x86c]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x2318], esp
lea eax, [ebp - 0x68]
push eax
call fcn.00560c16
mov dword [ebp - 0x2324], eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.0053773e
add esp, 0x14
mov dword [ebp - 0x2328], eax
cmp dword [ebp - 0x2328], 0
jne 0x4d48a1
jmp 0x4d4a5f
mov edx, dword [ebp - 0x22af]
and edx, 0xff
push edx
mov eax, dword [ebp - 0x22b0]
and eax, 0xff
push eax
mov ecx, dword [ebp - 0x22b1]
and ecx, 0xff
push ecx
mov edx, dword [ebp - 0x22b2]
and edx, 0xff
push edx
mov eax, dword [ebp - 0x22b3]
and eax, 0xff
push eax
mov ecx, dword [ebp - 0x22b4]
and ecx, 0xff
push ecx
push str._X__X__X__X__X__X
lea edx, [ebp - 0x30]
push edx
call fcn.0054c45b
add esp, 0x20
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x64]
push edx
call fcn.0054c730
add esp, 0xc
test eax, eax
je 0x4d4922
jmp 0x4d4a5f
cmp dword [ebp - 0x6c], 0xffff
jne 0x4d4932
mov dword [ebp - 0x40], 1
mov eax, dword [ebp + 8]
cmp dword [eax + 0x4764], 0x14
je 0x4d494a
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x4764], 0x15
jne 0x4d494c
jmp 0x4d4982
mov edx, dword [ebp - 0x22a3]
and edx, 0xff
shl edx, 8
mov eax, dword [ebp - 0x22a4]
and eax, 0xff
add edx, eax
mov dword [ebp - 0x22e8], edx
mov ecx, dword [ebp - 0x6c]
and ecx, dword [ebp - 0x22e8]
test ecx, ecx
je 0x4d4982
mov dword [ebp - 0x40], 1
mov edx, dword [ebp + 8]
cmp dword [edx + 0x4764], 0x16
jl 0x4d499a
mov eax, dword [ebp + 8]
cmp dword [eax + 0x4764], 0x1b
jle 0x4d4a0a
push 0x5af310
lea ecx, [ebp - 0x86c]
push ecx
call fcn.0054ccc0
add esp, 8
test eax, eax
je 0x4d4a0a
mov edx, dword [ebp + 8]
cmp dword [edx + 0x4764], 0x14
je 0x4d49ca
mov eax, dword [ebp + 8]
cmp dword [eax + 0x4764], 0x15
jne 0x4d4a03
push 0x5af314
lea ecx, [ebp - 0x86c]
push ecx
call fcn.0054ccc0
add esp, 8
test eax, eax
jne 0x4d49fa
push str._57EnC
lea edx, [ebp - 0x86c]
push edx
call fcn.0054ccc0
add esp, 8
test eax, eax
je 0x4d4a01
mov dword [ebp - 0x40], 1
jmp 0x4d4a0a
mov dword [ebp - 0x40], 1
cmp dword [ebp - 0x40], 0
je 0x4d4a5a
lea eax, [ebp - 0x86c]
push eax
call fcn.0054c3e0
add esp, 4
mov ecx, dword [ebp - 0x3c]
lea edx, [ecx + eax + 1]
cmp edx, dword [ebp + 0x1c]
jge 0x4d4a5a
lea eax, [ebp - 0x86c]
push eax
mov ecx, dword [ebp + 0x18]
add ecx, dword [ebp - 0x3c]
push ecx
call fcn.0054bed0
add esp, 8
mov edx, dword [ebp + 0x18]
add edx, dword [ebp - 0x3c]
push edx
call fcn.0054c3e0
add esp, 4
mov ecx, dword [ebp - 0x3c]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x3c], edx
jmp 0x4d47c7
mov eax, dword [ebp + 0x18]
push eax
call fcn.0054c3e0
add esp, 4
test eax, eax
je 0x4d4a79
mov dword [ebp - 0x8b0], 1
mov ecx, dword [ebp - 0x8b0]
mov dword [ebp - 0x231c], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x22ec]
call fcn.00560ea1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00560ea1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.00560ea1
mov eax, dword [ebp - 0x231c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x18