Function at 0x4182f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x57c870]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x23c], 0
cmp dword [0x5f4bd8], 1
jne 0x418333
cmp dword [ebp + 8], 0xfffffc19
jne 0x41833c
cmp dword [0x5f6638], 2
jl 0x418348
mov eax, dword [0x5c49f8]
mov dword [0x5c49f8], eax
jmp 0x418352
mov dword [0x5c49f8], 0xffffffff
cmp dword [0x5f6630], 1
jne 0x418375
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00416ce0
add esp, 8
mov eax, dword [0x5c44f0]
jmp 0x418a20
push 0x55698c
push 0x5c
push 0x5c44f8
push 0x556998
lea eax, [ebp - 0x218]
push eax
call fcn.00532706
add esp, 0x14
push 1
push 0x5569a0
lea ecx, [ebp - 0x218]
push ecx
call fcn.00459360
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [0x5fdb24], 1
jne 0x4183bf
or eax, 0xffffffff
jmp 0x418a20
push 0x127c
call fcn.005324a9
add esp, 4
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
jne 0x4183f2
push str.Out_of_Memory_in_Load_classes
push 1
call fcn.00436500
add esp, 8
or eax, 0xffffffff
jmp 0x418a20
push 0x127c
push 0
mov edx, dword [ebp - 0x224]
push edx
call fcn.005323e0
add esp, 0xc
push 0xc84
push 0
push 0x713900
call fcn.005323e0
add esp, 0xc
cmp dword [ebp - 0xc], 0
je 0x41878c
mov eax, dword [ebp - 0xc]
push eax
call fcn.00455900
add esp, 4
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x14], 0
jmp 0x41844a
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x23c]
jge 0x418760
push 0x127c
push 0
mov eax, dword [ebp - 0x224]
push eax
call fcn.005323e0
add esp, 0xc
mov ecx, dword [ebp - 0xc]
push ecx
push 1
push 0x2bc
mov edx, dword [ebp - 0x224]
push edx
call fcn.0053367b
add esp, 0x10
push 0
mov eax, dword [ebp - 0x224]
push eax
call fcn.0041aee0
add esp, 8
mov ecx, dword [ebp - 0x224]
movsx edx, word [ecx + 0x70]
and edx, dword [0x56340c]
jne 0x4184b6
mov dword [ebp - 0x220], 1
push 0
mov eax, dword [ebp - 0x224]
push eax
call fcn.00419f70
add esp, 8
xor ecx, ecx
mov edx, dword [ebp - 0x224]
mov word [edx + 0x2be], cx
cmp dword [0x5f6638], 2
jge 0x418516
mov eax, dword [ebp - 0x224]
movsx ecx, word [eax + 0xfc]
test ecx, ecx
jle 0x418504
mov edx, dword [ebp - 0x224]
movsx eax, word [edx + 0xfc]
cmp eax, 0x1388
jl 0x418516
mov ecx, 1
mov edx, dword [ebp - 0x224]
mov word [edx + 0xfc], cx
cmp dword [ebp - 0x21c], 0x320
jge 0x418756
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
jmp 0x41853f
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [0x5c4a04]
jge 0x4185d8
cmp dword [ebp - 4], 0
jne 0x4185d8
mov edx, dword [ebp - 0x10]
imul edx, edx, 0x127c
add edx, 0x11a6f12
push edx
mov eax, dword [ebp - 0x224]
add eax, 0x52
push eax
call fcn.005327a0
add esp, 8
test eax, eax
jne 0x4185d3
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x127c
mov dx, word [ecx + 0x11a6f1c]
mov word [ebp - 8], dx
push 0x2bc
mov eax, dword [ebp - 0x224]
push eax
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x127c
add ecx, 0x11a6ec0
push ecx
call fcn.00533040
add esp, 0xc
mov edx, dword [ebp - 0x10]
imul edx, edx, 0x127c
mov ax, word [ebp - 8]
mov word [edx + 0x11a6f1c], ax
mov dword [ebp - 4], 1
jmp 0x4185d8
jmp 0x418536
cmp dword [ebp - 4], 0
jne 0x41862f
mov ecx, dword [0x5c4a04]
imul ecx, ecx, 0x127c
add ecx, 0x11a6ec0
push 0x127c
mov edx, dword [ebp - 0x224]
push edx
push ecx
call fcn.00533040
add esp, 0xc
mov eax, dword [0x5c4a04]
mov dword [ebp - 0x10], eax
cmp dword [0x5c4a04], 0x320
jl 0x418620
call fcn.00418250
jmp 0x41862f
mov ecx, dword [0x5c4a04]
add ecx, 1
mov dword [0x5c4a04], ecx
mov edx, dword [ebp - 0x224]
movsx eax, word [edx + 0x5e]
cmp eax, dword [ebp + 8]
je 0x418676
cmp dword [ebp + 8], 0xffffffff
je 0x418676
cmp dword [ebp + 8], 0xfffffffe
jne 0x4186e8
mov ecx, dword [ebp - 0x224]
movsx edx, word [ecx + 0x5e]
cmp edx, 0xfffffc19
je 0x4186e8
mov eax, dword [ebp - 0x224]
movsx ecx, word [eax + 0x5e]
cmp ecx, 0xfffffc1a
je 0x4186e8
cmp dword [ebp + 0xc], 1
je 0x41868d
mov edx, dword [ebp - 0x224]
movsx eax, word [edx + 0x5e]
cmp eax, 0x2710
jge 0x4186e8
mov ecx, dword [ebp - 0x224]
movsx edx, word [ecx + 0xfc]
movsx eax, word [0x563458]
cmp edx, eax
je 0x4186c9
cmp dword [0x5f6630], 0
je 0x4186c9
mov ecx, dword [ebp - 0x224]
movsx edx, word [ecx + 0x5e]
cmp edx, 0xfffffc1a
jne 0x4186e8
cmp dword [ebp + 8], 0xfffffc1a
jne 0x4186e8
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x10]
mov dword [eax*4 + 0x713900], ecx
mov edx, dword [ebp - 0x21c]
add edx, 1
mov dword [ebp - 0x21c], edx
mov eax, dword [ebp - 0x224]
movsx ecx, word [eax + 0x5e]
cmp ecx, 0xfffffc19
jne 0x418754
cmp dword [0x5c49f8], 0xffffffff
jne 0x418754
mov edx, dword [ebp - 0x10]
mov dword [0x5c49f8], edx
cmp dword [0x5c4c84], 0
jne 0x418754
mov eax, dword [0x5c49f8]
push eax
mov ecx, dword [ebp - 0x224]
add ecx, 0x52
push ecx
push str.MAP_INDEX_A32_s_B14_d
lea edx, [ebp - 0x118]
push edx
call fcn.00532706
add esp, 0x10
lea eax, [ebp - 0x118]
push eax
push 1
call fcn.00436500
add esp, 8
mov dword [0x5c4c84], 1
jmp 0x41875b
call fcn.00418250
jmp 0x418441
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00431d50
add esp, 4
mov edx, dword [ebp - 0x21c]
mov dword [0x5c44f0], edx
push 0x713900
mov eax, dword [ebp - 0x21c]
push eax
call fcn.00463fd0
add esp, 8
cmp dword [ebp - 0x21c], 0
jne 0x418994
cmp dword [ebp + 8], 0xffffffff
je 0x418994
cmp dword [0x5fdb24], 0
jne 0x418994
mov dword [0x5c44f0], 0
mov ecx, dword [0x5c4a04]
mov dword [ebp - 0x23c], ecx
mov edx, dword [0x5c4a04]
add edx, 1
mov dword [0x5c4a04], edx
push 0x127c
push 0
mov eax, dword [ebp - 0x224]
push eax
call fcn.005323e0
add esp, 0xc
movzx ecx, word [ebp + 8]
push ecx
mov edx, dword [ebp - 0x224]
push edx
call fcn.0045d470
add esp, 8
mov eax, dword [ebp - 0x224]
mov cx, word [ebp + 8]
mov word [eax + 0x5e], cx
mov edx, dword [ebp - 0x224]
mov ax, word [0x563458]
mov word [edx + 0xfc], ax
push 0x5c44f8
call fcn.00423c50
add esp, 4
lea ecx, [ebp - 0x234]
push ecx
movzx edx, word [0x563458]
push edx
call fcn.004281f0
add esp, 8
lea eax, [ebp - 0x234]
push eax
push 0x5c44f8
push 0x5569dc
lea ecx, [ebp - 0x118]
push ecx
call fcn.00532706
add esp, 0x10
lea edx, [ebp - 0x118]
push edx
call fcn.00423c50
add esp, 4
push 0x5c4c7d
mov eax, dword [ebp - 0x224]
push eax
call fcn.00418a30
add esp, 8
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0xffffffff
jne 0x4188ad
mov ecx, dword [ebp - 0x224]
push ecx
call fcn.00532828
add esp, 4
or eax, 0xffffffff
jmp 0x418a20
lea edx, [ebp - 0x234]
push edx
movzx eax, word [0x563458]
push eax
call fcn.004281f0
add esp, 8
mov ecx, dword [ebp - 0x224]
add ecx, 0x52
push ecx
push 0x5c
lea edx, [ebp - 0x234]
push edx
push 0x5c44f8
push 0x5569e4
lea eax, [ebp - 0x218]
push eax
call fcn.00532706
add esp, 0x18
push 0x5c44f8
call fcn.00423c50
add esp, 4
lea ecx, [ebp - 0x218]
push ecx
call fcn.00423c50
add esp, 4
cmp dword [0x5fdb24], 1
jne 0x41892c
mov edx, dword [ebp - 0x224]
push edx
call fcn.00532828
add esp, 4
or eax, 0xffffffff
jmp 0x418a20
mov eax, dword [ebp - 0x23c]
imul eax, eax, 0x127c
add eax, 0x11a6ec0
push 0x127c
mov ecx, dword [ebp - 0x224]
push ecx
push eax
call fcn.00533040
add esp, 0xc
mov edx, dword [ebp - 0x23c]
mov dword [0x713900], edx
cmp dword [ebp + 8], 0xfffffc19
jne 0x418974
mov eax, dword [ebp - 0x23c]
mov dword [0x5c49f8], eax
jmp 0x418980
mov ecx, dword [0x5c49f8]
mov dword [0x5c49f8], ecx
mov dword [0x5c44f0], 1
mov dword [ebp - 0x21c], 1
cmp dword [ebp - 0x224], 0
je 0x4189ac
mov edx, dword [ebp - 0x224]
push edx
call fcn.00532828
add esp, 4
cmp dword [ebp - 0x220], 1
jne 0x418a1a
cmp dword [0x5c4c80], 0
jne 0x418a1a
mov dword [0x5c4c80], 1
mov eax, dword [0x5c44f0]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x14], 0
jmp 0x4189e5
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
cmp edx, dword [0x5c4a04]
jge 0x418a0e
push 0x5c4c7e
mov eax, dword [ebp - 0x14]
imul eax, eax, 0x127c
add eax, 0x11a6ec0
push eax
call fcn.00418a30
add esp, 8
jmp 0x4189dc
mov ecx, dword [ebp - 0x238]
mov dword [0x5c44f0], ecx
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00532783
mov esp, ebp
pop ebp
ret