Function at 0x10011700
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [0x10109610]
xor eax, esp
mov dword [esp + 0x70], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x38], edx
cmp ecx, ebx
je 0x1001173e
cmp dword [ecx], ecx
jne 0x1001173e
cmp dword [ecx + 0xa0], ebx
jne 0x10011783
push str.PIM_library_reference_not_initialized_or_invalid_libref.
call fcn.10006760
mov ecx, 0x100dcd70
call fcn.10006b50
add esp, 4
push str.Error_Invalid_Library_reference._PIM_STATUS_INVALID_LIBRARY_REF_
call fcn.10006760
mov ecx, 0x100dcd70
call fcn.10006bb0
add esp, 4
mov eax, 0xfffffff6
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.100b2e5c
mov esp, ebp
pop ebp
ret
cmp dword [ecx + 0xe0], 1
jne 0x100117a8
push edx
push eax
call fcn.10017cf0
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.100b2e5c
mov esp, ebp
pop ebp
ret
mov edi, dword [eax + 4]
sub edi, dword [eax]
mov eax, 0x92492493
imul edi
add edx, edi
mov edi, dword [esp + 0x20]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
xor esi, esi
xor ecx, ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x3c], eax
mov dword [edi + 0xc8], ebx
mov dword [edi + 0xcc], ebx
mov dword [edi + 0xd0], ebx
mov dword [edi + 0xd4], ebx
mov dword [esp + 0x2c], ebx
cmp eax, ebx
jle 0x10011968
mov dword [esp + 0x28], ebx
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
add eax, dword [esp + 0x28]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x78], esp
mov dword [esp + 0x90], 0xf
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
push ebx
xor edx, edx
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], ebx
or eax, 0xffffffff
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], 0xffffffff
lea esi, [esp + 0x84]
lea edi, [esp + 0x64]
mov word [ecx], dx
call fcn.100017f0
mov eax, dword [esp + 0x3c]
push eax
mov ecx, esi
mov edx, edi
call fcn.1000aba0
add esp, 0x20
cmp al, bl
je 0x10011a46
mov eax, dword [esp + 0x60]
mov edi, 0x10
cmp dword [esp + 0x74], edi
jae 0x1001189b
mov eax, esi
mov esi, str.extension
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x100118c0
cmp cl, bl
je 0x100118bc
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x100118c0
add eax, 2
add esi, 2
cmp cl, bl
jne 0x100118a0
xor eax, eax
jmp 0x100118c5
sbb eax, eax
sbb eax, 0xffffffff
mov ecx, dword [esp + 0x20]
cmp eax, ebx
jne 0x1001190e
push ecx
lea esi, [esp + 0x34]
lea edx, [esp + 0x1c]
lea eax, [esp + 0x44]
call fcn.1000ab00
add esp, 4
test al, al
jne 0x10011931
cmp dword [esp + 0x74], edi
jb 0x100118f9
mov eax, dword [esp + 0x60]
push eax
call fcn.100b2e51
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.100b2e5c
mov esp, ebp
pop ebp
ret
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x34]
push eax
push ecx
lea edx, [esp + 0x24]
lea ecx, [esp + 0x4c]
call fcn.1000aa30
add esp, 0xc
test al, al
je 0x10011a1a
cmp dword [esp + 0x74], edi
jb 0x10011944
mov edx, dword [esp + 0x60]
push edx
call fcn.100b2e51
add esp, 4
mov eax, dword [esp + 0x2c]
add dword [esp + 0x28], 0x1c
inc eax
mov dword [esp + 0x2c], eax
cmp eax, dword [esp + 0x3c]
jl 0x1001180c
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x20]
add esi, dword [esp + 0x10]
adc ecx, dword [esp + 0x14]
add esi, dword [esp + 0x18]
adc ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], esi
mov eax, ecx
and eax, 0x7fffffff
mov dword [esp + 0x14], eax
fild qword [esp + 0x10]
and ecx, 0x80000000
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ebx
fild qword [esp + 0x10]
fchs
faddp st(1)
fld st(0)
fld qword [0x100f8560]
fmul st(1), st(0)
fxch st(1)
faddp st(2)
fxch st(1)
call fcn.100d0096
mov esi, dword [esp + 0x38]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
cmp esi, ebx
je 0x10011aa8
mov ecx, dword [edi + 0xc8]
mov eax, dword [edi + 0xcc]
mov dword [esp + 0x10], ecx
mov ecx, eax
and eax, 0x7fffffff
mov dword [esp + 0x14], eax
fild qword [esp + 0x10]
and ecx, 0x80000000
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ebx
fild qword [esp + 0x10]
fchs
faddp st(1)
fld st(0)
fmulp st(2)
faddp st(1)
fmul qword [0x100f85a8]
call fcn.100d0096
mov dword [esi], eax
mov dword [esi + 4], edx
jmp 0x10011aaa
cmp dword [esp + 0x74], edi
jb 0x100118f9
mov ecx, dword [esp + 0x60]
push ecx
call fcn.100b2e51
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.100b2e5c
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x2c]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
cmp dword [ecx + edx*4 + 0x14], 8
lea eax, [ecx + edx*4]
jb 0x10011a65
mov eax, dword [eax]
push eax
push str.Error_Failed_to_process_manifest_file__s.
call fcn.10006760
mov ecx, 0x100dcd14
call fcn.10006e70
add esp, 8
cmp dword [esp + 0x74], 0x10
jb 0x10011a91
mov edx, dword [esp + 0x60]
push edx
call fcn.100b2e51
add esp, 4
mov eax, 0xfffffffa
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.100b2e5c
mov esp, ebp
pop ebp
ret
fstp st(0)
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push edx
push eax
push str.pim_haveEnoughDiskSpaceToInstallPackages_reqSize_...__llu
call fcn.10006760
mov ecx, 0x100dcd70
call fcn.10006b20
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
add esp, 0xc
push ebx
push esi
add edi, 4
push edi
call fcn.100203b0
add esp, 0xc
test al, al
jne 0x10011b15
push ebx
push esi
push str.Error_do_not_have_enough_disk_space_...__llu
call fcn.10006760
mov ecx, 0x100dcd70
call fcn.10006bb0
add esp, 0xc
mov eax, 0xfffffffc
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.100b2e5c
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.100b2e5c
mov esp, ebp
pop ebp
ret