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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
push esi
push edi
mov esi, ecx
mov edi, 0x80070057
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
cmp dword [ebp + 8], ebx
jne 0x10b4a88
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10b4d1c
test byte [eax + 0x1c], 1
je 0x10b4d1c
push 0x100ac18
push 0x35
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027e15
jmp 0x10b4d1c
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0xc], eax
add eax, 0xffffff68
cmp eax, 0x7ff68
ja 0x10b4cd5
push ebx
push ebx
push ebx
push 2
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0x10b4b03
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x10b4acf
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10b4d0e
test byte [eax + 0x1c], 1
je 0x10b4d0e
push edi
push 0x100ac18
push 0x37
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027ecb
jmp 0x10b4d0e
push ebx
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 4], eax
cmp eax, ebx
jne 0x10b4b53
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x10b4b2a
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10b4cfe
test byte [eax + 0x1c], 1
je 0x10b4cfe
push edi
push 0x100ac18
push 0x38
jmp 0x10b4cb2
cmp dword [eax], 0x414d5153
je 0x10b4b86
mov edi, 0x90070a0b
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10b4cfe
test byte [eax + 0x1c], 1
je 0x10b4cfe
push 0x100ac18
push 0x39
jmp 0x10b4cf3
lea ebx, [eax + 0x18]
lea eax, [esi + 8]
push eax
push ebx
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x10b4bc6
mov edi, 0x90070a0b
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10b4cfe
test byte [eax + 0x1c], 1
je 0x10b4cfe
push ebx
push 0x100ac18
push 0x3a
jmp 0x10b4c7a
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 4]
cmp eax, dword [esi + 4]
je 0x10b4bfc
mov edi, 0x90070a0b
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10b4cfe
test byte [eax + 0x1c], 1
je 0x10b4cfe
push 0x100ac18
push 0x3b
jmp 0x10b4cf3
lea eax, [ebx + 0x10]
push eax
call fcn.010af4fb
test eax, eax
je 0x10b4c34
mov edi, 0x90070a0a
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10b4cfe
test byte [eax + 0x1c], 1
je 0x10b4cfe
push 0x100ac18
push 0x3c
jmp 0x10b4cf3
push dword [ebp + 0x10]
mov ecx, esi
push 0x100aa70
push dword [ebp + 0xc]
call fcn.010afe4c
mov edi, eax
test edi, edi
jge 0x10b4c87
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10b4cfe
test byte [eax + 0x1c], 1
je 0x10b4cfe
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x10b4c72
mov ecx, 0x10026bc
push ecx
push 0x100ac18
push 0x3d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027e3b
jmp 0x10b4cfe
push dword [ebp - 0xc]
mov ecx, esi
push ebx
call fcn.010b31f1
mov edi, eax
test edi, edi
jge 0x10b4cbf
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10b4cfe
test byte [eax + 0x1c], 1
je 0x10b4cfe
push edi
push 0x100ac18
push 0x3e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027ecb
jmp 0x10b4cfe
mov eax, dword [esi + 0x90]
sub eax, dword [esi + 0x88]
xor edi, edi
mov dword [esi + 0x8c], eax
jmp 0x10b4cfe
mov edi, 0x90070a0b
mov eax, dword [0x10ed030]
cmp eax, 0x10ed030
je 0x10b4d1c
test byte [eax + 0x1c], 1
je 0x10b4d1c
push 0x100ac18
push 0x36
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01027e15
xor ebx, ebx
cmp dword [ebp - 4], ebx
je 0x10b4d0e
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
cmp dword [ebp - 8], ebx
je 0x10b4d1c
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0xc