Function at 0x410900
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1050
call fcn.0041a220
mov eax, dword [0x43c030]
xor eax, ebp
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x102c], 0
mov dword [ebp - 0x1c], 2
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 3
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00410e30
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 0x14], 0
je 0x410974
lea eax, [ebp - 0x1c]
push eax
call fcn.00410d50
add esp, 4
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x1050], ecx
cmp dword [ebp - 0x1050], 0
je 0x41099d
cmp dword [ebp - 0x1050], 1
je 0x4109ae
cmp dword [ebp - 0x1050], 2
je 0x4109c9
jmp 0x410d11
call fcn.00411060
push 0
call fcn.0041a1af
jmp 0x410d11
push str.Sorry__segment_dump_not_yet_implemented_n
call fcn.0041501a
add eax, 0x40
push eax
call fcn.00414e84
add esp, 8
jmp 0x410d11
mov edx, dword [ebp + 8]
sub edx, dword [ebp - 4]
cmp edx, 1
jne 0x410a2c
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + eax*4]
mov dword [ebp - 0x1030], edx
push 0x43bbec
mov eax, dword [ebp - 0x1030]
push eax
call fcn.00418fd7
add esp, 8
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x410a27
mov ecx, dword [ebp - 0x1030]
push ecx
push 0x43bbf0
call fcn.0041501a
add eax, 0x40
push eax
call fcn.00414e84
add esp, 0xc
mov eax, 1
jmp 0x410d37
jmp 0x410af4
mov edx, dword [ebp + 8]
sub edx, dword [ebp - 4]
cmp edx, 2
jne 0x410aea
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + eax*4]
mov dword [ebp - 0x1038], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + eax*4 + 4]
mov dword [ebp - 0x1034], edx
push 0x43bc04
mov eax, dword [ebp - 0x1038]
push eax
call fcn.00418fd7
add esp, 8
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x410a9e
mov ecx, dword [ebp - 0x1038]
push ecx
push 0x43bc08
call fcn.0041501a
add eax, 0x40
push eax
call fcn.00414e84
add esp, 0xc
mov eax, 1
jmp 0x410d37
push 0x43bc1c
mov edx, dword [ebp - 0x1034]
push edx
call fcn.00418fd7
add esp, 8
mov dword [ebp - 0x102c], eax
cmp dword [ebp - 0x102c], 0
jne 0x410ae8
mov eax, dword [ebp - 0x1034]
push eax
push str.error_opening__s_n
call fcn.0041501a
add eax, 0x40
push eax
call fcn.00414e84
add esp, 0xc
mov eax, 1
jmp 0x410d37
jmp 0x410af4
call fcn.00411060
jmp 0x410d37
lea ecx, [ebp - 0x1c]
push ecx
push 0x411080
push 0
xor edx, edx
cmp dword [ebp - 0x102c], 0
setne dl
push edx
push 0
call fcn.0040109b
add esp, 0x14
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
push eax
push 0x1000
push 1
lea ecx, [ebp - 0x1028]
push ecx
call fcn.0041946d
add esp, 0x10
mov dword [ebp - 0x103c], eax
cmp dword [ebp - 0x103c], 0
jg 0x410b44
jmp 0x410b66
mov edx, dword [ebp - 0x103c]
push edx
lea eax, [ebp - 0x1028]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.00401069
add esp, 0xc
test eax, eax
je 0x410b64
jmp 0x410b66
jmp 0x410b19
mov edx, dword [ebp - 0x20]
push edx
call fcn.00418ea7
add esp, 4
cmp dword [ebp - 0x102c], 0
je 0x410c1e
mov eax, dword [ebp - 0x24]
push eax
call fcn.0040117c
add esp, 4
mov dword [ebp - 0x1040], eax
lea ecx, [ebp - 0x1c]
push ecx
push 0x411080
mov edx, dword [ebp - 0x1040]
push edx
push 1
push 0
call fcn.0040109b
add esp, 0x14
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x102c]
push eax
push 0x1000
push 1
lea ecx, [ebp - 0x1028]
push ecx
call fcn.0041946d
add esp, 0x10
mov dword [ebp - 0x1044], eax
cmp dword [ebp - 0x1044], 0
jg 0x410bde
jmp 0x410c00
mov edx, dword [ebp - 0x1044]
push edx
lea eax, [ebp - 0x1028]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.00401069
add esp, 0xc
test eax, eax
je 0x410bfe
jmp 0x410c00
jmp 0x410bb0
mov edx, dword [ebp - 0x102c]
push edx
call fcn.00418ea7
add esp, 4
mov eax, dword [ebp - 0x1040]
push eax
call fcn.00401087
add esp, 4
cmp dword [ebp - 0x102c], 0
je 0x410c33
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.00401050
add esp, 4
cmp dword [ebp - 0xc], 0
jne 0x410c5c
push str..pbm
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + edx*4]
push ecx
call fcn.00411170
add esp, 8
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 1
jmp 0x410c97
mov edx, dword [ebp - 0xc]
push edx
call fcn.004151d0
add esp, 4
mov dword [ebp - 0x104c], eax
cmp dword [ebp - 0x104c], 3
jl 0x410c97
cmp dword [ebp - 8], 3
jne 0x410c97
mov eax, dword [ebp - 0x104c]
mov ecx, dword [ebp - 0xc]
lea edx, [ecx + eax - 3]
push edx
lea eax, [ebp - 0x1c]
push eax
call fcn.00410e10
add esp, 8
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.004010dc
add esp, 4
mov dword [ebp - 0x1048], eax
cmp dword [ebp - 0x1048], 0
je 0x410cf3
mov edx, dword [ebp - 0x1048]
push edx
lea eax, [ebp - 0x1c]
push eax
call fcn.004112d0
add esp, 8
cmp dword [ebp - 0x14], 0
je 0x410cde
mov ecx, dword [ebp - 0x1048]
push ecx
lea edx, [ebp - 0x1c]
push edx
call fcn.00410db0
add esp, 8
mov eax, dword [ebp - 0x1048]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.004010b4
add esp, 8
jmp 0x410c97
cmp dword [ebp - 0x14], 0
je 0x410d05
lea edx, [ebp - 0x1c]
push edx
call fcn.004113b0
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
call fcn.00401032
add esp, 4
cmp dword [ebp - 0xc], 0
je 0x410d23
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00415868
add esp, 4
cmp dword [ebp - 0x14], 0
je 0x410d35
lea edx, [ebp - 0x1c]
push edx
call fcn.00410df0
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.00415a74
mov esp, ebp
pop ebp
ret