Function at 0x41dde0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
mov eax, dword [0x5053c0]
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
mov eax, dword [ebp + 0x10]
mov dword [eax], 1
push 0x4d8950
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00480f2b
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x41de38
mov eax, 3
jmp 0x41e32c
push 2
push 0
mov edx, dword [ebp - 0xc]
push edx
call fcn.00485ae7
add esp, 0xc
mov eax, dword [ebp - 0xc]
push eax
call fcn.004864b8
add esp, 4
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
jg 0x41de79
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00480c29
add esp, 4
mov eax, 3
jmp 0x41e32c
mov edx, dword [ebp - 0x98]
push edx
call fcn.00441211
add esp, 4
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x9c], eax
push 0
push 0
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00485ae7
add esp, 0xc
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x98]
push eax
push 1
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.00485de4
add esp, 0x10
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0xc]
push edx
call fcn.00480c29
add esp, 4
cmp dword [ebp - 8], 1
jge 0x41df00
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa8]
push ecx
call fcn.00441216
add esp, 4
mov eax, 3
jmp 0x41e32c
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.004836dc
add esp, 0xc
test eax, eax
je 0x41df2f
mov edx, dword [ebp - 0x98]
mov dword [ebp - 4], edx
jmp 0x41df7f
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.00481150
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.0047fdb0
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.0047fdb0
add esp, 4
sub esi, eax
push esi
call fcn.004836dc
add esp, 0xc
test eax, eax
jne 0x41dfde
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xac]
push ecx
call fcn.00441216
add esp, 4
xor eax, eax
jmp 0x41e32c
push str.PAX_S80_SAPP
call fcn.0047fdb0
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.0047fdb0
add esp, 4
sub esi, eax
push esi
call fcn.004836dc
add esp, 0xc
test eax, eax
jne 0x41e040
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0xb0], edx
mov eax, dword [ebp - 0xb0]
push eax
call fcn.00441216
add esp, 4
mov eax, 1
jmp 0x41e32c
push str.PAX_S80_ADDI
call fcn.0047fdb0
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.0047fdb0
add esp, 4
sub esi, eax
push esi
call fcn.004836dc
add esp, 0xc
test eax, eax
jne 0x41e09f
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0xb4], ecx
mov edx, dword [ebp - 0xb4]
push edx
call fcn.00441216
add esp, 4
mov eax, 2
jmp 0x41e32c
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xd4]
call fcn.0041cbe0
test eax, eax
je 0x41e0d7
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0xb8], ecx
mov edx, dword [ebp - 0xb8]
push edx
call fcn.00441216
add esp, 4
mov eax, 3
jmp 0x41e32c
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
push str.SP30
mov ecx, dword [ebp + 8]
push ecx
call fcn.004815f0
add esp, 8
test eax, eax
jne 0x41e1c0
mov edx, dword [ebp - 0x9c]
add edx, 0x110
mov dword [ebp - 0xa0], edx
mov eax, dword [ebp - 0xa0]
movzx ecx, byte [eax]
mov edx, dword [ebp - 0xa0]
movzx eax, byte [edx + 1]
shl eax, 8
add ecx, eax
mov edx, dword [ebp - 0xa0]
movzx eax, byte [edx + 2]
shl eax, 0x10
add ecx, eax
mov edx, dword [ebp - 0xa0]
movzx eax, byte [edx + 3]
shl eax, 0x18
add ecx, eax
mov dword [ebp - 0x94], ecx
mov ecx, dword [ebp - 0x94]
and ecx, 0x3ffffff
mov dword [ebp - 0x94], ecx
mov edx, dword [ebp - 0x94]
shl edx, 2
mov dword [ebp - 0x94], edx
cmp dword [ebp - 0x94], 0x100000
jb 0x41e199
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xbc]
push ecx
call fcn.00441216
add esp, 4
mov eax, 1
jmp 0x41e32c
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0xc0], edx
mov eax, dword [ebp - 0xc0]
push eax
call fcn.00441216
add esp, 4
xor eax, eax
jmp 0x41e32c
push str.MT30
mov ecx, dword [ebp + 8]
push ecx
call fcn.004815f0
add esp, 8
test eax, eax
je 0x41e22d
push str.D300
mov edx, dword [ebp + 8]
push edx
call fcn.004815f0
add esp, 8
test eax, eax
je 0x41e22d
push str.D200
mov eax, dword [ebp + 8]
push eax
call fcn.004815f0
add esp, 8
test eax, eax
je 0x41e22d
push str.D210
mov ecx, dword [ebp + 8]
push ecx
call fcn.004815f0
add esp, 8
test eax, eax
je 0x41e22d
push str.D180
mov edx, dword [ebp + 8]
push edx
call fcn.004815f0
add esp, 8
test eax, eax
jne 0x41e2ea
mov eax, dword [ebp - 0x9c]
add eax, 0x110
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa0]
movzx edx, byte [ecx]
mov eax, dword [ebp - 0xa0]
movzx ecx, byte [eax + 1]
shl ecx, 8
add edx, ecx
mov eax, dword [ebp - 0xa0]
movzx ecx, byte [eax + 2]
shl ecx, 0x10
add edx, ecx
mov eax, dword [ebp - 0xa0]
movzx ecx, byte [eax + 3]
shl ecx, 0x18
add edx, ecx
mov dword [ebp - 0x94], edx
mov edx, dword [ebp - 0x94]
and edx, 0x3ffffff
mov dword [ebp - 0x94], edx
mov eax, dword [ebp - 0x94]
shl eax, 2
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0x1000000
jb 0x41e2c9
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0xc4], ecx
mov edx, dword [ebp - 0xc4]
push edx
call fcn.00441216
add esp, 4
mov eax, 1
jmp 0x41e32c
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0xc8]
push ecx
call fcn.00441216
add esp, 4
xor eax, eax
jmp 0x41e32c
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0xcc], edx
mov eax, dword [ebp - 0xcc]
push eax
call fcn.00441216
add esp, 4
mov eax, 3
jmp 0x41e32c
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00480296
mov esp, ebp
pop ebp
ret 0xc