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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xec
mov eax, dword [0x10104610]
xor eax, esp
mov dword [esp + 0xe8], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], eax
test esi, esi
je 0x10010912
cmp dword [esi], esi
jne 0x10010912
cmp dword [esi + 0xa0], 0
lea ebx, [esi + 0xa0]
jne 0x1001095a
push str.PIM_library_reference_not_initialized_or_invalid_libref.
call fcn.10006700
mov ecx, 0x100d9d70
call fcn.10006af0
add esp, 4
push str.Error_Invalid_Library_reference._PIM_STATUS_INVALID_LIBRARY_REF_
call fcn.10006700
mov ecx, 0x100d9d70
call fcn.10006b50
add esp, 4
mov eax, 0xfffffff6
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.100afa0c
mov esp, ebp
pop ebp
ret
add esi, 0x3c
mov edi, 8
cmp dword [esi + 0x14], edi
jb 0x1001096b
mov eax, dword [esi]
jmp 0x1001096d
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x100109be
push str.Folder_does_not_exist
call fcn.10006700
mov ecx, str.Utilities
call fcn.10006d80
add esp, 4
push str.ACF_Does_not_exists
call fcn.10006700
mov ecx, 0x100d9d70
call fcn.10006b20
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.100afa0c
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x20]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], eax
mov byte [esp + 0x68], al
cmp dword [ecx + 0xe0], eax
jne 0x10010e45
cmp dword [esi + 0x14], edi
jb 0x100109ef
mov esi, dword [esi]
lea edx, [esp + 0x68]
push edx
push esi
call fcn.10028eb0
add esp, 8
test al, al
jne 0x10010a39
push str.Failed_to_convert_ACF_PATh_native_to_string
call fcn.10006700
mov ecx, 0x100d9d70
call fcn.10006b20
add esp, 4
lea ecx, [esp + 0x68]
call fcn.10004d50
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.100afa0c
mov esp, ebp
pop ebp
ret
xor edi, edi
push edi
push str.target_location
push str.packageid
lea edx, [esp + 0x4c]
call fcn.10023b80
add esp, 0xc
lea esi, [esp + 0x30]
call fcn.10004e20
lea eax, [esp + 0x40]
push eax
mov ecx, esi
push ecx
push ebx
xor edx, edx
mov ecx, str.package_installation_info
call fcn.10027830
test al, al
jne 0x10010abd
push str.Error_Failed_to_get_data_from_database_...
call fcn.10006700
mov ecx, 0x100d9d70
call fcn.10006b50
add esp, 4
mov edx, esi
push edx
call fcn.10003fb0
lea esi, [esp + 0x40]
call fcn.10023b20
lea ecx, [esp + 0x68]
call fcn.10004d50
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.100afa0c
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x40]
xor ebx, ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
cmp eax, edi
jle 0x10010cf0
mov dword [esp + 0x24], edi
jmp 0x10010ae2
xor edi, edi
mov eax, 0xf
push eax
push str.target_location
lea ecx, [esp + 0xc4]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xb8], edi
mov byte [esp + 0xa8], 0
mov dword [esp + 0xa0], eax
mov dword [esp + 0x9c], edi
mov byte [esp + 0x8c], 0
mov dword [esp + 0xd8], eax
mov dword [esp + 0xd4], edi
mov byte [esp + 0xc4], 0
call fcn.100050c0
lea eax, [esp + 0xbc]
push eax
lea eax, [esp + 0x44]
call fcn.10023cd0
cmp eax, edi
jl 0x10010b81
cmp ebx, edi
jge 0x10010b5a
cmp ebx, dword [esp + 0x40]
jge 0x10010b81
mov edx, dword [esp + 0x58]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esp + 0x24]
mov edx, dword [edx + eax]
push 0xffffffffffffffff
lea eax, [edx + ecx*4]
push edi
push eax
lea ecx, [esp + 0xac]
call fcn.100052c0
cmp dword [esp + 0xd0], 0x10
jb 0x10010b9b
mov ecx, dword [esp + 0xbc]
push ecx
call fcn.100afa01
add esp, 4
mov eax, dword [esp + 0xb0]
mov esi, 1
cmp eax, esi
jae 0x10010baf
mov esi, eax
jmp 0x10010bb1
mov eax, esi
cmp dword [esp + 0xb4], 0x10
mov edx, dword [esp + 0xa0]
jae 0x10010bc9
lea edx, [esp + 0xa0]
push eax
mov ecx, 0x100dab2c
call fcn.10002790
add esp, 4
cmp eax, edi
jne 0x10010bec
cmp esi, 1
jb 0x10010bec
xor eax, eax
cmp esi, 1
setne al
cmp eax, edi
je 0x10010c20
lea edx, [esp + 0xa0]
push edx
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0xc4]
push ecx
call fcn.100194c0
add esp, 0xc
mov edi, eax
lea esi, [esp + 0x84]
call fcn.10005050
lea ecx, [esp + 0xbc]
jmp 0x10010c74
push 0x100dab2c
lea edx, [esp + 0x6c]
push edx
lea eax, [esp + 0xe0]
push eax
call fcn.10019580
lea edx, [esp + 0xc8]
add esp, 0xc
mov ecx, eax
push edx
lea eax, [esp + 0xa4]
call fcn.100191d0
add esp, 4
mov edi, eax
lea esi, [esp + 0x84]
call fcn.10005050
lea ecx, [esp + 0xbc]
call fcn.10004d50
lea ecx, [esp + 0xd8]
call fcn.10004d50
lea edi, [esp + 0x84]
call fcn.1001e6a0
test al, al
je 0x10010d84
xor eax, eax
lea edx, [esp + 0x18]
mov ecx, edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
call fcn.1001f170
test al, al
je 0x10010df3
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [esp + 0x14]
jb 0x10010cc8
mov eax, dword [esp + 0x18]
ja 0x10010cc0
cmp eax, dword [esp + 0x10]
jbe 0x10010cc8
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x84]
call fcn.10004d50
lea ecx, [esp + 0xa0]
call fcn.10004d50
add dword [esp + 0x24], 0x10
inc ebx
cmp ebx, dword [esp + 0x28]
jl 0x10010ae0
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [esp + 0x30]
lea esi, [esp + 0x38]
call fcn.10005460
mov edx, dword [esp + 0x34]
push edx
call fcn.100afa01
add esp, 4
lea esi, [esp + 0x40]
call fcn.10023b20
cmp dword [esp + 0x7c], 0x10
jb 0x10010d2f
mov eax, dword [esp + 0x68]
push eax
call fcn.100afa01
add esp, 4
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
push edi
add edx, 4
push esi
push edx
call fcn.1001e740
add esp, 0xc
test al, al
jne 0x10010ecb
push edi
push esi
push str.Error_do_not_have_enough_disk_space_...__llu
call fcn.10006700
mov ecx, 0x100d9d70
call fcn.10006b50
add esp, 0xc
mov eax, 0xfffffffc
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.100afa0c
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0x98], 0x10
mov eax, dword [esp + 0x84]
jae 0x10010d9c
lea eax, [esp + 0x84]
push eax
push str.Failed_to_convert_path_winSpecific__s
call fcn.10006700
mov ecx, 0x100d9d70
call fcn.10006b20
add esp, 8
lea ecx, [esp + 0x84]
call fcn.10004d50
lea ecx, [esp + 0xa0]
call fcn.10004d50
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [esp + 0x34]
lea esi, [esp + 0x38]
call fcn.10005460
mov eax, dword [esp + 0x34]
push eax
call fcn.100afa01
add esp, 4
jmp 0x10010a93
cmp dword [esp + 0x98], 0x10
mov eax, dword [esp + 0x84]
jae 0x10010e0b
lea eax, [esp + 0x84]
push eax
push str.Failed_to_determine_size_of_path__s
call fcn.10006700
mov ecx, 0x100d9d70
call fcn.10006b20
add esp, 8
lea ecx, [esp + 0x84]
call fcn.10004d50
lea ecx, [esp + 0xa0]
call fcn.10004d50
lea ecx, [esp + 0x30]
push ecx
jmp 0x10010a8e
cmp dword [esi + 0x14], edi
jb 0x10010e4c
mov esi, dword [esi]
lea ecx, [esp + 0x68]
push ecx
push esi
call fcn.10028eb0
add esp, 8
test al, al
jne 0x10010e68
push str.Failed_to_get_string_path_from_USF_Native_string
jmp 0x10010a06
lea edx, [esp + 0x10]
lea ecx, [esp + 0x68]
call fcn.1001f170
test al, al
jne 0x10010ea5
cmp dword [esp + 0x7c], 0x10
mov eax, dword [esp + 0x68]
jae 0x10010e88
lea eax, [esp + 0x68]
push eax
push str.Failed_to_size_of_Path_:_s
call fcn.10006700
mov ecx, 0x100d9d70
call fcn.10006b20
add esp, 8
jmp 0x10010a18
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x68]
mov dword [eax + 0xc8], esi
mov dword [eax + 0xcc], edi
call fcn.10004d50
jmp 0x10010d37
mov eax, edi
mov ecx, edi
and eax, 0x7fffffff
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], esi
fild qword [esp + 0x18]
and ecx, 0x80000000
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], 0
fild qword [esp + 0x18]
fchs
faddp st(1)
fld qword [0x100f43c0]
fmul st(1)
faddp st(1)
fmul qword [0x100f4408]
call fcn.100ccc36
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x10010f1c
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov ecx, dword [esp + 0xf4]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.100afa0c
mov esp, ebp
pop ebp
ret