Function at 0x42f700
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x294
mov eax, dword [0x47c5a8]
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.00440de0
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 0x42f740
lea ecx, [ebp - 0x134]
push ecx
call fcn.00436550
add esp, 4
test eax, eax
jne 0x42f76e
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043fe0a
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.0043b820
add esp, 0xc
test eax, eax
je 0x42f75d
cmp dword [ebp - 0x290], ebx
jne 0x42f75d
cmp dword [ebp - 0x28c], 0x100
jne 0x42f75d
push esi
push 0xef
lea edx, [ebp - 0x287]
push ebx
push edx
mov byte [ebp - 0x288], bl
call fcn.00440de0
lea eax, [ebp - 0x134]
push 0x472dc4
push eax
call fcn.00441bda
mov esi, eax
add esp, 0x14
cmp esi, ebx
je 0x42f9f4
push esi
push 0xf0
lea ecx, [ebp - 0x288]
push 1
push ecx
call fcn.00441802
xor eax, eax
push ebx
push 0xf0
push esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
call fcn.00441aa2
push esi
push 0x10
lea edx, [ebp - 0x1c]
push 1
push edx
call fcn.00441802
push esi
call fcn.00441527
push 0x105
lea eax, [ebp - 0x134]
push ebx
push eax
call fcn.00440de0
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 0x42f848
lea ecx, [ebp - 0x28c]
push ecx
lea edx, [ebp - 0x290]
push edx
lea eax, [ebp - 0x134]
push eax
call fcn.0043b820
add esp, 0xc
test eax, eax
je 0x42f9f4
cmp dword [ebp - 0x290], ebx
jne 0x42f9f4
cmp dword [ebp - 0x28c], 0x31eac
ja 0x42f9f4
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.00435f70
add esp, 0x10
test eax, eax
je 0x42f9f4
lea ecx, [ebp - 0x134]
push 0x472dc4
push ecx
call fcn.00441bda
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x42f9f4
mov edx, dword [ebp - 0x28c]
push edi
push esi
push edx
push 1
push 0x4e1eb8
call fcn.00441802
push esi
call fcn.00441527
mov edi, dword [ebp - 0x28c]
lea edi, [edi + 0x4e1eb8]
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 + 0x4e1fa8]
push eax
call fcn.004401a0
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 0x4e1eb8
push ecx
call fcn.00428400
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 0x42f9a9
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x42f980
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043fe0a
mov esp, ebp
pop ebp
ret
movzx eax, byte [edx]
movzx esi, byte [ecx]
sub eax, esi
jne 0x42f9d5
movzx eax, byte [edx + 1]
movzx esi, byte [ecx + 1]
sub eax, esi
jne 0x42f9d5
movzx eax, byte [edx + 2]
movzx esi, byte [ecx + 2]
sub eax, esi
jne 0x42f9d5
movzx eax, byte [edx + 3]
movzx edx, byte [ecx + 3]
sub eax, edx
sar eax, 0x1f
or eax, 1
cmp eax, ebx
jne 0x42f9f4
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043fe0a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0043fe0a
mov esp, ebp
pop ebp
ret