Function at 0x100071c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x1001c00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [0x1011c18c]
xor bl, bl
push edi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x40], ecx
cmp esi, dword [0x1011c190]
je 0x100073b4
mov ecx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea edi, [esi + 8]
mov dword [ebp - 0x2c], edi
nop
cmp byte [esi], 0
jne 0x10007382
cmp byte [0x10126040], 0
jne 0x10007305
test bl, bl
jne 0x1000723a
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x30]
push ecx
push eax
call fcn.100073d0
test al, al
je 0x100073b4
mov bl, 1
mov edx, dword [ebp - 0x3c]
mov edi, dword [edi - 4]
mov eax, edi
mov ecx, dword [edx + 0x34]
sub eax, ecx
push eax
push ecx
push edx
call dword [sym.imp.dbghelp.dll_ImageRvaToSection]
test eax, eax
je 0x10007376
mov ecx, dword [eax + 0x14]
sub ecx, dword [eax + 0xc]
mov eax, dword [ebp - 0x3c]
push 0
push 0
sub ecx, dword [eax + 0x34]
add ecx, edi
mov edi, dword [ebp - 0x30]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x10007376
push 0
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0
push eax
push 0x20
lea eax, [ebp - 0x24]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10007376
mov ecx, dword [ebp - 0x2c]
lea edx, [ebp - 0x24]
mov edi, 0x1c
nop dword [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10007376
add ecx, 4
add edx, 4
sub edi, 4
jae 0x100072b0
movups xmm0, xmmword [esi + 0x28]
mov eax, dword [ebp - 0x40]
push dword [ebp - 0x34]
movups xmmword [eax], xmm0
movups xmm0, xmmword [esi + 0x38]
movups xmmword [eax + 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0x38]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x30]
call esi
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10011584
mov esp, ebp
pop ebp
ret 8
test bl, bl
jne 0x10007330
push str.GetProcInfo
push dword [0x10126044]
call ecx
push dword [ebp - 0x28]
call eax
call eax
add esp, 4
test al, al
je 0x100073b4
mov ecx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov bl, 1
push str.FindEntryPointInfo
push dword [0x10126044]
call ecx
lea ecx, [ebp - 0x24]
push ecx
push dword [edi - 4]
push dword [ebp - 0x28]
call eax
call eax
add esp, 0xc
test al, al
je 0x10007379
mov ecx, edi
lea edx, [ebp - 0x24]
mov edi, 0x1c
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10007376
add ecx, 4
add edx, 4
sub edi, 4
jae 0x10007360
jmp 0x100072c5
mov edi, dword [ebp - 0x2c]
mov ecx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov eax, dword [ebp - 0x28]
add esi, 0x48
add edi, 0x48
mov dword [ebp - 0x2c], edi
cmp esi, dword [0x1011c190]
jne 0x10007200
test bl, bl
je 0x100073b4
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0x38]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x30]
call esi
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10011584
mov esp, ebp
pop ebp
ret 8