Function at 0x415280
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a2e94
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x4c3014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x270], esi
jmp 0x4152c7
lea ecx, [ebp - 0x228]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [ebp - 0x22c]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push 0x200
mov byte [ebp - 4], 1
lea eax, [ebp - 0x224]
xorps xmm0, xmm0
mov byte [ebp - 0x24], 0
push 0
push eax
movups xmmword [ebp - 0x23], xmm0
mov word [ebp - 0x13], 0
mov byte [ebp - 0x11], 0
call sub.VCRUNTIME140.dll_memset
push 0x2d
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x238], 0x7800
push 0
push eax
mov dword [ebp - 0x234], 0
mov word [ebp - 0x230], 0x300
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
push dword [esi + 8]
mov esi, dword [sym.imp.WS2_32.dll_htonl]
call esi
mov dword [ebp - 0x26c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call esi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x268], eax
lea eax, [edi - 0x64]
push eax
call esi
push edi
mov dword [ebp - 0x264], eax
lea eax, [ebp - 0x22c]
push 0x4b7db0
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__9]
add esp, 0xc
lea ecx, [ebp - 0x228]
push 0x104
push 0x105
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBufferSetLength]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x228]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
push 0x5c
lea ecx, [ebp - 0x228]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__1]
inc eax
lea ecx, [ebp - 0x228]
push eax
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t_]
push eax
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__2]
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push str.MapCode.ini
lea ecx, [ebp - 0x228]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator]
push dword [ebp - 0x228]
lea eax, [ebp - 0x224]
push 0x100
push eax
push 0x4b7dac
push dword [ebp - 0x22c]
push 0x4b78bc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x415463
push ecx
lea eax, [ebp - 0x224]
mov ecx, esp
push eax
lea esi, [ebp - 0x24]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__11]
mov ecx, esi
call fcn.0042be40
mov eax, dword [ebp - 0x24]
add esp, 4
mov dword [ebp - 0x260], eax
mov eax, dword [ebp - 0x20]
jmp 0x415554
cmp edi, 0x70
jne 0x41547d
mov eax, dword [str.D2A9F12D]
mov dword [ebp - 0x260], eax
mov eax, dword [0x4b78c8]
jmp 0x415554
cmp edi, 0x1b1
jne 0x41549a
mov eax, dword [str.164F5CE1]
mov dword [ebp - 0x260], eax
mov eax, dword [0x4b78d4]
jmp 0x415554
cmp edi, 0x1b2
jne 0x4154b7
mov eax, dword [str.FE906B39]
mov dword [ebp - 0x260], eax
mov eax, dword [0x4b78e0]
jmp 0x415554
cmp edi, 0x1b3
jne 0x4154d4
mov eax, dword [str.4AE68B88]
mov dword [ebp - 0x260], eax
mov eax, dword [0x4b78ec]
jmp 0x415554
cmp edi, 0x2a6
jne 0x4154ee
mov eax, dword [str.86777CCC]
mov dword [ebp - 0x260], eax
mov eax, dword [0x4b78f8]
jmp 0x415554
cmp edi, 0x10a
jne 0x415508
mov eax, dword [str.E397DF64]
mov dword [ebp - 0x260], eax
mov eax, dword [0x4b7904]
jmp 0x415554
cmp edi, 0xfb
jne 0x415522
mov eax, dword [str.4C682A92]
mov dword [ebp - 0x260], eax
mov eax, dword [0x4b7910]
jmp 0x415554
cmp edi, 0x97
jne 0x41553c
mov eax, dword [str.1FD37E48]
mov dword [ebp - 0x260], eax
mov eax, dword [0x4b791c]
jmp 0x415554
cmp edi, 0xa6
jne 0x41555a
mov eax, dword [str.3CE0FCF7]
mov dword [ebp - 0x260], eax
mov eax, dword [0x4b7928]
mov dword [ebp - 0x25c], eax
mov ecx, dword [ebp - 0x270]
lea eax, [ebp - 0x26c]
push 0x2d
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x238]
push eax
call fcn.00411f80
jmp 0x415588
lea ecx, [ebp - 0x22c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x228]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044632d
mov esp, ebp
pop ebp
ret 8