Function at 0x426c70
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x778
push ebx
push ebp
push esi
push edi
push 0
call fcn.0041aad0
mov ebx, dword [esp + 0x790]
mov ebp, dword [sym.imp.KERNEL32.dll_SetFilePointer]
add esp, 4
push 0
push 0
push 0
push ebx
call ebp
mov ecx, 0xf7
xor eax, eax
lea edi, [esp + 0x3a9]
mov byte [esp + 0x3a8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x3a8]
push 0x3e0
push eax
push ebx
call fcn.0041f580
add esp, 0xc
test eax, eax
jne 0x426ceb
push 0x3ec5
push 0xf
call fcn.0041aab0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x778
ret
lea ecx, [esp + 0x3a8]
push ecx
call fcn.0041f680
add esp, 4
test eax, eax
jne 0x426d1b
push 0x3ecd
push 0x22
call fcn.0041aab0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x778
ret
cmp eax, 3
je 0x426d3c
push 0x3ed4
push 0x1f
call fcn.0041aab0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x778
ret
mov ecx, 0xe1
xor eax, eax
lea edi, [esp + 0x21]
mov byte [esp + 0x20], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edx, [esp + 0x20]
lea eax, [esp + 0x3a8]
push edx
push eax
call fcn.0041eee0
add esp, 8
test eax, eax
jne 0x426d86
push 0x3edd
push 0x14
call fcn.0041aab0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x778
ret
mov edi, dword [esp + 0x790]
test edi, edi
je 0x426dc5
mov ecx, 0x388
lea esi, [esp + 0x20]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x426da5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x426dc5
push 0x3ee6
push 0x14
call fcn.0041aab0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x778
ret
mov ecx, dword [esp + 0x58]
push 0
push 0
push ecx
push ebx
call ebp
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x10], 1
test eax, eax
mov dword [esp + 0x14], 0
jne 0x426df9
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x778
ret
mov ebx, dword [esp + 0x60]
cmp eax, 1
jne 0x426e06
mov ebx, dword [esp + 0x64]
push ebx
call fcn.004d2462
mov esi, eax
add esp, 4
test esi, esi
jne 0x426e31
push 0x3f00
push 0x21
call fcn.0041aab0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x778
ret
xor eax, eax
jmp 0x426e39
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x60]
inc eax
cmp eax, ecx
mov dword [esp + 0x18], eax
jne 0x426e56
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x14], 1
mov ecx, ebx
xor eax, eax
mov edx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x78c]
xor edi, edi
lea eax, [esp + 0x1c]
push edi
push eax
push ebp
push esi
push ecx
mov dword [esp + 0x30], edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x426ea9
mov edx, dword [esi]
add ebp, 0xfffffffc
push edx
lea eax, [esi + 4]
push ebp
push eax
call fcn.00429370
add esp, 0xc
test eax, eax
je 0x426eb2
cmp dword [esp + 0x14], edi
je 0x426e35
jmp 0x426ec5
push 0x3f17
push 0xd
jmp 0x426eb9
push 0x3f1f
push 0x1c
call fcn.0041aab0
add esp, 8
mov dword [esp + 0x10], edi
push esi
call fcn.004d248b
mov eax, dword [esp + 0x14]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x778
ret