Function at 0x404480
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43c376
mov eax, dword fs:[0]
push eax
mov eax, 0x209c
call fcn.00429100
mov eax, dword [0x44e6d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
push 0x44
lea eax, [ebp - 0x20a8]
mov esi, ecx
push edi
push eax
mov dword [ebp - 0x2020], esi
mov dword [ebp - 0x2018], edi
call fcn.00425fa0
add esp, 0xc
push 8
push 0x40
mov dword [ebp - 0x20a8], 0x44
mov dword [ebp - 0x2034], 0xc
mov dword [ebp - 0x202c], edi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
mov dword [ebp - 0x201c], ebx
cmp ebx, edi
je 0x404875
push 1
lea ecx, [ebp - 0x205c]
push ecx
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x404847
push 2
push 8
push ebx
call dword [sym.imp.ADVAPI32.dll_InitializeAcl]
test eax, eax
je 0x404847
push edi
push ebx
push 1
lea edx, [ebp - 0x205c]
push edx
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x404847
lea ecx, [ebp - 0x1010]
lea eax, [ebp - 0x205c]
push ecx
mov dword [ebp - 0x2030], eax
call fcn.00405950
cmp word [0x45ac80], di
je 0x404586
push 0x45ac80
push str.128___s_
lea edx, [ebp - 0x1010]
call fcn.00402400
add esp, 8
jmp 0x4045f2
cmp word [0x45dc90], di
je 0x4045f2
lea edi, [ebp - 0x1010]
add edi, 0xfffffffe
jmp 0x4045a0
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4045a0
mov edx, dword [0x444580]
mov eax, 0x45dc90
mov dword [edi], edx
mov edx, eax
jmp 0x4045c0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4045c0
lea edi, [ebp - 0x1010]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4045d6
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor esi, esi
call fcn.004024d0
mov dword [ebp - 0x2024], 0xffffffff
cmp dword [0x45bc80], esi
je 0x40463d
mov eax, dword [0x45aaec]
test eax, eax
je 0x40463d
call eax
mov edi, eax
lea eax, [ebp - 0x2024]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [0x45bc80]
test eax, eax
je 0x40463d
xor ecx, ecx
cmp dword [ebp - 0x2024], edi
setne cl
mov esi, ecx
cmp dword [0x45395c], 6
jae 0x404799
test esi, esi
jne 0x404799
call fcn.00403060
push eax
push esi
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x404847
mov ebx, dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea edx, [ebp - 0x2014]
push edx
push 0x2000000
push esi
call ebx
test eax, eax
je 0x404787
mov edx, dword [ebp - 0x2014]
lea eax, [ebp - 0x2048]
push eax
push 0
lea ecx, [ebp - 0x2028]
push ecx
push 0
push 0
push 4
push 6
push edx
call dword [sym.imp.ADVAPI32.dll_GetSecurityInfo]
test eax, eax
jne 0x40477a
mov edi, dword [sym.imp.ADVAPI32.dll_SetSecurityInfo]
push eax
push eax
push eax
push eax
mov eax, dword [ebp - 0x2014]
push 4
push 6
push eax
call edi
test eax, eax
jne 0x404760
mov ecx, dword [ebp - 0x2014]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x2014]
push edx
push 0x2000000
push esi
call ebx
test eax, eax
je 0x404760
mov eax, dword [ebp - 0x2014]
push eax
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
je 0x404760
lea ecx, [ebp - 0x2044]
push ecx
mov ecx, dword [ebp - 0x2014]
lea edx, [ebp - 0x20a8]
push edx
push 0
push 0
push 0x4000000
push 0
push 0
push 0
lea eax, [ebp - 0x1010]
push eax
push 0x454a78
push ecx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov dword [ebp - 0x2018], eax
test eax, eax
je 0x404760
mov edx, dword [ebp - 0x2040]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x2044]
mov dword [0x45ec9c], eax
mov ecx, dword [ebp - 0x2028]
mov edx, dword [ebp - 0x2014]
push 0
push ecx
push 0
push 0
push 4
push 6
push edx
call edi
mov eax, dword [ebp - 0x2014]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x201c]
jmp 0x404847
xor eax, eax
jmp 0x4047a0
movzx ecx, word [eax + 0x444584]
mov word [ebp + eax - 0x2010], cx
add eax, 2
test cx, cx
jne 0x4047a0
lea eax, [ebp - 0x1010]
mov edx, eax
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4047c0
lea edi, [ebp - 0x2010]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4047d6
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x2044]
push ecx
lea edx, [ebp - 0x20a8]
push edx
push 0
push 0
push 0x20
push 0
lea eax, [ebp - 0x2034]
push eax
mov ecx, eax
push ecx
lea edx, [ebp - 0x2010]
push edx
push 0x453a78
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x2018], eax
test eax, eax
je 0x404847
mov eax, dword [ebp - 0x2040]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x2044]
mov dword [0x45ec9c], ecx
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x2018], 0
je 0x404875
mov edx, dword [ebp - 0x2020]
mov eax, dword [edx + 0x20]
push 0
push 2
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x404909
lea ecx, [ebp - 0x2018]
push ecx
mov edi, 0x93
call fcn.00402440
mov esi, eax
lea edx, [ebp - 0x201c]
push edx
mov edi, 0x305
mov dword [ebp - 4], 0
call fcn.00402440
add esp, 8
mov ecx, dword [ebp - 0x2020]
mov byte [ebp - 4], 1
mov esi, dword [esi]
mov eax, dword [eax]
push 0x10
push esi
push eax
call fcn.0040af69
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x201c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4048e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2018]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404909
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00425186
mov esp, ebp
pop ebp
ret