Function at 0x43e6e4
Capabilities:
Create process on windows
Impersonate user
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
push ebx
push esi
xor esi, esi
push edi
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x48], esi
lea edi, [ebp - 0x44]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x40
stosd dword es:[edi], eax
lea eax, [ebp - 0xb0]
push esi
push eax
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x24], esi
mov word [ebp - 0x34], si
mov dword [ebp - 8], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0xc], esi
call fcn.00489500
xor eax, eax
inc eax
mov dword [ebp - 0x88], eax
mov word [ebp - 0x84], ax
xor eax, eax
add esp, 0xc
cmp word [ebx], 0x22
mov dword [ebp - 0xb4], 0x44
setne al
mov edi, eax
cmp edi, esi
je 0x43e769
mov eax, 0x4f6e48
lea esi, [ebp - 0x38]
call fcn.0042b759
xor esi, esi
push ebx
lea eax, [ebp - 0x38]
push eax
call fcn.0042ad29
cmp edi, esi
je 0x43e785
push 0x4f6e48
lea eax, [ebp - 0x38]
push eax
call fcn.0042ad29
cmp dword [ebp + 8], esi
je 0x43e7a4
push 0x4f352c
lea eax, [ebp - 0x38]
push eax
call fcn.0042ad29
push dword [ebp + 8]
lea eax, [ebp - 0x38]
push eax
call fcn.0042ad29
lea eax, [ebp - 0x18]
push eax
push 0xf01ff
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
jne 0x43e7d0
mov dword [ebp - 8], 0xfffffff9
jmp 0x43eada
and dword [ebp + 8], 0
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x18]
lea ebx, [ebp - 0x1c]
call fcn.00443118
test eax, eax
pop ecx
pop ecx
jne 0x43e7f5
mov dword [ebp - 8], 0xfffffff8
jmp 0x43eada
mov eax, dword [ebp - 0x1c]
push dword [eax]
call fcn.00442ff0
test eax, eax
pop ecx
je 0x43e91e
lea edi, [ebp - 0x14]
call fcn.0044325e
test eax, eax
jne 0x43e820
mov dword [ebp - 8], 0xfffffffe
jmp 0x43eada
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push eax
call fcn.004432fa
test eax, eax
pop ecx
pop ecx
jne 0x43e83e
mov dword [ebp - 8], 0xfffffffd
jmp 0x43eada
push dword [ebp - 0x10]
mov ebx, 0x400
push 0
push ebx
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov edi, eax
test edi, edi
je 0x43eada
lea eax, [ebp - 0xc]
push eax
push 0xf01ff
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
push edi
call esi
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x68]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0xc]
mov dword [ebp - 0x6c], 0x20
call dword [sym.imp.USERENV.dll_LoadUserProfileW]
test eax, eax
jne 0x43e899
push str.cant_load_user_profile_n
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
xor edi, edi
push edi
push dword [ebp - 0xc]
lea eax, [ebp + 8]
push eax
mov dword [ebp + 8], edi
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
jne 0x43e8bb
push str.cant_create_environment_block_n
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
cmp dword [ebp - 0x20], 8
mov eax, dword [ebp - 0x34]
jae 0x43e8c7
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0xb4]
push ecx
push edi
push dword [ebp + 8]
push ebx
push edi
push edi
push edi
push eax
push edi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x43e8f6
push dword [ebp - 0x44]
call esi
push dword [ebp - 0x48]
call esi
mov dword [ebp - 8], edi
cmp dword [ebp + 8], edi
je 0x43e904
push dword [ebp + 8]
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
cmp dword [ebp - 0x50], edi
je 0x43eada
push dword [ebp - 0x50]
push dword [ebp - 0xc]
call dword [sym.imp.USERENV.dll_UnloadUserProfile]
jmp 0x43eada
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
xor edi, edi
lea eax, [ebp + 8]
push eax
mov dword [ebp + 8], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
call fcn.00442f1a
add esp, 0xc
test eax, eax
je 0x43ead3
cmp dword [ebp + 8], 2
jne 0x43ea9b
cmp dword [ebp - 0x10], 6
jb 0x43ea9b
push dword [ebp - 0x18]
call fcn.00443011
pop ecx
call dword [sym.imp.USER32.dll_GetShellWindow]
cmp eax, edi
jne 0x43e978
mov dword [ebp - 8], 0xfffffff6
jmp 0x43eada
lea ecx, [ebp - 0x10]
push ecx
push eax
mov dword [ebp - 0x10], edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
jne 0x43e996
mov dword [ebp - 8], 0xfffffff5
jmp 0x43eada
push dword [ebp - 0x10]
push edi
push 0x400
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
cmp eax, edi
mov dword [ebp - 0x4c], eax
jne 0x43e9b8
mov dword [ebp - 8], 0xfffffff3
jmp 0x43eada
lea ecx, [ebp + 8]
push ecx
push 2
push eax
mov dword [ebp + 8], edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x43ea94
lea eax, [ebp - 0xc]
push eax
push 1
push 2
push edi
push 0x18b
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x43ea8f
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.DLL_LoadLibraryW]
cmp eax, edi
mov dword [ebp - 0x14], eax
je 0x43ea8f
push str.CreateProcessWithTokenW
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov ebx, eax
cmp ebx, edi
je 0x43ea86
cmp dword [ebp - 0x20], 8
mov eax, dword [ebp - 0x34]
jae 0x43ea23
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0xb4]
push ecx
push edi
push edi
push edi
push eax
push edi
push edi
push dword [ebp - 0xc]
call ebx
cmp eax, edi
jne 0x43ea79
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x422
jne 0x43ea86
call fcn.0043eb11
test eax, eax
je 0x43ea86
cmp dword [ebp - 0x20], 8
mov eax, dword [ebp - 0x34]
jae 0x43ea5f
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0xb4]
push ecx
push edi
push edi
push edi
push eax
push edi
push edi
push dword [ebp - 0xc]
call ebx
cmp eax, edi
je 0x43ea86
push dword [ebp - 0x44]
call esi
push dword [ebp - 0x48]
call esi
mov dword [ebp - 8], edi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
push dword [ebp + 8]
call esi
push dword [ebp - 0x4c]
call esi
jmp 0x43eada
cmp dword [ebp - 0x20], 8
mov eax, dword [ebp - 0x34]
jae 0x43eaa7
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0xb4]
push ecx
push edi
push edi
push edi
push edi
push edi
push edi
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
test eax, eax
je 0x43eada
push dword [ebp - 0x44]
call esi
push dword [ebp - 0x48]
call esi
and dword [ebp - 8], edi
jmp 0x43eada
mov dword [ebp - 8], 0xfffffff4
xor edi, edi
cmp dword [ebp - 0x18], edi
je 0x43eae6
push dword [ebp - 0x18]
call esi
cmp dword [ebp - 0xc], edi
je 0x43eaf0
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 0x1c], edi
je 0x43eafe
push dword [ebp - 0x1c]
call fcn.004896b0
pop ecx
push edi
push 1
lea esi, [ebp - 0x38]
call fcn.00407df0
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret