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

Disassembly:
mov eax, 0x107c
call fcn.10088280
mov eax, dword [esp + 0x1084]
push ebx
push ebp
push esi
push edi
xor ebp, ebp
push ebp
push 0x2200000
push 3
push ebp
push 3
push 0x100080
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [esp + 0x3c], ebx
cmp ebx, 0xffffffff
jne 0x10032e6f
mov ecx, dword [esp + 0x10a4]
mov dword [ecx], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x107c
ret 0x28
lea edx, [esp + 0x30]
push edx
push ebx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x10032f24
cmp dword [esp + 0x34], ebp
jg 0x10032f24
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x10a0]
push 0x1008
lea edx, [esp + 0x84]
push ebp
push edx
mov dword [ecx], eax
mov dword [esp + 0x84], ebp
mov dword [esp + 0x88], ebp
call fcn.10079c60
add esp, 0xc
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov edi, edi
mov edi, dword [esp + 0x1090]
push 0x1010
lea eax, [esp + 0x7c]
push eax
mov eax, dword [edi + 0x6c24]
push 8
lea ecx, [esp + 0x24]
push ecx
push 0x90073
lea edx, [esp + 0x84]
push edx
push ebp
push ebp
push ebp
push ebx
call eax
mov esi, eax
mov dword [esp + 0x38], esi
cmp esi, ebp
je 0x10032f38
cmp esi, 0x80000005
je 0x10032f38
cmp esi, 0x103
je 0x10032f40
mov edx, dword [esp + 0x10a4]
mov dword [edx], esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x107c
ret 0x28
cmp esi, 0x103
jne 0x10032f6a
push 0x1388
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x1003313d
mov eax, dword [esp + 0x70]
cmp eax, ebp
je 0x10032f6a
cmp eax, 0x80000005
jne 0x10033153
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], ebp
cmp dword [esp + 0x78], ebp
jbe 0x10033101
lea esi, [esp + 0x88]
lea ecx, [ecx]
mov edx, dword [esi + 8]
mov edi, dword [esi + 0xc]
mov ebx, edx
and ebx, edi
cmp ebx, 0xffffffff
je 0x100330cf
mov ebp, dword [esi]
mov ebx, dword [esi + 4]
sub ebp, eax
sbb ebx, ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edi
test ecx, ecx
jne 0x10033010
mov edi, dword [esp + 0x10b4]
mov ecx, dword [edi + 0x2c]
sub ecx, dword [edi + 0x28]
add edi, 0x1c
sar ecx, 3
test ecx, ecx
jbe 0x1003306b
mov edx, dword [esp + 0x1094]
mov ecx, dword [edx + 0x230]
mov edx, ecx
imul edx, eax
mov eax, dword [esi]
imul eax, ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], eax
lea ebx, [esp + 0x58]
jmp 0x10033058
xor edx, edx
cmp dword [esp + 0x28], ecx
jne 0x1003301e
cmp dword [esp + 0x2c], edx
je 0x10033073
mov edi, dword [esp + 0x10b4]
mov ecx, dword [edi + 0x2c]
sub ecx, dword [edi + 0x28]
add edi, 0x1c
sar ecx, 3
test ecx, ecx
jbe 0x1003306b
mov edx, dword [esp + 0x1094]
mov ecx, dword [edx + 0x230]
mov edx, ecx
imul edx, eax
mov eax, dword [esi]
imul eax, ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], eax
lea ebx, [esp + 0x50]
call fcn.10056760
test eax, eax
je 0x1003306b
mov eax, dword [esp + 0x10b4]
inc dword [eax + 0x38]
mov ebx, dword [esp + 0x44]
inc dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
mov eax, dword [esi + 8]
lea edx, [ecx + ebp]
mov dword [esp + 0x24], edx
mov edx, dword [esi + 0xc]
add eax, ebp
adc edx, ebx
add eax, 0xffffffff
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x109c]
adc edx, 0xffffffff
add dword [eax], ebp
cmp dword [esp + 0x10ac], 0
mov dword [esp + 0x4c], edx
je 0x100330cd
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x10b0]
mov dword [esp + 0x6c], ebx
lea ebx, [esp + 0x60]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ebp
call fcn.10037980
xor ebp, ebp
mov edx, dword [esp + 0x20]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
inc edx
add esi, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
cmp edx, dword [esp + 0x78]
jb 0x10032fa0
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x1090]
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x1098]
mov ecx, dword [esp + 0x14]
add dword [eax], ecx
mov edx, dword [edi + 0x67e8]
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x10a8]
sub eax, edx
mov edx, dword [esp + 0x48]
mov dword [ecx], eax
mov dword [edi + 0x67e8], edx
cmp esi, ebp
jne 0x10032ed0
jmp 0x10032f1b
mov eax, dword [esp + 0x10a4]
mov dword [eax], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x107c
ret 0x28
mov ecx, dword [esp + 0x10a4]
pop edi
mov dword [ecx], esi
pop esi
pop ebp
pop ebx
add esp, 0x107c
ret 0x28