Function at 0x410900
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
mov eax, dword [0x4b1570]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
mov dword [ebp - 0xd4], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 0x98], 0
push 0x480bcc
mov eax, dword [ebp + 0xc]
push eax
call fcn.00460930
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x41094f
mov eax, 3
jmp 0x410e8d
push 2
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00463a83
add esp, 0xc
mov edx, dword [ebp - 0xc]
push edx
call fcn.0046398e
add esp, 4
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
jg 0x410990
mov eax, dword [ebp - 0xc]
push eax
call fcn.004607f0
add esp, 4
mov eax, 3
jmp 0x410e8d
mov ecx, dword [ebp - 0x98]
push ecx
call fcn.0043e06c
add esp, 4
mov dword [ebp - 0xa4], eax
mov edx, dword [ebp - 0xa4]
mov dword [ebp - 0x9c], edx
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call fcn.00463a83
add esp, 0xc
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x98]
push edx
push 1
mov eax, dword [ebp - 0x9c]
push eax
call fcn.004637db
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jge 0x410a17
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004607f0
add esp, 4
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp - 0xa8]
push eax
call fcn.0043e067
add esp, 4
mov eax, 3
jmp 0x410e8d
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041e690
add esp, 4
test eax, eax
je 0x410c24
push 0x10
push str.SIGNED_VER:00001
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x9c]
lea ecx, [eax + edx - 0x10]
push ecx
call fcn.00461efe
add esp, 0xc
test eax, eax
je 0x410a5a
mov edx, dword [ebp - 0x98]
mov dword [ebp - 4], edx
jmp 0x410aaa
push 4
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x9c]
lea edx, [ecx + eax - 0x14]
push edx
lea eax, [ebp - 0x90]
push eax
call fcn.00460a90
add esp, 0xc
movzx ecx, byte [ebp - 0x90]
movzx edx, byte [ebp - 0x8f]
shl edx, 8
add ecx, edx
movzx eax, byte [ebp - 0x8e]
shl eax, 0x10
add ecx, eax
movzx edx, byte [ebp - 0x8d]
shl edx, 0x18
add ecx, edx
mov dword [ebp - 4], ecx
push str.PAX_S80_MAPP
call fcn.0045fcf0
add esp, 4
push eax
push str.PAX_S80_MAPP
mov esi, dword [ebp - 0x9c]
add esi, dword [ebp - 4]
push str.PAX_S80_MAPP
call fcn.0045fcf0
add esp, 4
sub esi, eax
push esi
call fcn.00461efe
add esp, 0xc
test eax, eax
jne 0x410b15
mov eax, dword [ebp - 0xc]
push eax
call fcn.004607f0
add esp, 4
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0xac], ecx
mov edx, dword [ebp - 0xac]
push edx
call fcn.0043e067
add esp, 4
xor eax, eax
jmp 0x410e8d
push str.PAX_S80_SAPP
call fcn.0045fcf0
add esp, 4
push eax
push str.PAX_S80_SAPP
mov esi, dword [ebp - 0x9c]
add esi, dword [ebp - 4]
push str.PAX_S80_MAPP
call fcn.0045fcf0
add esp, 4
sub esi, eax
push esi
call fcn.00461efe
add esp, 0xc
test eax, eax
jne 0x410b83
mov eax, dword [ebp - 0xc]
push eax
call fcn.004607f0
add esp, 4
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0xb0], ecx
mov edx, dword [ebp - 0xb0]
push edx
call fcn.0043e067
add esp, 4
mov eax, 1
jmp 0x410e8d
push str.PAX_S80_ADDI
call fcn.0045fcf0
add esp, 4
push eax
push str.PAX_S80_ADDI
mov esi, dword [ebp - 0x9c]
add esi, dword [ebp - 4]
push str.PAX_S80_MAPP
call fcn.0045fcf0
add esp, 4
sub esi, eax
push esi
call fcn.00461efe
add esp, 0xc
test eax, eax
jne 0x410bee
mov eax, dword [ebp - 0xc]
push eax
call fcn.004607f0
add esp, 4
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0xb4], ecx
mov edx, dword [ebp - 0xb4]
push edx
call fcn.0043e067
add esp, 4
mov eax, 2
jmp 0x410e8d
mov eax, dword [ebp - 0xc]
push eax
call fcn.004607f0
add esp, 4
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0xb8], ecx
mov edx, dword [ebp - 0xb8]
push edx
call fcn.0043e067
add esp, 4
mov eax, 3
jmp 0x410e8d
push 0x480d58
mov eax, dword [ebp + 8]
push eax
call fcn.00460f30
add esp, 8
test eax, eax
jne 0x410d03
mov ecx, dword [ebp - 0x9c]
add ecx, 0x110
mov dword [ebp - 0xa0], ecx
mov edx, dword [ebp - 0xa0]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0xa0]
movzx edx, byte [ecx + 1]
shl edx, 8
add eax, edx
mov ecx, dword [ebp - 0xa0]
movzx edx, byte [ecx + 2]
shl edx, 0x10
add eax, edx
mov ecx, dword [ebp - 0xa0]
movzx edx, byte [ecx + 3]
shl edx, 0x18
add eax, edx
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
and eax, 0x3ffffff
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
shl ecx, 2
mov dword [ebp - 0x94], ecx
cmp dword [ebp - 0x94], 0x100000
jb 0x410cdc
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0xbc], edx
mov eax, dword [ebp - 0xbc]
push eax
call fcn.0043e067
add esp, 4
mov eax, 1
jmp 0x410e8d
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0xc0], ecx
mov edx, dword [ebp - 0xc0]
push edx
call fcn.0043e067
add esp, 4
xor eax, eax
jmp 0x410e8d
push str.MT30
mov eax, dword [ebp + 8]
push eax
call fcn.00460f30
add esp, 8
test eax, eax
je 0x410d5b
push str.D300
mov ecx, dword [ebp + 8]
push ecx
call fcn.00460f30
add esp, 8
test eax, eax
je 0x410d5b
push str.D200
mov edx, dword [ebp + 8]
push edx
call fcn.00460f30
add esp, 8
test eax, eax
je 0x410d5b
push str.D210
mov eax, dword [ebp + 8]
push eax
call fcn.00460f30
add esp, 8
test eax, eax
jne 0x410e33
mov ecx, dword [ebp - 0x9c]
add ecx, 0x110
mov dword [ebp - 0xa0], ecx
mov edx, dword [ebp - 0xa0]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0xa0]
movzx edx, byte [ecx + 1]
shl edx, 8
add eax, edx
mov ecx, dword [ebp - 0xa0]
movzx edx, byte [ecx + 2]
shl edx, 0x10
add eax, edx
mov ecx, dword [ebp - 0xa0]
movzx edx, byte [ecx + 3]
shl edx, 0x18
add eax, edx
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
and eax, 0x3ffffff
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
shl ecx, 2
mov dword [ebp - 0x94], ecx
cmp dword [ebp - 0x94], 0x1000000
jb 0x410e06
mov edx, dword [ebp - 0xc]
push edx
call fcn.004607f0
add esp, 4
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0xc4]
push ecx
call fcn.0043e067
add esp, 4
mov eax, 1
jmp 0x410e8d
mov edx, dword [ebp - 0xc]
push edx
call fcn.004607f0
add esp, 4
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0xc8]
push ecx
call fcn.0043e067
add esp, 4
xor eax, eax
jmp 0x410e8d
mov edx, dword [ebp - 0xc]
push edx
call fcn.004607f0
add esp, 4
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0xcc]
push ecx
call fcn.0043e067
add esp, 4
mov eax, 3
jmp 0x410e8d
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00460142
mov esp, ebp
pop ebp
ret 8