Function at 0x1001dcd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1008878d
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x100c90c0]
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
push esi
push edi
mov eax, dword [0x100c90c0]
xor eax, esp
push eax
lea eax, [esp + 0x268]
mov dword fs:[0], eax
mov eax, ecx
mov dword [esp + 0x24], eax
mov ebx, dword [ebp + 8]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], 0
mov dword [esp + 0x38], vtable.CSetupRegW.0
mov dword [esp + 0x270], 0
xor esi, esi
mov dword [esp + 0x28], vtable.CStringBufferW.0
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x14], vtable.CStringBufferW.0
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], esi
push 1
lea ecx, [esp + 0x48]
push ecx
mov ecx, eax
mov byte [esp + 0x278], 3
call fcn.1001ff90
mov byte [esp + 0x270], 4
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x1001dda4
push dword [eax + 4]
mov dword [esp + 0x38], esi
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], esi
call fcn.1003ea90
mov esi, dword [esp + 0x34]
mov byte [esp + 0x270], 3
mov eax, dword [esp + 0x50]
mov dword [esp + 0x44], vtable.CStringBufferW.0
test eax, eax
je 0x1001ddc5
push eax
call fcn.1006eaef
add esp, 4
push 0
lea eax, [esp + 0x18]
push eax
push str.ToolbarHelperFileName
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.1004c5d0
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
test eax, eax
je 0x1001ddf4
test esi, esi
je 0x1001ddf4
test edi, edi
jne 0x1001dea5
mov eax, dword [esp + 0x24]
cmp esi, dword [eax + 0x3c]
je 0x1001de41
test esi, esi
je 0x1001de0e
push esi
call fcn.1006eaef
mov eax, dword [esp + 0x28]
add esp, 4
push dword [eax + 0x34]
lea ecx, [esp + 0x18]
push dword [eax + 0x3c]
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
call fcn.1003ea90
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x2c]
mov dword [esp + 0x24], ecx
test ecx, ecx
je 0x1001de89
test edi, edi
jle 0x1001de77
lea edx, [edi - 1]
cmp edx, edi
sbb eax, eax
inc eax
jne 0x1001de68
movzx eax, word [esi + edx*2]
cmp eax, 0x5c
je 0x1001de77
cmp eax, 0x2f
je 0x1001de77
push 0x5c
lea ecx, [esp + 0x18]
call fcn.1003eea0
mov ecx, dword [esp + 0x24]
push ecx
lea ecx, [esp + 0x18]
call fcn.1003ef80
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x14]
test esi, esi
jne 0x1001def9
push 0x11
push str.ToolbarHelper.exe
call fcn.1003ea90
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
xor eax, eax
push 0x206
push eax
mov word [esp + 0x5c], ax
lea eax, [esp + 0x5e]
push eax
call fcn.10074d40
add esp, 0xc
lea eax, [esp + 0x54]
push 0x103
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
jne 0x1001df32
mov byte [esp + 0x270], 5
push edi
push esi
mov ecx, ebx
mov dword [ebx], vtable.CStringBufferW.0
mov dword [ebx + 0xc], eax
mov dword [ebx + 8], eax
mov dword [ebx + 4], eax
call fcn.1003ea90
jmp 0x1001df96
lea eax, [edi + 0x11]
push eax
call fcn.1003f120
test eax, eax
je 0x1001de9d
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
sub eax, edi
push str.ToolbarHelper.exe
push eax
lea eax, [esi + edi*2]
push eax
call fcn.1006fdc7
add esp, 0xc
add edi, 0x11
mov dword [esp + 0x18], edi
jmp 0x1001dea5
mov byte [esp + 0x270], 6
lea edi, [esp + 0x54]
mov dword [ebx], vtable.CStringBufferW.0
mov dword [ebx + 0xc], 0
mov dword [ebx + 8], 0
mov dword [ebx + 4], 0
lea ecx, [edi + 2]
lea esp, [esp]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x1001df60
sub edi, ecx
sar edi, 1
je 0x1001df96
push edi
mov ecx, ebx
call fcn.1003f120
push edi
lea eax, [esp + 0x58]
push eax
push dword [ebx + 8]
push dword [ebx + 0xc]
call fcn.1006fb74
lea eax, [edi + 1]
add esp, 0x10
mov dword [ebx + 4], edi
mov dword [ebx + 8], eax
test esi, esi
je 0x1001dfa3
push esi
call fcn.1006eaef
add esp, 4
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x1001dfb4
push ecx
call fcn.1006eaef
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x268]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.1006daee
mov esp, ebp
pop ebp
ret 4