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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1005ab12
mov eax, dword fs:[0]
push eax
sub esp, 0x130
push ebx
push esi
push edi
mov eax, dword [0x1006e020]
xor eax, esp
push eax
lea eax, [esp + 0x140]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x294]
test eax, eax
mov dword [esp + 0x24], eax
je 0x10007777
mov ecx, dword [esi + 0x44]
mov edx, dword [ecx + 4]
lea ebx, [esi + 0x40]
push edx
mov ecx, ebx
mov dword [esp + 0x50], ebx
call fcn.10035f70
mov eax, dword [ebx + 4]
mov dword [eax + 4], eax
mov eax, dword [ebx + 4]
xor edi, edi
mov dword [ebx + 8], edi
mov dword [eax], eax
mov eax, dword [ebx + 4]
mov dword [eax + 8], eax
mov eax, dword [0x1006eb44]
mov dword [esp + 0x20], eax
mov dword [esp + 0x148], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov byte [esp + 0x148], 2
call fcn.1000c820
mov dword [esp + 0x34], eax
mov byte [eax + 0x15], 1
mov eax, dword [esp + 0x34]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x34]
mov dword [eax], eax
mov eax, dword [esp + 0x34]
mov dword [eax + 8], eax
mov dword [esp + 0x38], edi
mov byte [esp + 0x148], 3
call fcn.1000c820
mov dword [esp + 0x68], eax
mov byte [eax + 0x15], 1
mov eax, dword [esp + 0x68]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x68]
mov dword [eax], eax
mov eax, dword [esp + 0x68]
mov dword [eax + 8], eax
mov dword [esp + 0x6c], edi
lea ecx, [esi + 0x78]
lea eax, [esp + 0x40]
mov byte [esp + 0x148], 4
call fcn.10015820
lea edi, [esp + 0x40]
mov byte [esp + 0x148], 5
call fcn.10011c20
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.USER32.dll_CharUpperW]
lea ecx, [esi + 0x80]
lea eax, [esp + 0x44]
call fcn.10015820
lea edi, [esp + 0x44]
mov byte [esp + 0x148], 6
call fcn.10011c20
mov ecx, dword [esp + 0x44]
push ecx
call dword [sym.imp.USER32.dll_CharUpperW]
mov eax, dword [esi + 0x28]
mov dword [esp + 0xb0], str.SELECT__Directory_____Flags__FROM__AdskDirectoryMap_
mov dword [esp + 0xb4], 5
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], 0
mov eax, dword [0x1006eb44]
mov dword [esp + 0x70], vtable.AdskDirectoryMapData.0
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov byte [esp + 0x148], 8
lea ecx, [esp + 0x70]
lea edi, [esp + 0xb0]
call fcn.1000fe50
test al, al
je 0x10007027
test byte [esp + 0x7c], 4
je 0x1000700f
mov edi, dword [esp + 0x14]
mov ecx, 0x105
lea eax, [edi - 0xc]
mov dword [esp + 0x3c], ecx
cmp dword [eax], 1
mov dword [esp + 0x18], eax
jg 0x10006f0b
cmp dword [edi - 4], ecx
jge 0x10006f6e
mov edi, dword [edi - 8]
cmp edi, ecx
lea edx, [esp + 0x14]
cmovg ecx, edi
call fcn.10011c80
test eax, eax
jne 0x10006f26
mov edi, dword [esp + 0x14]
jmp 0x10006f70
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
lea edx, [edi + edi + 2]
push edx
add eax, 0xc
push eax
push ecx
call sub.MSVCR80.dll_memcpy
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
add esp, 0xc
cmp eax, 0x1006eb34
mov dword [edx - 8], edi
je 0x10006f6a
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x10006f6a
mov eax, dword [esp + 0x18]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov edi, dword [esp + 0x14]
mov eax, edi
mov edx, dword [esp + 0x74]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x28]
push eax
push edx
call sub.SetupUi.dll_public:_bool___thiscall_CDirectoryManager::GetTargetPath_wchar_t_const___wchar_t___unsigned_long_int__
cmp dword [edi - 0xc], 1
lea eax, [edi - 0xc]
mov dword [esp + 0x18], eax
jle 0x10006fe4
add edi, 0xfffffff4
cmp edi, 0x1006eb34
mov edi, eax
je 0x10006fbb
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x10006fb2
push edi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, dword [0x1006eb44]
mov dword [esp + 0x14], eax
mov ecx, dword [edi + 4]
lea edx, [esp + 0x14]
call fcn.10011c80
test eax, eax
je 0x10006fe4
mov ecx, dword [edi + 4]
mov eax, dword [esp + 0x14]
lea edx, [ecx + ecx + 2]
push edx
add edi, 0xc
push edi
push eax
call sub.MSVCR80.dll_memcpy
add esp, 0xc
mov edi, dword [esp + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [esp + 0x74]
push ecx
mov dword [edi - 8], eax
lea ecx, [esp + 0x68]
mov word [edi + eax*2], 0
call fcn.10007f30
lea edi, [esp + 0x14]
call fcn.10015ac0
lea ecx, [esp + 0x70]
lea edi, [esp + 0xb0]
call fcn.1000fe50
test al, al
jne 0x10006ee2
mov eax, dword [esi + 0x28]
xor edi, edi
mov dword [esp + 0xa0], str.SELECT_DISTINCT__Directory___FROM__Component_
mov dword [esp + 0xa4], 4
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], edi
mov byte [esp + 0x148], 9
call fcn.1000c310
mov dword [esp + 0x58], eax
mov byte [eax + 0x11], 1
mov eax, dword [esp + 0x58]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x58]
mov dword [eax], eax
mov eax, dword [esp + 0x58]
mov dword [eax + 8], eax
mov dword [esp + 0x5c], edi
mov eax, dword [0x1006eb44]
mov dword [esp + 0xe4], eax
mov dword [esp + 0xd8], vtable.ComponentData.0
mov dword [esp + 0xdc], vtable.ComponentData.1.0
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], eax
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], eax
lea ecx, [esp + 0xd8]
lea edi, [esp + 0xa0]
mov byte [esp + 0x148], 0xb
call fcn.1000fe50
test al, al
je 0x10007112
lea edx, [esp + 0xf0]
push edx
lea eax, [esp + 0x10c]
push eax
lea ecx, [esp + 0x5c]
push ecx
call fcn.10008210
lea ecx, [esp + 0xd8]
lea edi, [esp + 0xa0]
call fcn.1000fe50
test al, al
jne 0x100070e1
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
mov edi, eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], edi
jmp 0x10007130
test edi, edi
mov ecx, dword [eax + 4]
mov dword [esp + 0x104], ecx
je 0x10007142
cmp edi, eax
je 0x10007148
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x104]
cmp dword [esp + 0x2c], edx
je 0x10007531
test edi, edi
mov eax, dword [esp + 0x58]
mov dword [esp + 0x120], eax
jne 0x1000716e
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [edi + 4]
jne 0x1000717d
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x2c]
lea edx, [esp + 0x108]
lea edi, [esi + 0xc]
push edx
lea ebx, [esp + 0x58]
call fcn.10008370
mov edi, eax
mov eax, dword [edi]
test eax, eax
je 0x100071a3
mov ecx, ebx
cmp eax, ecx
je 0x100071a9
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x120]
cmp dword [edi + 4], edx
je 0x10007514
mov eax, dword [esp + 0x28]
cmp esi, dword [eax + 4]
jne 0x100071c8
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x10007514
mov eax, dword [eax]
lea esi, [eax + 0x10]
mov edi, esi
mov dword [esp + 0x48], eax
mov dword [esp + 0x3c], esi
call fcn.1004b3c0
test al, al
jne 0x10007514
mov ecx, 0x105
lea edx, [esp + 0x18]
mov dword [esp + 0x18], ecx
mov edi, dword [esi]
push edx
lea ebx, [esp + 0x24]
mov byte [esp + 0x54], al
call fcn.10015350
mov ecx, dword [esp + 0x28]
push eax
push edi
call sub.SetupUi.dll_public:_bool___thiscall_CDirectoryManager::GetSourcePath_wchar_t_const___wchar_t___unsigned_long_int__
test al, al
je 0x10007514
mov edi, ebx
call fcn.10011c20
mov edi, dword [esp + 0x20]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [edi - 8], eax
mov word [edi + eax*2], 0
mov edi, ebx
call fcn.10011c20
mov edi, dword [esp + 0x20]
push edi
call dword [sym.imp.USER32.dll_CharUpperW]
cmp dword [edi - 8], 0
jl 0x1000726b
mov eax, dword [esp + 0x44]
push eax
push edi
call dword [sym.imp.MSVCR80.dll_wcsstr]
add esp, 8
test eax, eax
je 0x1000726b
sub eax, edi
sar eax, 1
je 0x10007270
mov byte [esp + 0x50], 1
mov ecx, 0x105
lea edx, [esp + 0x18]
mov dword [esp + 0x18], ecx
mov esi, dword [esi]
push edx
lea ebx, [esp + 0x18]
call fcn.10015350
mov ecx, dword [esp + 0x28]
push eax
push esi
call sub.SetupUi.dll_public:_bool___thiscall_CDirectoryManager::GetTargetPath_wchar_t_const___wchar_t___unsigned_long_int__
test al, al
je 0x10007514
mov edi, ebx
call fcn.10011c20
mov edi, dword [esp + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [edi - 8], eax
mov word [edi + eax*2], 0
mov edi, ebx
lea eax, [esp + 0x1c]
call fcn.10015ac0
lea edi, [esp + 0x1c]
call fcn.10011c20
mov edi, dword [esp + 0x1c]
push edi
call dword [sym.imp.USER32.dll_CharUpperW]
cmp dword [edi - 8], 0
jl 0x10007514
mov eax, dword [esp + 0x40]
push eax
mov ecx, edi
push ecx
call dword [sym.imp.MSVCR80.dll_wcsstr]
add esp, 8
test eax, eax
je 0x10007514
sub eax, edi
sar eax, 1
jne 0x10007514
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x64]
push edx
mov eax, ebx
push eax
push ecx
call fcn.10007790
test al, al
jne 0x10007514
lea edx, [esp + 0x98]
push edx
mov eax, ebx
lea esi, [esp + 0x34]
call fcn.10008b30
mov eax, dword [esp + 0x34]
mov ecx, esi
lea esi, [esp + 0xc8]
lea edi, [esp + 0x98]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xc8], ecx
call fcn.10009320
test al, al
je 0x10007476
mov edx, dword [esp + 0x50]
push edx
push ecx
mov ecx, ebx
mov eax, esp
mov dword [esp + 0x68], esp
call fcn.10015820
lea ecx, [esp + 0x11c]
call fcn.1000ff40
add esp, 8
push eax
lea eax, [esp + 0xc4]
mov byte [esp + 0x14c], 0xc
call fcn.1000c9a0
lea eax, [esp + 0x130]
push eax
lea ecx, [esp + 0x34]
push ecx
lea ebx, [esp + 0xc8]
mov byte [esp + 0x150], 0xd
call fcn.10009340
mov esi, ebx
call fcn.10015b40
lea esi, [esp + 0x114]
mov byte [esp + 0x148], 0xb
call fcn.10015b40
push 0x1c
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x100073e9
call fcn.10004090
mov esi, eax
jmp 0x100073eb
xor esi, esi
mov ebx, dword [esp + 0x48]
call fcn.100040d0
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x14]
call fcn.10007d20
push esi
push ecx
lea ecx, [esp + 0x1c]
mov eax, esp
mov dword [esp + 0x68], esp
call fcn.10015820
lea ecx, [esp + 0x8c]
call fcn.1000fd50
add esp, 8
push eax
lea eax, [esp + 0xd4]
mov byte [esp + 0x14c], 0xe
call fcn.1000fdf0
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x124]
push edx
push eax
lea ebx, [esp + 0xd8]
mov byte [esp + 0x150], 0xf
call fcn.10008a30
mov esi, ebx
call fcn.10015b40
lea esi, [esp + 0x84]
mov byte [esp + 0x148], 0xb
call fcn.10015b40
jmp 0x100074fc
mov bl, byte [esp + 0x50]
test bl, bl
je 0x10007514
lea esi, [esp + 0x98]
call fcn.10009440
cmp byte [eax + 4], 0
jne 0x10007514
call fcn.10009440
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x14]
mov byte [eax + 4], bl
call fcn.10007d20
mov edi, dword [esp + 0x4c]
lea ecx, [esp + 0x14]
mov edx, edi
call fcn.100088b0
mov eax, dword [eax]
test eax, eax
je 0x100074cd
mov edx, dword [eax + 4]
lea ecx, [eax + 4]
mov eax, dword [edx]
push 1
call eax
push 0x1c
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x100074e4
call fcn.10004090
mov esi, eax
jmp 0x100074e6
xor esi, esi
mov ebx, dword [esp + 0x48]
call fcn.100040d0
lea ecx, [esp + 0x14]
mov edx, edi
call fcn.100088b0
mov dword [eax], esi
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, 0x10070c58
call fcn.10007f30
lea edi, [esp + 0x14]
call fcn.10015ac0
lea esi, [esp + 0x28]
call fcn.1000af80
mov edi, dword [esp + 0x28]
mov esi, dword [ebp + 8]
mov ebx, dword [esp + 0x4c]
mov eax, dword [esp + 0x24]
jmp 0x10007130
push ebx
lea edx, [esp + 0x90]
push edx
call fcn.100089a0
mov byte [esp + 0x148], 0x10
mov eax, dword [esp + 0x90]
mov edi, dword [eax]
lea ebx, [esp + 0x8c]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], edi
nop
test ebx, ebx
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x88], ecx
je 0x1000757d
lea edx, [esp + 0x8c]
cmp ebx, edx
je 0x10007583
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp edi, dword [esp + 0x88]
je 0x100075cc
test ebx, ebx
jne 0x10007596
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp edi, dword [ebx + 4]
jne 0x100075a1
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [edi + 0x10]
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x30]
push eax
push ecx
push edx
mov ecx, esi
call fcn.100078c0
lea esi, [esp + 0x28]
call fcn.1000af80
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
mov esi, dword [ebp + 8]
jmp 0x10007560
lea eax, [esp + 0x8c]
mov byte [esp + 0x148], 0xb
call fcn.10035950
lea ecx, [esp + 0xd8]
call fcn.10014fa0
lea eax, [esp + 0x54]
mov byte [esp + 0x148], 9
call fcn.10009d10
mov eax, dword [esp + 0xac]
test eax, eax
je 0x1000760e
push eax
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov eax, dword [esp + 0x78]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, 0x1006eb34
mov dword [esp + 0x70], vtable.AdskDirectoryMapData.0
je 0x10007645
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x10007645
mov eax, dword [esp + 0x78]
add eax, 0xfffffff4
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, dword [esp + 0x74]
lea edx, [eax - 0xc]
cmp edx, 0x1006eb34
je 0x1000766e
add eax, 0xfffffff4
push eax
call ebx
test eax, eax
jg 0x1000766e
mov eax, dword [esp + 0x74]
add eax, 0xfffffff4
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, dword [esp + 0xbc]
test eax, eax
je 0x1000767f
push eax
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov esi, dword [esp + 0x44]
lea eax, [esi - 0xc]
cmp eax, 0x1006eb34
je 0x100076a0
add esi, 0xfffffff4
push esi
call ebx
test eax, eax
jg 0x100076a0
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, dword [esp + 0x40]
lea ecx, [eax - 0xc]
cmp ecx, 0x1006eb34
je 0x100076c2
lea esi, [eax - 0xc]
push esi
call ebx
test eax, eax
jg 0x100076c2
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
lea eax, [esp + 0x64]
mov byte [esp + 0x148], 3
call fcn.10009a50
mov byte [esp + 0x148], 2
mov eax, dword [esp + 0x34]
mov edx, dword [eax]
push eax
lea ecx, [esp + 0x34]
push ecx
push edx
mov esi, ecx
push esi
lea edx, [esp + 0x118]
push edx
mov edi, ecx
call fcn.10035b90
mov eax, dword [esp + 0x34]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x20]
lea ecx, [eax - 0xc]
add esp, 4
cmp ecx, 0x1006eb34
je 0x10007733
lea esi, [eax - 0xc]
push esi
call ebx
test eax, eax
jg 0x10007733
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov esi, dword [esp + 0x14]
lea edx, [esi - 0xc]
cmp edx, 0x1006eb34
je 0x10007755
add esi, 0xfffffff4
push esi
call ebx
test eax, eax
jg 0x10007755
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, dword [esp + 0x20]
lea ecx, [eax - 0xc]
cmp ecx, 0x1006eb34
je 0x10007777
lea esi, [eax - 0xc]
push esi
call ebx
test eax, eax
jg 0x10007777
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4