Function at 0x40b1a0
Capabilities:
Create process on windows
Get common file path
Impersonate user

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41cf6b
mov eax, dword fs:[0]
push eax
sub esp, 0x89c
mov eax, dword [0x4263d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x84c]
push eax
call fcn.0040f8d0
add esp, 4
cmp dword [ebp - 0x83c], 0
mov dword [ebp - 4], 0
je 0x40b5a8
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x84c]
cmp dword [ebp - 0x838], 8
lea edx, [ebp - 0x628]
cmovae ecx, dword [ebp - 0x84c]
sub edx, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x40b222
push str.AcroCEFRdrServicesUpdater.exe
lea eax, [ebp - 0x628]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
lea eax, [ebp - 0x830]
push str.__postMsg
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp - 0x218]
push eax
push 0x80000001
call fcn.0040afe0
add esp, 0x20
lea eax, [ebp - 0x218]
mov ecx, 0x104
cmp word [eax], 0
je 0x40b2c4
add eax, 2
sub ecx, 1
jne 0x40b2b6
mov esi, 0x104
mov edx, ecx
mov eax, esi
sub eax, ecx
neg edx
sbb edx, edx
and edx, eax
test ecx, ecx
je 0x40b2dd
test edx, edx
jne 0x40b33a
lea eax, [ebp - 0x218]
push eax
push 0x80000002
call fcn.0040afe0
add esp, 8
lea eax, [ebp - 0x218]
mov ecx, esi
nop dword [eax]
cmp word [eax], 0
je 0x40b30e
add eax, 2
sub ecx, 1
jne 0x40b300
sub esi, ecx
mov eax, ecx
neg eax
sbb eax, eax
and eax, esi
test ecx, ecx
je 0x40b320
test eax, eax
jne 0x40b33a
push str.explorer.exe
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0xc
lea esi, [ebp - 0x218]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x40b343
push 0
push 0
push 0
lea eax, [ebp - 0x218]
sub esi, ecx
push eax
sar esi, 1
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
lea ecx, [esi + 1]
cmp ecx, eax
jne 0x40b375
lea eax, [ebp - 0x218]
push eax
jmp 0x40b3d4
push 0x104
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x40b3cf
cmp eax, 0x104
ja 0x40b3cf
push 0x41e808
lea eax, [ebp - 0x420]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
add esp, 0xc
test eax, eax
jne 0x40b5a8
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
jmp 0x40b3e6
push str.C:Windowsexplorer.exe
lea eax, [ebp - 0x420]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0xc
test eax, eax
jne 0x40b5a8
lea eax, [ebp - 0x420]
push eax
call fcn.0040ad60
mov esi, eax
add esp, 4
test esi, esi
je 0x40b5a8
xor edi, edi
lea eax, [ebp - 0x890]
push 0x44
push edi
push eax
mov dword [ebp - 0x898], edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x894], edi
xorps xmm0, xmm0
movups xmmword [ebp - 0x8a8], xmm0
push esi
push edi
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x40b50a
lea eax, [ebp - 0x898]
push eax
push 0xb
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x40b50a
lea eax, [ebp - 0x894]
push eax
push 1
push 2
push edi
push 0x18b
push dword [ebp - 0x898]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x40b50a
lea eax, [ebp - 0x834]
mov dword [ebp - 0x890], 0x44
push eax
mov dword [ebp - 0x834], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
jne 0x40b567
mov dword [ebp - 0x834], edi
lea eax, [ebp - 0x8a8]
push eax
lea eax, [ebp - 0x890]
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x628]
push eax
push dword [ebp - 0x894]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov edi, eax
test edi, edi
je 0x40b50a
mov eax, dword [ebp - 0x8a8]
test eax, eax
je 0x40b50a
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x898]
test eax, eax
je 0x40b51b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x40b526
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x8a8]
test eax, eax
je 0x40b537
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x8a4]
test eax, eax
je 0x40b548
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x894]
test eax, eax
je 0x40b559
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov esi, 0x5b
test edi, edi
cmovne esi, eax
jmp 0x40b5ad
cmp dword [ebp - 0x834], edi
je 0x40b4ba
lea eax, [ebp - 0x8a8]
push eax
lea eax, [ebp - 0x890]
push eax
push 0
push 0
push 0x10
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x628]
push eax
push 0
push dword [ebp - 0x894]
call dword [sym.imp.ADVAPI32.dll_CreateProcessWithTokenW]
jmp 0x40b4ee
mov esi, 0x5b
mov ecx, dword [ebp - 0x838]
mov dword [ebp - 4], 1
cmp ecx, 8
jb 0x40b5d2
inc ecx
push ecx
push dword [ebp - 0x84c]
lea ecx, [ebp - 0x84c]
call fcn.0040a160
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041b330
mov esp, ebp
pop ebp
ret