Function at 0x429a90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x294
mov eax, dword [0x4735a8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push 0x104
lea eax, [ebp - 0x133]
push ebx
push eax
mov byte [ebp - 0x134], bl
call fcn.0043a6a0
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x134]
add esp, 0xc
sub edx, eax
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x429ad0
lea ecx, [ebp - 0x134]
push ecx
call fcn.00430130
add esp, 4
test eax, eax
jne 0x429afe
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004396d4
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x28c]
push edx
lea eax, [ebp - 0x290]
push eax
lea ecx, [ebp - 0x134]
push ecx
mov dword [ebp - 0x290], ebx
mov dword [ebp - 0x28c], ebx
call fcn.004350f0
add esp, 0xc
test eax, eax
je 0x429aed
cmp dword [ebp - 0x290], ebx
jne 0x429aed
cmp dword [ebp - 0x28c], 0x100
jne 0x429aed
push esi
push 0xef
lea edx, [ebp - 0x287]
push ebx
push edx
mov byte [ebp - 0x288], bl
call fcn.0043a6a0
lea eax, [ebp - 0x134]
push 0x46b394
push eax
call fcn.0043b49a
mov esi, eax
add esp, 0x14
cmp esi, ebx
je 0x429d84
push esi
push pe_nt_image_headers32
lea ecx, [ebp - 0x288]
push 1
push ecx
call fcn.0043b0c2
xor eax, eax
push ebx
push pe_nt_image_headers32
push esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
call fcn.0043b362
push esi
push 0x10
lea edx, [ebp - 0x1c]
push 1
push edx
call fcn.0043b0c2
push esi
call fcn.0043ade7
push 0x105
lea eax, [ebp - 0x134]
push ebx
push eax
call fcn.0043a6a0
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x134]
add esp, 0x3c
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x429bd8
lea ecx, [ebp - 0x28c]
push ecx
lea edx, [ebp - 0x290]
push edx
lea eax, [ebp - 0x134]
push eax
call fcn.004350f0
add esp, 0xc
test eax, eax
je 0x429d84
cmp dword [ebp - 0x290], ebx
jne 0x429d84
cmp dword [ebp - 0x28c], 0x9eac
ja 0x429d84
lea ecx, [ebp - 0x294]
push ecx
lea edx, [ebp - 0x198]
push edx
lea eax, [ebp - 0xc]
push 6
push eax
mov dword [ebp - 0xc], ebx
mov word [ebp - 8], bx
mov dword [ebp - 0x294], 0x64
call fcn.0042fb50
add esp, 0x10
test eax, eax
je 0x429d84
lea ecx, [ebp - 0x134]
push 0x46b394
push ecx
call fcn.0043b49a
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x429d84
mov edx, dword [ebp - 0x28c]
push edi
push esi
push edx
push 1
push 0x488eb8
call fcn.0043b0c2
push esi
call fcn.0043ade7
mov edi, dword [ebp - 0x28c]
lea edi, [edi + 0x488eb8]
mov ecx, 0x3c
lea esi, [ebp - 0x288]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x294]
mov edx, dword [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x198]
push ecx
lea eax, [edx + 0x488fa8]
push eax
call fcn.00439a60
mov ecx, dword [ebp - 0x294]
mov edx, dword [ebp - 0x28c]
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
lea eax, [ecx + edx + 0xf0]
push eax
lea ecx, [ebp - 0x2c]
push 0x488eb8
push ecx
call fcn.00422930
add esp, 0x2c
mov eax, 0x10
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x2c]
pop edi
lea esp, [esp]
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x429d39
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x429d10
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004396d4
mov esp, ebp
pop ebp
ret
movzx eax, byte [edx]
movzx esi, byte [ecx]
sub eax, esi
jne 0x429d65
movzx eax, byte [edx + 1]
movzx esi, byte [ecx + 1]
sub eax, esi
jne 0x429d65
movzx eax, byte [edx + 2]
movzx esi, byte [ecx + 2]
sub eax, esi
jne 0x429d65
movzx eax, byte [edx + 3]
movzx edx, byte [ecx + 3]
sub eax, edx
sar eax, 0x1f
or eax, 1
cmp eax, ebx
jne 0x429d84
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004396d4
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.004396d4
mov esp, ebp
pop ebp
ret