Function at 0x40fbd0
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0x3bc
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
push 0x422fc2
push dword [ebp + 0x7c]
xor ebx, ebx
mov dword [ebp + 0x54], ebx
call esi
push 0x422fc3
lea eax, [ebp - 0x354]
push eax
call esi
push 0x422fc4
lea eax, [ebp - 4]
push eax
call esi
push 0x422fc5
lea eax, [ebp - 0x40]
push eax
call esi
push 0x422fc6
lea eax, [ebp - 0x18]
push eax
call esi
push 0x14
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x54]
push 0x14
push eax
call fcn.0040bc9e
add esp, 0x10
call fcn.00412b11
cmp dword [0x429850], ebx
mov dword [ebp + 0x50], eax
je 0x40fe0e
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocStringLen
push 0x429750
mov dword [ebp + 0x60], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
push ebx
jne 0x40fc7e
push str.TestMode
push str.Failed_to_Open_Test_ConfigFile
push ebx
jmp 0x40fdfe
mov edi, dword [ebp + 0x70]
lea ecx, [ebp + 0x60]
push ecx
push 0x200
push edi
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp + 0x60], ebx
jbe 0x40fe0e
mov dword [ebp + 0x64], edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpynA]
push 0x422ff4
push dword [ebp + 0x64]
call fcn.00408e64
mov ebx, eax
test ebx, ebx
pop ecx
pop ecx
je 0x40fdcd
push 0x422ff8
push ebx
call fcn.00408e64
test eax, eax
pop ecx
pop ecx
mov dword [ebp + 0x58], eax
jne 0x40fcdd
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, ebx
mov dword [ebp + 0x58], eax
mov eax, dword [ebp + 0x58]
sub eax, ebx
dec eax
test eax, eax
mov dword [ebp + 0x5c], eax
jle 0x40fdc2
push 0x422ffc
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push 0x423010
push dword [ebp + 0x64]
call fcn.00413730
add esp, 0xc
test eax, eax
jne 0x40fd20
lea eax, [ebp - 0x154]
push dword [ebp + 0x5c]
push ebx
push eax
call edi
jmp 0x40fdc2
push 0x423024
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push 0x423028
push dword [ebp + 0x64]
call fcn.00413730
add esp, 0xc
test eax, eax
jne 0x40fd45
lea eax, [ebp - 0x54]
jmp 0x40fd14
push 0x42302c
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push str.Arch
push dword [ebp + 0x64]
call fcn.00413730
add esp, 0xc
test eax, eax
jne 0x40fd6a
lea eax, [ebp - 0x2c]
jmp 0x40fd14
push 0x42303c
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push str.Version
push dword [ebp + 0x64]
call fcn.00413730
add esp, 0xc
test eax, eax
jne 0x40fd93
push dword [ebp + 0x5c]
push ebx
push dword [ebp + 0x74]
jmp 0x40fd19
push 0x423054
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push str.Locale
push dword [ebp + 0x64]
call fcn.00413730
add esp, 0xc
test eax, eax
jne 0x40fdc2
push 3
push ebx
lea eax, [ebp + 0x4c]
push eax
call edi
lea eax, [ebp + 0x4c]
mov dword [ebp + 0x50], eax
mov eax, dword [ebp + 0x58]
mov dword [ebp + 0x64], eax
jmp 0x40fca4
push 0
push 1
push 0
push 0x2800
push dword [ebp + 0x70]
lea eax, [ebp - 0x154]
push eax
call fcn.0040f656
add esp, 0x18
test eax, eax
jge 0x40fe0e
push 0
lea eax, [ebp - 0x154]
push eax
push str.FAILED_to_read_map.xml_File
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
pop edi
pop esi
pop ebx
add ebp, 0x68
leave
ret
push dword [ebp + 0x70]
call fcn.00411d3c
mov edi, eax
test edi, edi
pop ecx
je 0x40fe04
push str.java_update_map
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x40fe04
mov edi, dword [edi + 0xc]
test edi, edi
je 0x410063
push str.mapping
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x41003c
push 0x423098
push dword [edi + 0xc]
call fcn.00411be8
push 0x4230a0
push dword [edi + 0xc]
mov ebx, eax
call fcn.00411be8
add esp, 0x10
test ebx, ebx
je 0x41003c
mov ebx, dword [ebx + 0xc]
test ebx, ebx
je 0x41003c
test eax, eax
je 0x41003c
mov eax, dword [eax + 0xc]
test eax, eax
mov dword [ebp + 0x60], eax
je 0x41003c
push 0
lea eax, [ebp - 0x254]
push eax
push dword [ebp + 0x74]
push dword [ebx + 4]
call fcn.0040ecc3
add esp, 0x10
test eax, eax
jne 0x40fed1
push eax
lea eax, [ebp - 0x254]
push eax
push dword [ebp + 0x78]
push dword [ebx + 4]
call fcn.0040ecc3
add esp, 0x10
test eax, eax
je 0x41003c
push 0x4230a4
push dword [edi + 0xc]
call fcn.00411be8
test eax, eax
pop ecx
pop ecx
je 0x40ff09
mov eax, dword [eax + 0xc]
test eax, eax
je 0x40ff09
push 1
lea ecx, [ebp + 0x24]
push ecx
lea ecx, [ebp - 0x54]
push ecx
push dword [eax + 4]
call fcn.0040ecc3
add esp, 0x10
test eax, eax
jne 0x40ff14
jmp 0x41003c
push 0x4230a7
lea eax, [ebp + 0x24]
push eax
call esi
push str.arch
push dword [edi + 0xc]
call fcn.00411be8
test eax, eax
pop ecx
pop ecx
je 0x40ff4c
mov eax, dword [eax + 0xc]
test eax, eax
je 0x40ff4c
push 0
lea ecx, [ebp + 0x38]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
push dword [eax + 4]
call fcn.0040ecc3
add esp, 0x10
test eax, eax
jne 0x40ff57
jmp 0x41003c
push 0x4230ad
lea eax, [ebp + 0x38]
push eax
call esi
push str.locale
push dword [edi + 0xc]
call fcn.00411be8
test eax, eax
pop ecx
pop ecx
je 0x40ff8e
mov eax, dword [eax + 0xc]
test eax, eax
je 0x40ff8e
push 0
lea ecx, [ebp + 0x10]
push ecx
push dword [ebp + 0x50]
push dword [eax + 4]
call fcn.0040ecc3
add esp, 0x10
test eax, eax
jne 0x40ff99
jmp 0x41003c
push 0x4230b7
lea eax, [ebp + 0x10]
push eax
call esi
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x354]
push eax
call fcn.0040ec9c
test eax, eax
pop ecx
pop ecx
jne 0x40ffe7
lea eax, [ebp + 0x24]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0040ec9c
test eax, eax
pop ecx
pop ecx
jne 0x40ffe7
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0040ec9c
test eax, eax
pop ecx
pop ecx
jne 0x40ffe7
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0040ec9c
pop ecx
pop ecx
cmp eax, 2
jne 0x41003c
xor eax, eax
mov cl, byte [ebp + eax - 0x254]
mov byte [ebp + eax - 0x354], cl
inc eax
test cl, cl
jne 0x40ffee
mov eax, dword [ebp + 0x60]
mov ecx, dword [eax + 4]
lea edx, [ebp - 0x154]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x41000d
lea eax, [ebp + 0x24]
push eax
lea eax, [ebp - 4]
push eax
call esi
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp - 0x40]
push eax
call esi
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call esi
mov dword [ebp + 0x54], 1
mov edi, dword [edi + 8]
test edi, edi
jne 0x40fe3a
cmp dword [ebp + 0x54], edi
je 0x410063
mov edx, dword [ebp + 0x7c]
lea eax, [ebp - 0x154]
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x410059
mov eax, dword [ebp + 0x54]
jmp 0x40fe06