Function at 0x6732b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
push esi
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push edi
mov esi, eax
ja 0x673308
mov edi, dword [ebp + 8]
cmp edi, 0xffffffff
ja 0x673308
push ebx
call fcn.0069c8fa
add esp, 4
cmp edi, 0xf4240
jbe 0x6732e9
call fcn.004c90f0
shr eax, 1
cmp eax, edi
jb 0x6732ff
push 0x734220
push edi
call fcn.0069c1fd
add esp, 8
cmp eax, ebx
mov dword [esp + 0x10], eax
jne 0x673313
push ebx
call fcn.0069c8fa
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [esi + 4]
push ebx
lea ecx, [esp + 0x18]
push ecx
push edi
push eax
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [esp + 0x14], edi
jne 0x6733fa
mov eax, dword [esi + 0xaf]
xor edx, edx
cmp eax, ebx
je 0x673349
jmp 0x673340
mov eax, dword [eax]
add edx, 1
cmp eax, ebx
jne 0x673340
mov eax, dword [esi + 0xb3]
xor ecx, ecx
cmp eax, ebx
je 0x67335e
mov eax, dword [eax]
add ecx, 1
cmp eax, ebx
jne 0x673355
lea esi, [ecx + edx]
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call fcn.00688e70
mov edx, dword [esp + 0x10]
mov dword [esp + 0x14], ebx
lea ebx, [edi + edx]
mov edi, edx
cmp edi, ebx
jae 0x673459
mov esi, ebx
sub esi, edi
cmp esi, 8
jb 0x673494
mov eax, dword [edi]
bswap eax
mov dword [edi], eax
mov ecx, dword [edi + 4]
bswap ecx
mov eax, ecx
cmp eax, 0x6d666864
mov dword [edi + 4], ecx
je 0x673412
cmp eax, 0x74726166
jne 0x673424
mov edx, dword [esp + 0x20]
or edx, dword [esp + 0x24]
je 0x6734cf
push 0
push esi
push edi
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x30]
call fcn.00673a80
test al, al
jne 0x673424
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x6733fa
mov eax, dword [ecx - 4]
lea esi, [ecx - 4]
push 0x68cf00
push 0x2c
call fcn.00407720
push esi
call fcn.0069c8fa
add esp, 4
mov eax, dword [esp + 0x10]
push eax
call fcn.0069c8fa
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0
push esi
lea edx, [esp + 0x28]
mov ecx, edi
call fcn.00673a00
test al, al
je 0x673494
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
mov edx, edi
call fcn.00673e90
test al, al
je 0x673459
xor eax, eax
cmp eax, dword [esp + 0x1c]
jb 0x673459
mov eax, dword [esp + 0x18]
ja 0x67344f
cmp esi, eax
jb 0x673459
add edi, eax
cmp edi, ebx
jb 0x673388
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x67347c
mov eax, dword [ecx - 4]
lea esi, [ecx - 4]
push 0x68cf00
push 0x2c
call fcn.00407720
push esi
call fcn.0069c8fa
add esp, 4
mov edx, dword [esp + 0x10]
push edx
call fcn.0069c8fa
add esp, 4
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x6734b7
mov eax, dword [ecx - 4]
lea esi, [ecx - 4]
push 0x68cf00
push 0x2c
call fcn.00407720
push esi
call fcn.0069c8fa
add esp, 4
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0069c8fa
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x6734f2
mov eax, dword [ecx - 4]
lea esi, [ecx - 4]
push 0x68cf00
push 0x2c
call fcn.00407720
push esi
call fcn.0069c8fa
add esp, 4
mov edx, dword [esp + 0x10]
push edx
call fcn.0069c8fa
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8