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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10087d9f
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push esi
push edi
mov eax, dword [0x100c90c0]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x24], 0x64
mov dword [esp + 0x28], vtable.CFileHandler.0
mov dword [esp + 0xa0], 0
mov dword [esp + 0x64], vtable.CStringBufferW.0
mov dword [esp + 0x70], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
push 1
lea ecx, [esp + 0x68]
mov byte [esp + 0xa4], 1
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x38]
mov ecx, dword [esp + 0x70]
mov edi, eax
test ecx, ecx
je 0x1001cc89
lea ecx, [esp + 0x64]
call fcn.1003fa80
lea ecx, [esp + 0x64]
call fcn.1003fb10
mov ecx, dword [esp + 0x70]
test edi, edi
je 0x1001ccfa
test ecx, ecx
je 0x1001ccfa
cmp dword [esp + 0x68], 0
je 0x1001ccfa
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x2c], ecx
mov dword [ecx], vtable.CSeed.0
mov byte [esp + 0xb0], 2
mov dword [ecx], vtable.CStringBufferW.0
mov dword [ecx + 0xc], 0
mov dword [ecx + 8], 0
mov dword [ecx + 4], 0
push dword [esp + 0x78]
push dword [esp + 0x84]
call fcn.1003ea90
push 2
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0xb8], 1
call fcn.10049f90
mov ebx, eax
mov dword [esp + 0x1c], eax
jmp 0x1001cd02
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x44], vtable.CStringBufferW.0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
lea ecx, [esp + 0x44]
mov byte [esp + 0xa0], 3
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x3c]
mov ecx, dword [esp + 0x50]
mov edi, eax
test ecx, ecx
je 0x1001cd56
lea ecx, [esp + 0x44]
call fcn.1003fa80
lea ecx, [esp + 0x44]
call fcn.1003fb10
mov ecx, dword [esp + 0x50]
test edi, edi
je 0x1001cdc2
test ecx, ecx
je 0x1001cdc2
cmp dword [esp + 0x48], 0
je 0x1001cdc2
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x2c], ecx
mov dword [ecx], vtable.CSeed.0
mov byte [esp + 0xb0], 4
mov dword [ecx], vtable.CStringBufferW.0
mov dword [ecx + 0xc], 0
mov dword [ecx + 8], 0
mov dword [ecx + 4], 0
push dword [esp + 0x58]
push dword [esp + 0x64]
call fcn.1003ea90
push 2
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0xb8], 3
call fcn.10049f90
or ebx, eax
mov dword [esp + 0x1c], ebx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xdc]
mov dword [esp + 0x18], vtable.CSetupRegW.0
sub esp, 0x10
mov eax, esp
mov dword [eax], vtable.CSeed.0
push 1
lea ecx, [esp + 0x48]
mov dword [eax], vtable.CStringBufferW.0
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov byte [esp + 0xb4], 5
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x44]
mov byte [esp + 0xa0], 7
cmp dword [esp + 0x40], 0
je 0x1001cf71
cmp dword [esp + 0x38], 0
je 0x1001cf71
mov byte [esp + 0xa0], 8
push 0x33
lea ecx, [esp + 0x78]
mov dword [esp + 0x78], vtable.CStringBufferW.0
mov dword [esp + 0x84], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x7c], 0
call fcn.1003f120
mov edi, dword [esp + 0x80]
push 0x33
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall
push dword [esp + 0x84]
push edi
call fcn.1006fb74
add esp, 0x10
mov dword [esp + 0x78], 0x33
mov dword [esp + 0x7c], 0x34
mov byte [esp + 0xa0], 9
mov ebx, dword [esp + 0x40]
test ebx, ebx
je 0x1001cecf
movzx eax, word [edi + 0x64]
cmp eax, 0x5c
je 0x1001cebe
cmp eax, 0x2f
je 0x1001cebe
push 0x5c
lea ecx, [esp + 0x78]
call fcn.1003eea0
push ebx
lea ecx, [esp + 0x78]
call fcn.1003ef80
mov edi, dword [esp + 0x80]
sub esp, 0x10
mov ebx, esp
mov dword [esp + 0x3c], ebx
mov dword [ebx], vtable.CSeed.0
mov byte [esp + 0xb0], 0xa
mov dword [ebx], vtable.CStringBufferW.0
mov dword [ebx + 0xc], 0
mov dword [ebx + 8], 0
mov dword [ebx + 4], 0
test edi, edi
je 0x1001cf46
mov esi, edi
lea ecx, [esi + 2]
lea ebx, [ebx]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1001cf10
sub esi, ecx
sar esi, 1
je 0x1001cf42
push esi
mov ecx, ebx
call fcn.1003f120
push esi
push edi
push dword [ebx + 8]
push dword [ebx + 0xc]
call fcn.1006fb74
lea eax, [esi + 1]
add esp, 0x10
mov dword [ebx + 4], esi
mov dword [ebx + 8], eax
mov esi, dword [esp + 0x24]
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb4], 9
call fcn.1004c7d0
mov byte [esp + 0xa0], 7
test edi, edi
je 0x1001cf71
push edi
call fcn.1006eaef
add esp, 4
cmp dword [esi + 0x2c], 0
je 0x1001d0c1
cmp dword [esi + 0x24], 0
je 0x1001d0c1
mov byte [esp + 0xa0], 0xb
push 0x33
lea ecx, [esp + 0x78]
mov dword [esp + 0x78], vtable.CStringBufferW.0
mov dword [esp + 0x84], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x7c], 0
call fcn.1003f120
mov edi, dword [esp + 0x80]
push 0x33
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall
push dword [esp + 0x84]
push edi
call fcn.1006fb74
add esp, 0x10
mov dword [esp + 0x78], 0x33
mov dword [esp + 0x7c], 0x34
mov byte [esp + 0xa0], 0xc
mov ebx, dword [esi + 0x2c]
test ebx, ebx
je 0x1001d025
movzx eax, word [edi + 0x64]
cmp eax, 0x5c
je 0x1001d014
cmp eax, 0x2f
je 0x1001d014
push 0x5c
lea ecx, [esp + 0x78]
call fcn.1003eea0
push ebx
lea ecx, [esp + 0x78]
call fcn.1003ef80
mov edi, dword [esp + 0x80]
sub esp, 0x10
mov ebx, esp
mov dword [esp + 0x3c], ebx
mov dword [ebx], vtable.CSeed.0
mov byte [esp + 0xb0], 0xd
mov dword [ebx], vtable.CStringBufferW.0
mov dword [ebx + 0xc], 0
mov dword [ebx + 8], 0
mov dword [ebx + 4], 0
test edi, edi
je 0x1001d096
mov esi, edi
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1001d060
sub esi, ecx
sar esi, 1
je 0x1001d092
push esi
mov ecx, ebx
call fcn.1003f120
push esi
push edi
push dword [ebx + 8]
push dword [ebx + 0xc]
call fcn.1006fb74
lea eax, [esi + 1]
add esp, 0x10
mov dword [ebx + 4], esi
mov dword [ebx + 8], eax
mov esi, dword [esp + 0x24]
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb4], 0xc
call fcn.1004c7d0
mov byte [esp + 0xa0], 7
test edi, edi
je 0x1001d0c1
push edi
call fcn.1006eaef
add esp, 4
lea eax, [esp + 0x84]
push eax
mov ecx, esi
call fcn.10023090
mov esi, eax
mov byte [esp + 0xa0], 0xe
mov ecx, dword [esp + 0x40]
cmp ecx, dword [esi + 0xc]
je 0x1001d117
test ecx, ecx
je 0x1001d0f0
push ecx
call fcn.1006eaef
add esp, 4
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
push dword [esi + 4]
lea ecx, [esp + 0x38]
push dword [esi + 0xc]
call fcn.1003ea90
mov eax, dword [esp + 0x90]
mov dword [esp + 0x84], vtable.CStringBufferW.0
test eax, eax
je 0x1001d136
push eax
call fcn.1006eaef
add esp, 4
cmp dword [esp + 0x40], 0
je 0x1001d285
cmp dword [esp + 0x38], 0
je 0x1001d285
mov byte [esp + 0xa0], 0xf
push 0x33
lea ecx, [esp + 0x78]
mov dword [esp + 0x78], vtable.CStringBufferW.0
mov dword [esp + 0x84], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x7c], 0
call fcn.1003f120
mov edi, dword [esp + 0x80]
push 0x33
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall
push dword [esp + 0x84]
push edi
call fcn.1006fb74
add esp, 0x10
mov dword [esp + 0x78], 0x33
mov dword [esp + 0x7c], 0x34
mov byte [esp + 0xa0], 0x10
mov esi, dword [esp + 0x40]
test esi, esi
je 0x1001d1ed
movzx eax, word [edi + 0x64]
cmp eax, 0x5c
je 0x1001d1dc
cmp eax, 0x2f
je 0x1001d1dc
push 0x5c
lea ecx, [esp + 0x78]
call fcn.1003eea0
push esi
lea ecx, [esp + 0x78]
call fcn.1003ef80
mov edi, dword [esp + 0x80]
sub esp, 0x10
mov ebx, esp
mov dword [esp + 0x3c], ebx
mov dword [ebx], vtable.CSeed.0
mov byte [esp + 0xb0], 0x11
mov dword [ebx], vtable.CStringBufferW.0
mov dword [ebx + 0xc], 0
mov dword [ebx + 8], 0
mov dword [ebx + 4], 0
test edi, edi
je 0x1001d262
mov esi, edi
lea ecx, [esi + 2]
jmp 0x1001d230
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1001d230
sub esi, ecx
sar esi, 1
je 0x1001d262
push esi
mov ecx, ebx
call fcn.1003f120
push esi
push edi
push dword [ebx + 8]
push dword [ebx + 0xc]
call fcn.1006fb74
lea eax, [esi + 1]
add esp, 0x10
mov dword [ebx + 4], esi
mov dword [ebx + 8], eax
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb4], 0x10
call fcn.1004c7d0
test edi, edi
je 0x1001d285
push edi
call fcn.1006eaef
add esp, 4
mov dword [esp + 0x2c], vtable.CBasePlatformHelper.0
mov byte [esp + 0xa0], 0x12
cmp dword [esp + 0x40], 0
je 0x1001d3a2
cmp dword [esp + 0x38], 0
je 0x1001d337
mov dword [esp + 0x84], vtable.CStringBufferW.0
mov dword [esp + 0x90], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x88], 0
lea eax, [esp + 0x84]
push eax
mov byte [esp + 0xa4], 0x13
call fcn.100092e0
mov esi, dword [esp + 0x90]
test esi, esi
je 0x1001d322
cmp dword [esp + 0x88], 0
je 0x1001d322
push dword [esp + 0x40]
push esi
push ecx
call fcn.1004ce50
push esi
push ecx
call fcn.1004c0f0
test eax, eax
jne 0x1001d322
push esi
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.1004c8a0
mov byte [esp + 0xa0], 0x12
test esi, esi
je 0x1001d337
push esi
call fcn.1006eaef
add esp, 4
cmp dword [esp + 0x40], 0
je 0x1001d3a2
cmp dword [esp + 0x38], 0
mov ebx, dword [esp + 0x14]
je 0x1001d3a6
lea eax, [esp + 0x84]
push eax
mov ecx, ebx
call fcn.10020630
mov byte [esp + 0xa0], 0x14
mov eax, dword [esp + 0x90]
test eax, eax
je 0x1001d388
cmp dword [esp + 0x88], 0
je 0x1001d388
lea ecx, [esp + 0x84]
call fcn.1001d780
mov eax, dword [esp + 0x90]
mov dword [esp + 0x84], vtable.CStringBufferW.0
test eax, eax
je 0x1001d3a6
push eax
call fcn.1006eaef
add esp, 4
jmp 0x1001d3a6
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x20], 0
lea ecx, [esp + 0x20]
mov byte [esp + 0xa0], 0x15
call fcn.100436b0
mov edi, eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x74], vtable.CStringBufferW.0
mov dword [esp + 0x80], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x84], vtable.CStringBufferW.0
mov dword [esp + 0x90], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x30], vtable.CBasePlatformHelper.0
push str.Software
lea ecx, [esp + 0x78]
mov byte [esp + 0xa4], 0x18
call fcn.1003ec60
mov eax, dword [esp + 0x78]
test eax, eax
jle 0x1001d464
lea ecx, [eax - 1]
cmp ecx, eax
sbb eax, eax
inc eax
jne 0x1001d459
mov eax, dword [esp + 0x80]
movzx eax, word [eax + ecx*2]
cmp eax, 0x5c
je 0x1001d464
cmp eax, 0x2f
je 0x1001d464
push 0x5c
lea ecx, [esp + 0x78]
call fcn.1003eea0
push 0x10098330
lea ecx, [esp + 0x78]
call fcn.1003ef80
mov dword [esp + 0x30], vtable.CBasePlatformHelper.0
push str.SOFTWARE
lea ecx, [esp + 0x88]
mov byte [esp + 0xa4], 0x19
call fcn.1003ec60
mov eax, dword [esp + 0x88]
test eax, eax
jle 0x1001d4cb
lea ecx, [eax - 1]
cmp ecx, eax
sbb eax, eax
inc eax
jne 0x1001d4bd
mov eax, dword [esp + 0x90]
movzx eax, word [eax + ecx*2]
cmp eax, 0x5c
je 0x1001d4cb
cmp eax, 0x2f
je 0x1001d4cb
push 0x5c
lea ecx, [esp + 0x88]
call fcn.1003eea0
push 0x10098330
lea ecx, [esp + 0x88]
call fcn.1003ef80
mov byte [esp + 0xa0], 0x17
mov esi, dword [esp + 0x80]
test esi, esi
je 0x1001d511
cmp dword [esp + 0x78], 0
je 0x1001d511
push esi
mov ecx, edi
call fcn.1004c8a0
cmp edi, 0x80000001
je 0x1001d511
push esi
mov ecx, SysReAllocString
call fcn.1004c8a0
mov edi, dword [esp + 0x90]
test edi, edi
je 0x1001d531
cmp dword [esp + 0x88], 0
je 0x1001d531
push edi
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.1004c8a0
mov eax, dword [ebx]
lea ecx, [esp + 0x54]
push ecx
mov ecx, ebx
call dword [eax + 0x58]
mov byte [esp + 0xa0], 0x1a
mov eax, dword [esp + 0x60]
test eax, eax
je 0x1001d667
cmp dword [esp + 0x58], 0
je 0x1001d667
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x40], ecx
mov dword [ecx], vtable.CSeed.0
mov byte [esp + 0xb0], 0x1b
mov dword [ecx], vtable.CStringBufferW.0
mov dword [ecx + 0xc], 0
mov dword [ecx + 8], 0
mov dword [ecx + 4], 0
push dword [esp + 0x68]
push dword [esp + 0x74]
call fcn.1003ea90
mov ebx, dword [esp + 0x24]
push ebx
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb4], 0x1a
call fcn.1004c7d0
cmp ebx, 0x80000001
je 0x1001d60e
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x40], ecx
mov dword [ecx], vtable.CSeed.0
mov byte [esp + 0xb0], 0x1c
mov dword [ecx], vtable.CStringBufferW.0
mov dword [ecx + 0xc], 0
mov dword [ecx + 8], 0
mov dword [ecx + 4], 0
push dword [esp + 0x68]
push dword [esp + 0x74]
call fcn.1003ea90
push SysReAllocString
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb4], 0x1a
call fcn.1004c7d0
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x40], ecx
mov dword [ecx], vtable.CSeed.0
mov byte [esp + 0xb0], 0x1d
mov dword [ecx], vtable.CStringBufferW.0
mov dword [ecx + 0xc], 0
mov dword [ecx + 8], 0
mov dword [ecx + 4], 0
push dword [esp + 0x68]
push dword [esp + 0x74]
call fcn.1003ea90
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb4], 0x1a
call fcn.1004c7d0
mov eax, dword [esp + 0x60]
mov dword [esp + 0x54], vtable.CStringBufferW.0
test eax, eax
je 0x1001d67c
push eax
call fcn.1006eaef
add esp, 4
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], vtable.CSeed.0
test edi, edi
je 0x1001d6a9
push edi
call fcn.1006eaef
add esp, 4
test esi, esi
je 0x1001d6b6
push esi
call fcn.1006eaef
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1001d6cd
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x40]
mov dword [esp + 0x34], vtable.CStringBufferW.0
test eax, eax
je 0x1001d6e6
push eax
call fcn.1006eaef
add esp, 4
mov eax, dword [esp + 0x50]
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], vtable.CSeed.0
mov dword [esp + 0x18], vtable.CSetupRegW.0
mov dword [esp + 0x44], vtable.CStringBufferW.0
test eax, eax
je 0x1001d727
push eax
call fcn.1006eaef
add esp, 4
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], vtable.CSeed.0
mov dword [esp + 0x64], vtable.CStringBufferW.0
test ecx, ecx
je 0x1001d760
push ecx
call fcn.1006eaef
add esp, 4
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret