Function at 0x438ba0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48e8bd
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x4af280]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x3c], edi
cmp dword [eax + 0x14], 7
jbe 0x438bdb
mov eax, dword [eax]
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x3c], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x438f4e
cmp esi, 0xffffffff
je 0x438f4e
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 4
push 0x1000
push eax
push 0
mov dword [ebp - 0x30], eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x438c5f
push 0x28
mov dword [edi], eax
mov dword [edi + 4], eax
call fcn.0046421b
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [edi], eax
mov dword [ebp - 4], 2
jmp 0x438f85
push 0
lea ecx, [ebp - 0x58]
push ecx
push dword [ebp - 0x30]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], ecx
mov ecx, 0x5a4d
mov byte [ebp - 4], 3
cmp word [eax], cx
je 0x438cce
push 0x28
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.0046421b
add esp, 4
mov dword [eax], eax
push 0x4000
push dword [ebp - 0x30]
mov dword [eax + 4], eax
push dword [ebp - 0x2c]
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [edi], eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov dword [ebp - 4], 4
jmp 0x438f85
mov ecx, dword [eax + 0x3c]
mov edx, 0x10b
add ecx, eax
mov dword [ebp - 0x40], ecx
movzx eax, word [ecx + 0x18]
cmp ax, dx
je 0x438d08
mov ecx, edi
call fcn.00435c30
push 0x4000
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov dword [ebp - 4], 6
jmp 0x438f85
movzx eax, word [ecx + 0x14]
add eax, 0x18
add eax, ecx
cmp dword [ecx + 0x84], 0
mov dword [ebp - 0x44], eax
jne 0x438d41
mov ecx, edi
call fcn.00435c30
push 0x4000
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov dword [ebp - 4], 7
jmp 0x438f85
lea ecx, [ebp - 0x38]
call fcn.00435c30
mov eax, dword [ebp - 0x40]
push eax
push dword [ebp - 0x44]
mov byte [ebp - 4], 8
push dword [eax + 0x80]
call fcn.004373a0
add eax, 0xc
add esp, 0xc
add eax, dword [ebp - 0x2c]
mov dword [ebp - 0x48], eax
mov eax, dword [eax]
test eax, eax
je 0x438ec7
push dword [ebp - 0x40]
push dword [ebp - 0x44]
push eax
call fcn.004373a0
add esp, 0xc
cmp eax, 0xffffffff
je 0x438f22
mov edx, dword [ebp - 0x2c]
xorps xmm0, xmm0
add edx, eax
mov dword [ebp - 0x18], 0
mov ecx, edx
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x438db0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00401a40
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x38]
call fcn.0041a3f0
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x6c], xmm0
cmp byte [eax + 0xd], 0
jne 0x438e02
add eax, 0x10
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00401880
add esp, 8
test al, al
jne 0x438e02
mov eax, dword [ebp - 0x14]
jmp 0x438e7a
cmp dword [ebp - 0x34], 0x6666666
je 0x438fae
mov esi, dword [ebp - 0x38]
lea eax, [ebp - 0x38]
mov dword [ebp - 0x50], eax
push 0x28
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x4c], 0
call fcn.0046421b
movups xmm0, xmmword [ebp - 0x28]
add esp, 4
mov byte [ebp - 0x28], 0
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x4c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
movups xmmword [eax + 0x10], xmm0
push eax
movq xmm0, qword [ebp - 0x18]
push dword [ebp - 0x68]
movq qword [eax + 0x20], xmm0
push dword [ebp - 0x6c]
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov word [eax + 0xc], 0
call fcn.0040b8c0
mov eax, 0xf
mov byte [ebp - 4], 8
cmp eax, 0xf
jbe 0x438eb1
mov edx, dword [ebp - 0x28]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x438ea7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x438fa9
push ecx
push edx
call fcn.0046424b
add esp, 8
mov eax, dword [ebp - 0x48]
add eax, 0x14
mov dword [ebp - 0x48], eax
mov eax, dword [eax]
test eax, eax
jne 0x438d75
mov esi, dword [ebp - 0x3c]
push 0x28
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.0046421b
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov ecx, dword [ebp - 0x38]
mov dword [edi], ecx
mov ecx, dword [edi + 4]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 0x38]
mov dword [edi + 4], eax
call fcn.00422b90
push 0x4000
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov dword [ebp - 4], 0xc
jmp 0x438f85
mov ecx, edi
call fcn.00435c30
lea ecx, [ebp - 0x38]
call fcn.00422b90
push 0x4000
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
push dword [ebp - 0x3c]
mov dword [ebp - 4], 9
jmp 0x438f86
push 0x28
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.0046421b
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [edi], eax
mov dword [ebp - 4], 1
test esi, esi
je 0x438f8c
cmp esi, 0xffffffff
je 0x438f8c
push esi
call dword [0x4942c8]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00464259
mov esp, ebp
pop ebp
ret
call fcn.00469cdf
call fcn.0040be30
int3