Function at 0x417120
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x435c95
mov eax, dword fs:[0]
push eax
sub esp, 0x1dc
mov eax, dword [0x443284]
xor eax, esp
mov dword [esp + 0x1d8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x443284]
xor eax, esp
push eax
lea eax, [esp + 0x1f0]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x200]
mov eax, dword [esp + 0x220]
xor ebx, ebx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x30], ebx
mov edi, 1
mov dword [esp + 0x1f8], edi
push ebx
mov esi, 0xf
mov dword [ebp + 0x18], esi
mov dword [ebp + 0x14], ebx
push 0x43a36a
mov ecx, ebp
mov byte [ebp + 4], bl
call fcn.00401b50
mov eax, dword [esp + 0x208]
mov dword [esp + 0x30], edi
mov edi, 0x10
cmp dword [esp + 0x21c], edi
jae 0x4171c6
lea eax, [esp + 0x208]
push 6
push eax
call fcn.004205fb
add esp, 8
test eax, eax
jne 0x4174ab
push 0x3f
mov dword [esp + 0x89], eax
mov dword [esp + 0x8d], eax
mov dword [esp + 0x91], eax
mov dword [esp + 0x95], eax
mov dword [esp + 0x99], eax
mov dword [esp + 0x9d], eax
mov dword [esp + 0xa1], eax
mov word [esp + 0xa5], ax
mov byte [esp + 0xa7], al
lea eax, [esp + 0xa9]
push ebx
push eax
mov byte [esp + 0x90], bl
mov byte [esp + 0xb0], bl
call fcn.00424a50
add esp, 0xc
push pe_nt_image_headers32
lea ecx, [esp + 0xe9]
push ebx
push ecx
mov byte [esp + 0xf0], bl
call fcn.00424a50
add esp, 0xc
lea edx, [esp + 0x54]
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x22c]
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00401960
lea esi, [esp + 0x58]
call fcn.004120d0
mov esi, 8
add esp, 0x1c
cmp dword [eax + 0x18], esi
jb 0x417299
mov eax, dword [eax + 4]
jmp 0x41729c
add eax, 4
push eax
call fcn.004201a2
add esp, 8
test eax, eax
sete byte [esp + 0x1b]
cmp dword [esp + 0x50], esi
jb 0x4172bf
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.0041f829
add esp, 4
cmp byte [esp + 0x1b], bl
je 0x4174ab
mov eax, dword [esp + 0x68]
cmp eax, ebx
jle 0x4174ab
cmp eax, 0x100
jle 0x4174ab
cmp dword [esp + 0x21c], edi
mov eax, dword [esp + 0x208]
jae 0x4172f7
lea eax, [esp + 0x208]
push 0x43bf74
push eax
lea edx, [esp + 0x24]
push edx
call fcn.00421ec3
add esp, 0xc
test eax, eax
jne 0x4174ab
mov eax, dword [esp + 0x68]
add eax, 1
push eax
call fcn.0041ee32
mov ecx, dword [esp + 0x6c]
add esp, 4
add ecx, 1
push ecx
mov esi, eax
push ebx
push esi
mov dword [esp + 0x2c], esi
call fcn.00424a50
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x28]
add esp, 0xc
push edx
lea edi, [eax - 0x100]
add eax, 0xffffff00
push eax
push 1
push esi
call fcn.004208ab
add esp, 0x10
cmp eax, edi
jne 0x417490
push edi
push esi
lea edi, [esp + 0x8c]
call fcn.00413850
add esp, 8
xor edi, edi
xor esi, esi
jmp 0x417380
movzx eax, byte [esp + edi + 0x84]
push eax
mov ecx, 0x40
push str._02x
sub ecx, esi
push ecx
lea edx, [esp + esi + 0xb0]
push edx
call fcn.0041f9fa
add esi, 2
add esp, 0x10
add edi, 1
cmp esi, 0x20
jl 0x417380
mov eax, dword [esp + 0x1c]
push eax
push pe_nt_image_headers32
lea ecx, [esp + 0xec]
push 1
push ecx
call fcn.004208ab
add esp, 0x10
cmp eax, 0x100
jne 0x41748c
mov esi, dword [esp + 0x28]
lea edx, [esp + 0xe4]
push edx
mov ecx, esi
call fcn.0040f930
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x44], esp
push esi
call fcn.0040f900
call fcn.004190c0
add esp, 0x1c
cmp al, bl
je 0x417480
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0xa4]
push eax
mov ecx, edi
call fcn.0040f930
push edi
push esi
lea edi, [esp + 0x40]
call fcn.004116d0
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
mov ecx, ebp
mov byte [esp + 0x204], 2
call fcn.00401960
mov ecx, edi
mov byte [esp + 0x1f8], 1
call fcn.00401850
cmp dword [esp + 0x224], ebx
je 0x41748c
mov esi, dword [esp + 0x24]
lea ecx, [esp + 0x164]
push ecx
mov ecx, esi
call fcn.0040f930
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push esi
call fcn.0040f900
call fcn.004190c0
add esp, 0x1c
cmp al, bl
jne 0x41748c
push 0x43a36a
mov ecx, esi
call fcn.0040f930
mov esi, dword [esp + 0x20]
push esi
call fcn.004200a0
mov edx, dword [esp + 0x20]
add esp, 4
push edx
call fcn.00420024
add esp, 4
mov edi, 0x10
cmp dword [esp + 0x21c], edi
jb 0x4174c4
mov eax, dword [esp + 0x208]
push eax
call fcn.0041f829
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x1f0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1d8]
xor ecx, esp
call fcn.0041f134
add esp, 0x1e8
ret