Function at 0x456a10
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x478644
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x483014]
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 0x456a57
lea ecx, [ebp - 0x234]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [ebp - 0x238]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push 0x200
mov byte [ebp - 4], 1
lea eax, [ebp - 0x230]
xorps xmm0, xmm0
mov byte [ebp - 0x30], 0
push 0
push eax
movups xmmword [ebp - 0x2f], xmm0
mov word [ebp - 0x1f], 0
mov byte [ebp - 0x1d], 0
call sub.VCRUNTIME140.dll_memset
push 0x2d
lea eax, [ebp - 0x268]
mov dword [ebp - 0x1c], 0x7800
push 0
push eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x14], 0x300
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
push dword [esi + 4]
mov esi, dword [sym.imp.WS2_32.dll_htonl]
call esi
mov dword [ebp - 0x268], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call esi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x264], eax
lea eax, [edi - 0x64]
push eax
call esi
push edi
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x238]
push 0x47c244
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__12]
add esp, 0xc
lea ecx, [ebp - 0x234]
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 - 0x234]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
push 0x5c
lea ecx, [ebp - 0x234]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__7]
inc eax
lea ecx, [ebp - 0x234]
push eax
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__6]
push eax
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push str.MapCode.ini
lea ecx, [ebp - 0x234]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator]
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push 0x100
push eax
push 0x47c240
push dword [ebp - 0x238]
push 0x47bef4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x456bea
push ecx
lea eax, [ebp - 0x230]
mov ecx, esp
push eax
lea esi, [ebp - 0x30]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
mov ecx, esi
call fcn.0046d1f0
mov eax, dword [ebp - 0x30]
add esp, 4
mov dword [ebp - 0x25c], eax
mov eax, dword [ebp - 0x2c]
jmp 0x456cdb
cmp edi, 0x70
jne 0x456c04
mov eax, dword [str.D2A9F12D]
mov dword [ebp - 0x25c], eax
mov eax, dword [0x47bf00]
jmp 0x456cdb
cmp edi, 0x1b1
jne 0x456c21
mov eax, dword [str.164F5CE1]
mov dword [ebp - 0x25c], eax
mov eax, dword [0x47bf0c]
jmp 0x456cdb
cmp edi, 0x1b2
jne 0x456c3e
mov eax, dword [str.FE906B39]
mov dword [ebp - 0x25c], eax
mov eax, dword [0x47bf18]
jmp 0x456cdb
cmp edi, 0x1b3
jne 0x456c5b
mov eax, dword [str.4AE68B88]
mov dword [ebp - 0x25c], eax
mov eax, dword [0x47bf24]
jmp 0x456cdb
cmp edi, 0x2a6
jne 0x456c75
mov eax, dword [str.86777CCC]
mov dword [ebp - 0x25c], eax
mov eax, dword [0x47bf30]
jmp 0x456cdb
cmp edi, 0x10a
jne 0x456c8f
mov eax, dword [str.E397DF64]
mov dword [ebp - 0x25c], eax
mov eax, dword [0x47bf3c]
jmp 0x456cdb
cmp edi, 0xfb
jne 0x456ca9
mov eax, dword [str.4C682A92]
mov dword [ebp - 0x25c], eax
mov eax, dword [0x47bf48]
jmp 0x456cdb
cmp edi, 0x97
jne 0x456cc3
mov eax, dword [str.1FD37E48]
mov dword [ebp - 0x25c], eax
mov eax, dword [0x47bf54]
jmp 0x456cdb
cmp edi, 0xa6
jne 0x456ce1
mov eax, dword [str.3CE0FCF7]
mov dword [ebp - 0x25c], eax
mov eax, dword [0x47bf60]
mov dword [ebp - 0x258], eax
mov ecx, dword [ebp - 0x270]
lea eax, [ebp - 0x268]
push 0x2d
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x1c]
push eax
call fcn.004536d0
jmp 0x456d0c
lea ecx, [ebp - 0x238]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x234]
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.0047724d
mov esp, ebp
pop ebp
ret 8