Function at 0x10562c0
Capabilities:
Get file size
Read file via mapping

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x1090004]
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
cmp ebx, esi
push edi
mov dword [ebp - 4], eax
mov edi, ecx
mov dword [ebp - 0x9c], ebx
jne 0x10562f1
mov eax, 0x8876086c
jmp 0x10563f1
cmp dword [ebp + 0xc], esi
je 0x105638b
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 2
je 0x105636d
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push esi
push esi
call ebx
mov dword [ebp - 0xa4], eax
add eax, 3
and eax, 0xfffffffc
call fcn.0100dcb0
mov dword [ebp - 0xa0], esp
push esi
push esi
push dword [ebp - 0xa4]
push dword [ebp - 0xa0]
push 0xffffffffffffffff
push dword [ebp - 0x9c]
push esi
push esi
call ebx
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x9c], eax
mov dword [ebp + 0xc], esi
mov ebx, eax
cmp dword [ebp + 0xc], esi
je 0x105638b
push esi
push 0x10000000
push 3
push esi
push 1
push 0x80000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
jmp 0x10563a2
push esi
push 0x10000000
push 3
push esi
push 1
push 0x80000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [edi], eax
je 0x10563e2
push esi
push esi
push esi
push 2
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, 0xffffffff
mov dword [edi + 4], eax
je 0x10563e2
push esi
push esi
push esi
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, esi
mov dword [edi + 8], eax
je 0x10563e2
push esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [edi + 0xc], eax
jne 0x10563ef
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, 0x88760b59
jmp 0x10563f1
xor eax, eax
lea esp, [ebp - 0xb0]
mov ecx, dword [ebp - 4]
call fcn.0100d888
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x1056abb
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [eax + 4], 0
fldz
fstp qword [ebp - 0x18]
je 0x1056b6e
call fcn.01056559
mov ecx, dword [eax + 0x10]
cmp ecx, 3
jb 0x1056b6e
mov edx, dword [eax + 0xc]
fld dword [edx]
lea eax, [edx + ecx*8 - 0x10]
dec ecx
fsub dword [eax]
fstp dword [ebp - 0x10]
fld dword [edx + 4]
fsub dword [eax + 4]
fstp dword [ebp - 0xc]
je 0x1056b3a
push esi
mov esi, ecx
mov eax, edx
add edx, 8
fld dword [edx]
fsub dword [eax]
fstp dword [ebp - 8]
fld dword [edx + 4]
fsub dword [eax + 4]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
fstp dword [ebp - 4]
call fcn.010565e6
fadd qword [ebp - 0x18]
dec esi
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
fstp qword [ebp - 0x18]
mov eax, dword [ebp - 4]
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
jne 0x1056b00
pop esi
fld qword [ebp - 0x18]
fabs
fcomp qword [0x1003320]
fnstsw ax
test ah, 5
jp 0x1056b59
push 0x10032c0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x1056b6e
fld qword [ebp - 0x18]
fcomp qword [0x10019e8]
fnstsw ax
test ah, 0x41
mov eax, 0x901
je 0x1056b73
mov eax, 0x900
leave
ret