Function at 0x408e11
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0xdd0]
sub esp, 0xe50
mov eax, dword [0x430158]
xor eax, ebp
mov dword [ebp + 0xdcc], eax
push ebx
xor ebx, ebx
cmp dword [ebp + 0xdd8], ebx
push esi
push edi
je 0x408e6b
push dword [ebp + 0xdd8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x408e6b
lea esi, [eax + eax]
mov eax, esi
call fcn.0040ee80
mov eax, esp
push ebx
push esi
push dword [ebp + 0xdd8]
push eax
call fcn.004012a9
cmp eax, ebx
jne 0x408e96
lea ecx, [ebp + 0xdd8]
call fcn.0040216b
xor eax, eax
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xdcc]
xor ecx, ebp
call fcn.0040dfe9
add ebp, 0xdd0
leave
ret
push 0x425850
push eax
call fcn.00409bb2
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0x48], eax
jne 0x408eb9
lea ecx, [ebp + 0xdd8]
call fcn.0040216b
mov eax, ebx
jmp 0x408e78
mov edi, dword [ebp + 0xddc]
push edi
push dword [edi + 4]
lea ecx, [ebp - 0x5c]
call fcn.0040569b
mov eax, dword [ebp - 0x5c]
push edi
push dword [edi + 8]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x50], eax
call fcn.0040569b
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x54]
call fcn.00408dba
mov esi, 0x200
jmp 0x4091ba
lea ecx, [ebp - 0x54]
call fcn.00408d75
push dword [eax]
call fcn.00408cfd
test eax, eax
pop ecx
je 0x40919a
lea ecx, [ebp - 0x54]
call fcn.00408d75
mov eax, dword [eax]
lea ecx, [ebp - 0x80]
push ecx
push eax
call fcn.0040fe5b
test eax, eax
pop ecx
pop ecx
jne 0x40919a
push 0x63
lea eax, [ebp - 0x43]
push ebx
push eax
mov byte [ebp - 0x44], bl
call fcn.0040ede0
push 0x19c
lea eax, [ebp + 0x20]
push ebx
push eax
call fcn.0040ede0
xor eax, eax
lea edi, [ebp + 0xdc6]
mov word [ebp + 0xdc4], bx
stosd dword es:[edi], eax
mov edi, 0x1fe
push edi
lea eax, [ebp + 0x1be]
push ebx
push eax
mov word [ebp + 0x1bc], bx
call fcn.0040ede0
push edi
lea eax, [ebp + 0x3be]
push ebx
push eax
mov word [ebp + 0x3bc], bx
call fcn.0040ede0
push edi
lea eax, [ebp + 0x7be]
push ebx
push eax
mov word [ebp + 0x7bc], bx
call fcn.0040ede0
push 0x206
lea eax, [ebp + 0xbbe]
push ebx
push eax
mov word [ebp + 0xbbc], bx
call fcn.0040ede0
add esp, 0x48
lea ecx, [ebp - 0x54]
call fcn.00408d75
mov ecx, 0x100
push ecx
lea edx, [ebp + 0x7bc]
push edx
push ecx
lea edx, [ebp + 0x3bc]
push edx
push ecx
lea ecx, [ebp + 0x1bc]
push ecx
push 3
lea ecx, [ebp + 0xdc4]
push ecx
push dword [eax]
call fcn.00410626
lea eax, [ebp + 0x7bc]
push eax
lea eax, [ebp + 0x3bc]
push eax
push ebx
push ebx
lea eax, [ebp + 0xbbc]
push 0x104
push eax
call fcn.00410839
add esp, 0x3c
lea eax, [ebp + 0xbbc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x40902f
xor eax, eax
jmp 0x40904a
lea edi, [eax + eax]
mov eax, edi
call fcn.0040ee80
mov eax, esp
push ebx
push edi
lea ecx, [ebp + 0xbbc]
push ecx
push eax
call fcn.004012a9
push eax
lea eax, [ebp - 0x44]
push 0x64
push eax
call fcn.00410954
push str.0100666
lea eax, [ebp + 0x20]
push 8
push eax
call fcn.00410954
mov edi, str.0000000
push edi
lea eax, [ebp + 0x28]
push 8
push eax
call fcn.00410954
push edi
lea eax, [ebp + 0x30]
push 8
push eax
call fcn.00410954
push str.ustar
lea eax, [ebp + 0xbd]
push 6
push eax
call fcn.00410954
push dword [ebp - 0x6c]
mov edi, str._011o
lea eax, [ebp + 0x38]
push edi
push eax
call fcn.00408de1
add esp, 0x48
push dword [ebp - 0x64]
lea eax, [ebp + 0x44]
push edi
push eax
call fcn.00408de1
mov byte [ebp + 0x58], 0x30
mov byte [ebp + 0xc3], 0x30
mov byte [ebp + 0xc4], 0x30
mov eax, 0x20202020
lea edi, [ebp + 0x50]
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
xor ecx, ecx
lea eax, [ebp - 0x44]
mov edx, esi
movzx edi, byte [eax]
add ecx, edi
inc eax
dec edx
jne 0x4090de
push ecx
lea eax, [ebp + 0x50]
push str._06o
push eax
call fcn.00408df9
push esi
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x48]
call fcn.0040a023
push 0x1ff
lea eax, [ebp + 0x9bd]
push ebx
push eax
mov byte [ebp + 0x9bc], bl
call fcn.0040ede0
add esp, 0x24
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x4c], ebx
call fcn.00408d75
mov eax, dword [eax]
push 0x4250ac
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.0040fc4f
add esp, 0xc
test eax, eax
jne 0x409194
push dword [ebp - 0x4c]
call fcn.00410e2f
pop ecx
jmp 0x409187
push esi
lea eax, [ebp + 0x9bc]
push ebx
push eax
call fcn.0040ede0
push dword [ebp - 0x4c]
lea eax, [ebp + 0x9bc]
push esi
push 1
push eax
call fcn.0040fa80
push esi
lea eax, [ebp + 0x9bc]
push eax
push dword [ebp - 0x48]
call fcn.0040a023
push dword [ebp - 0x4c]
call fcn.00410e2f
add esp, 0x2c
test eax, eax
je 0x40914c
push dword [ebp - 0x4c]
call fcn.0040fb0d
pop ecx
mov edi, dword [ebp + 0xddc]
lea ecx, [ebp - 0x54]
call fcn.00408d96
push edi
push dword [edi + 8]
lea ecx, [ebp - 0x5c]
call fcn.0040569b
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x54]
call fcn.00408dba
test al, al
je 0x408ef9
push 0x1ff
lea eax, [ebp + 0x5bd]
push ebx
push eax
mov byte [ebp + 0x5bc], bl
call fcn.0040ede0
push esi
lea eax, [ebp + 0x5bc]
push eax
push dword [ebp - 0x48]
call fcn.0040a023
push esi
lea eax, [ebp + 0x5bc]
push eax
push dword [ebp - 0x48]
call fcn.0040a023
push dword [ebp - 0x48]
call fcn.0040a179
xor ebx, ebx
add esp, 0x28
inc ebx
jmp 0x408eaa