Function at 0x4547e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cace5
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x515bb8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x284], ecx
push 0x1f8
mov ecx, dword [ebp - 0x284]
call sub.mfc110.dll_Ordinal_5277
mov ecx, eax
call fcn.00402b67
mov ax, word [0x4e9368]
mov word [ebp - 0x26c], ax
push 0x4e936c
push 0x1f4
lea ecx, [ebp - 0x268]
push ecx
push 0x4e9166
push 0x4e9378
push 0x4e9380
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x29c], eax
lea edx, [ebp - 0x28c]
push edx
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x268]
push ecx
call dword [sym.imp.MSVCR110.dll_strtok_s]
add esp, 0xc
mov dword [ebp - 0x274], eax
lea ecx, [ebp - 0x280]
call dword [sym.imp.mfc110.dll_Ordinal_316]
mov dword [ebp - 4], 0
lea edx, [ebp - 0x280]
push edx
push 0x1c8
mov ecx, dword [ebp - 0x284]
call sub.mfc110.dll_Ordinal_5277
mov ecx, eax
call sub.mfc110.dll_Ordinal_7630
cmp dword [ebp - 0x274], 0
je 0x454a77
lea ecx, [ebp - 0x270]
call dword [sym.imp.mfc110.dll_Ordinal_316]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x278]
call dword [sym.imp.mfc110.dll_Ordinal_316]
mov byte [ebp - 4], 2
push 0x4e9394
lea ecx, [ebp - 0x27c]
call dword [sym.imp.mfc110.dll_Ordinal_310]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x274]
push eax
lea ecx, [ebp - 0x27c]
call dword [sym.imp.mfc110.dll_Ordinal_1687]
push str.cmns32.ini
push 0x64
lea ecx, [ebp - 0x74]
push ecx
push 0x4e9167
push 0x4e93b4
lea ecx, [ebp - 0x27c]
call dword [sym.imp.mfc110.dll_Ordinal_4978]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x298], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x27c]
call dword [sym.imp.mfc110.dll_Ordinal_12336]
lea edx, [ebp - 0x74]
push edx
lea ecx, [ebp - 0x278]
call dword [sym.imp.mfc110.dll_Ordinal_1520]
mov eax, dword [ebp - 0x274]
push eax
push 0
push 0x4e93c8
lea ecx, [ebp - 0x278]
call dword [sym.imp.mfc110.dll_Ordinal_4595]
add eax, 1
push eax
lea ecx, [ebp - 0x290]
push ecx
lea ecx, [ebp - 0x278]
call dword [sym.imp.mfc110.dll_Ordinal_8570]
mov dword [ebp - 0x288], eax
mov edx, dword [ebp - 0x288]
mov dword [ebp - 0x294], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x294]
mov ecx, dword [eax]
push ecx
push 0x4e93cc
lea edx, [ebp - 0x270]
push edx
call dword [sym.imp.mfc110.dll_Ordinal_4746]
add esp, 0x10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x290]
call dword [sym.imp.mfc110.dll_Ordinal_1038]
lea eax, [ebp - 0x280]
push eax
push 0x4e93d4
call fcn.00401226
add esp, 8
movzx ecx, al
test ecx, ecx
jne 0x4549ff
push 0
push 0x4e93e0
lea ecx, [ebp - 0x270]
call dword [sym.imp.mfc110.dll_Ordinal_4595]
cmp eax, 0xffffffff
jne 0x454a23
lea ecx, [ebp - 0x270]
call dword [sym.imp.mfc110.dll_Ordinal_1652]
push eax
push 0x1f8
mov ecx, dword [ebp - 0x284]
call sub.mfc110.dll_Ordinal_5277
mov ecx, eax
call fcn.00401e2e
lea edx, [ebp - 0x28c]
push edx
lea eax, [ebp - 0x26c]
push eax
push 0
call dword [sym.imp.MSVCR110.dll_strtok_s]
add esp, 0xc
mov dword [ebp - 0x274], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x27c]
call dword [sym.imp.mfc110.dll_Ordinal_1038]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x278]
call dword [sym.imp.mfc110.dll_Ordinal_1038]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x270]
call dword [sym.imp.mfc110.dll_Ordinal_1038]
jmp 0x4548b6
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x280]
call dword [sym.imp.mfc110.dll_Ordinal_1038]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b5ffc
mov esp, ebp
pop ebp
ret