Function at 0x1000db70
Capabilities:
Get file size
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10193ae8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x101ebb68]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
push edi
mov eax, dword [0x101ebb68]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov edi, ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x68], ebx
xor eax, eax
push ebx
lea ecx, [edi + 0x30]
mov word [esp + 0x40], ax
push ecx
or eax, 0xffffffff
lea ecx, [esp + 0x44]
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], ebx
call fcn.1000b5b0
mov byte [esp + 0x68], 1
mov dword [esi], ebx
mov dword [esi + 4], ebx
cmp byte [edi + 0x4c], bl
je 0x1000dcd4
mov edx, dword [ebp + 8]
push edx
mov ebx, esi
call fcn.1000d920
mov dword [esp + 0x14], eax
lea eax, [edi + 0x78]
mov dword [esp + 0x34], eax
add eax, 4
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x38], 1
lea esi, [edi + 0x94]
lea ebx, [ebp + 8]
lea eax, [esp + 0x1c]
mov ecx, esi
mov byte [esp + 0x68], 2
call fcn.1000f180
mov eax, dword [esp + 0x1c]
cmp eax, dword [edi + 0x98]
jne 0x1000dc68
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x14]
lea edi, [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
call fcn.100b7650
push eax
push esi
lea esi, [esp + 0x24]
call fcn.10010610
jmp 0x1000dc6f
mov edx, dword [esp + 0x14]
mov dword [eax + 0x10], edx
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [esp + 0x50], 8
mov esi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
jb 0x1000dc91
mov ecx, dword [esp + 0x3c]
push ecx
call esi
add esp, 4
mov eax, dword [esp + 0x24]
xor edx, edx
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], dx
test eax, eax
je 0x1000dccb
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x28]
push ecx
call fcn.10011850
mov edx, dword [esp + 0x28]
add esp, 4
push edx
call esi
add esp, 4
mov eax, dword [esp + 0x14]
jmp 0x1000dde6
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x24]
push eax
push ecx
mov ecx, edi
call fcn.1000c8e0
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x24]
sub ecx, ebx
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1000dd8f
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x14]
add eax, ebx
or ebx, 0xffffffff
cmp dword [eax + 0x14], 8
jb 0x1000dd28
mov eax, dword [eax]
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x1000dd53
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add dword [esi], ebx
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
adc dword [esi + 4], 0
mov edi, dword [esp + 0x1c]
add dword [esp + 0x14], 0x1c
sub ecx, ebx
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
mov dword [esp + 0x1c], edi
cmp edi, eax
jb 0x1000dd17
cmp dword [esp + 0x50], 8
mov esi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
jb 0x1000ddaa
mov ecx, dword [esp + 0x3c]
push ecx
call esi
mov ebx, dword [esp + 0x28]
add esp, 4
xor edx, edx
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], dx
test ebx, ebx
je 0x1000dde2
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x28]
push eax
mov eax, ebx
call fcn.10011850
mov ecx, dword [esp + 0x28]
add esp, 4
push ecx
call esi
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.10178946
mov esp, ebp
pop ebp
ret 8