Function at 0x67327720
Capabilities:
Read file on windows

Disassembly:
add al, 0x24
mov dword [esp + 4], 0
mov dword [esp + 8], esi
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
sub esp, 0xc
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0xc]
mov ecx, dword [ebp - 0xc]
call fcn.6732720c
mov dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x50]
lea esi, [ebp - 0x68]
xor edi, edi
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
sub esp, 0x14
cmp eax, 0
jne 0x67327794
xor eax, eax
mov dword [esp], 0
call dword [ebp - 0x28]
sub esp, 4
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x68]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x18]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x14]
add eax, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x14]
add eax, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x88]
jae 0x6732780a
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x14]
add eax, dword [ecx]
mov dword [ecx], eax
mov eax, dword [ebp - 0x48]
add eax, 1
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x14]
add eax, 4
mov dword [ebp - 0x14], eax
jmp 0x673277de
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x34]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
add edx, 1
mov ecx, dword [ebp - 0x58]
call fcn.6732746c
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jne 0x6732783c
xor eax, eax
mov dword [esp], 0
call dword [ebp - 0x28]
sub esp, 4
mov eax, dword [ebp - 0xc]
movsx eax, byte [eax]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
add edx, 1
mov ecx, dword [ebp - 0x58]
call fcn.6732746c
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x6732786e
xor eax, eax
mov dword [esp], 0
call dword [ebp - 0x28]
sub esp, 4
mov eax, dword [ebp - 0xc]
movsx eax, byte [eax]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [esp], ecx
call eax
sub esp, 4
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x673278a3
xor eax, eax
mov dword [esp], 0
call dword [ebp - 0x28]
sub esp, 4
mov eax, dword [ebp - 0xc]
movsx eax, byte [eax]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x28]
add eax, ecx
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x60]
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x34]
add eax, dword [ecx + 0x3c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x78]
add eax, dword [ecx + 0x2c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 8]
mov edx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x2c]
lea edi, [ebp - 0x40]
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edi
call eax
sub esp, 0x10
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x2c]
mov dword [esp], eax
call fcn.6732724c
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x2c]
lea edi, [ebp - 0x40]
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edi
call eax
sub esp, 0x10
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x80]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x54]
mov ecx, dword [ebp - 0x20]
movsx eax, byte [eax + ecx]
cmp eax, 0
je 0x6732799b
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x54]
mov ecx, dword [ebp - 0x20]
movsx eax, byte [eax + ecx]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x20]
mov word [ecx + edx*2], ax
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
jmp 0x67327967
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x20]
mov word [eax + ecx*2], 0
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x98], eax
mov byte [ebp - 0x90], 1
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x98]
mov dword [esp], eax
call dword [ebp - 0x70]
add esp, 0xac
pop esi
pop edi
pop ebp
ret