Function at 0x421422
Capabilities:
Read file on windows

Disassembly:
push 0x438
mov eax, 0x4c93a3
call fcn.004019a4
mov dword [ebp - 0x42c], ecx
mov eax, dword [ebp + 8]
xor ebx, ebx
mov esi, dword [ebp + 0xc]
push 0x63
mov dword [ebp - 0x414], eax
lea eax, [ebp - 0x40f]
push ebx
push eax
mov byte [ebp - 0x410], bl
call sub.msvcrt.dll_memset
mov edi, 0x19c
lea eax, [ebp - 0x3ac]
push edi
push ebx
push eax
call sub.msvcrt.dll_memset
push 0x63
lea eax, [ebp - 0x20f]
mov byte [ebp - 0x210], bl
push ebx
push eax
call sub.msvcrt.dll_memset
push edi
lea eax, [ebp - 0x1ac]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0x30
mov dword [ebp - fcn.004bac83], vtable.micro::files::QFile.0
mov dword [ebp - 0x43c], ebx
push ebx
push esi
lea ecx, [ebp - 0x440]
mov dword [ebp - 4], ebx
call fcn.004bac83
test al, al
je 0x42169b
lea ecx, [ebp - 0x440]
call fcn.004bae28
push dword [ebp - 0x414]
mov edi, eax
mov dword [ebp - 0x41c], edx
lea ecx, [ebp - 0x434]
mov dword [ebp - 0x420], edi
mov dword [ebp - 0x434], ebx
call fcn.0041ea35
mov esi, dword [ebp - 0x430]
mov eax, 0x4dbde7
push 0x80
test esi, esi
push edi
cmovne eax, esi
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.00421750
test esi, esi
je 0x42151a
push esi
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
pop ecx
mov esi, dword [ebp - 0x42c]
lea ecx, [ebp - 0x428]
push ecx
mov edi, 0x200
mov dword [ebp - 0x428], ebx
push edi
lea eax, [esi + 0x14]
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x430], eax
push ecx
mov ecx, eax
call fcn.004bae8a
test al, al
je 0x42169b
mov edx, dword [ebp - 0x41c]
mov ecx, edx
mov eax, dword [ebp - 0x420]
mov dword [ebp - 0x418], ebx
mov dword [ebp - 0x444], ebx
mov dword [ebp - 0x414], ecx
cmp edx, ebx
ja 0x42157e
cmp eax, ebx
jbe 0x421666
lea edx, [esi + 0x68]
mov edi, eax
cmp ecx, ebx
jb 0x421598
ja 0x421591
cmp edi, 0xfa00
jbe 0x421598
mov eax, 0xfa00
jmp 0x42159a
mov eax, edi
push ebx
lea ecx, [ebp - 0x418]
mov dword [ebp - 0x418], ebx
push ecx
push eax
push edx
push dword [ebp - 0x43c]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
lea eax, [ebp - 0x444]
push eax
push dword [ebp - 0x418]
lea eax, [esi + 0x68]
push eax
lea ecx, [esi + 0x14]
call fcn.004bae8a
sub edi, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
mov eax, dword [esi + 0x64]
sbb ecx, ebx
mov dword [ebp - 0x414], ecx
mov dword [ebp - 0x424], eax
test eax, eax
je 0x42163d
mov esi, dword [eax]
push dword [ebp - 0x41c]
mov eax, dword [ebp - 0x420]
mov edx, eax
push eax
mov eax, dword [ebp - 0x41c]
sub edx, edi
sbb eax, ecx
mov ecx, dword [ebp - 0x424]
push eax
push edx
call dword [esi + 0x14]
mov esi, dword [ebp - 0x42c]
push ebx
push dword [ebp - 0x418]
mov ecx, dword [esi + 0x64]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [esi + 0x64]
mov eax, dword [ecx]
call dword [eax + 0x24]
test al, al
jne 0x421655
mov ecx, dword [ebp - 0x414]
lea edx, [esi + 0x68]
cmp ecx, ebx
ja 0x421591
jb 0x421655
lea edx, [esi + 0x68]
cmp edi, ebx
ja 0x421583
mov eax, dword [ebp - 0x420]
mov edi, 0x200
mov edx, dword [ebp - 0x41c]
push ebx
push edi
push edx
push eax
call fcn.00401b40
mov esi, eax
or eax, edx
je 0x421699
mov ecx, dword [ebp - 0x430]
lea eax, [ebp - 0x428]
push eax
sub edi, esi
lea eax, [ebp - 0x410]
push edi
push eax
call fcn.004bae8a
cmp dword [ebp - 0x428], edi
jne 0x42169b
mov bl, 1
lea ecx, [ebp - 0x440]
mov dword [ebp - fcn.004bac83], vtable.micro::files::QFile.0
call fcn.004baeaf
mov al, bl
call fcn.00401a27
ret 0xc