Function at 0x404eb0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43c5f3
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x219c
call fcn.00429100
mov eax, dword [0x44e6d0]
xor eax, esp
mov dword [esp + 0x2198], eax
push ebx
push esi
push edi
mov eax, dword [0x44e6d0]
xor eax, esp
push eax
lea eax, [esp + 0x21b0]
mov dword fs:[0], eax
push 0x44
xor ebx, ebx
lea eax, [esp + 0x38]
mov esi, ecx
push ebx
push eax
mov dword [esp + 0x28], esi
call fcn.00425fa0
add esp, 0xc
mov dword [esp + 0x34], 0x44
mov dword [esp + 0x3c], ebx
call fcn.004093f2
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x404f33
push 0x80004005
call fcn.00401770
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x7c]
push ecx
mov dword [esp + 0x21bc], ebx
call fcn.00401a00
mov byte [esp + 0x21b8], 1
mov edx, dword [0x45eebc]
mov dword [esp + 0xf8], 1
mov eax, dword [edx - 0xc]
cmp eax, ebx
jne 0x405005
cmp word [0x45bc88], bx
je 0x404fb1
mov eax, 0x45bc88
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x404f90
sub eax, edx
sar eax, 1
push eax
push 0x45bc88
mov ecx, 0x45eebc
call fcn.004017c0
jmp 0x405005
lea eax, [esp + 0x14]
push eax
mov edi, 0x307
call fcn.00402440
add esp, 4
push eax
mov ecx, 0x45eebc
mov byte [esp + 0x21bc], 2
call fcn.00406fc0
mov byte [esp + 0x21b8], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404ffe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xf8], ebx
push 0x45eebc
lea ecx, [esp + 0xf4]
call fcn.00406fc0
mov eax, 0x45cc88
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x405020
sub eax, edx
sar eax, 1
push eax
push 0x45cc88
lea ecx, [esp + 0xfc]
call fcn.004017c0
cmp dword [0x45dc88], ebx
jne 0x40505b
lea ecx, [esp + 0x7c]
call fcn.00408ce8
cmp eax, 1
jne 0x405455
cmp dword [0x45aa84], ebx
je 0x4052c3
mov dx, word [0x45aaf0]
cmp dx, bx
je 0x4052c3
xor eax, eax
lea esp, [esp]
movzx ecx, word [eax + 0x444634]
mov word [esp + eax + 0x1a4], cx
add eax, 2
cmp cx, bx
jne 0x405080
cmp dx, 0x5c
je 0x405115
mov eax, 0x45aaf0
mov edx, eax
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4050a4
lea edi, [esp + 0x1a4]
sub eax, edx
add edi, 0xfffffffe
jmp 0x4050c0
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x4050c0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x1a4]
rep movsb byte es:[edi], byte [esi]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
cmp cx, bx
jne 0x4050e6
mov ecx, dword [str.ADMIN_]
mov edx, dword [0x444640]
mov dword [eax], ecx
mov ecx, dword [0x444644]
mov dword [eax + 4], edx
mov edx, dword [0x444648]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [esp + 0xf0]
push eax
mov ecx, 0x45eebc
call fcn.00406fc0
mov edx, dword [esp + 0xf4]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
dec eax
or eax, ecx
jge 0x405153
push 1
lea ecx, [esp + 0xf8]
call fcn.004016c0
mov edx, dword [esp + 0xf4]
mov esi, edx
mov edx, dword [esp + 0xf0]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
dec eax
or eax, ecx
jge 0x405181
push 1
lea ecx, [esp + 0xf4]
call fcn.004016c0
mov edx, dword [esp + 0xf0]
push esi
lea ecx, [esp + 0x1a8]
call fcn.00402910
add esp, 4
test eax, eax
je 0x4051a3
mov ecx, dword [esp + 0x1c]
call fcn.00404a90
jmp 0x405455
cmp dword [0x45aa84], ebx
je 0x405223
cmp word [0x45aaf0], bx
je 0x405223
mov ecx, dword [0x45eebc]
push 0x44464c
push ecx
call fcn.00425ca8
add esp, 8
test eax, eax
jne 0x405223
push 0x45aaf0
lea ecx, [esp + 0x24]
call fcn.004018e0
push 0x443f70
lea ecx, [esp + 0x24]
call fcn.00406930
push 0x45eebc
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.00406b20
add esp, 0xc
push eax
mov ecx, 0x45eebc
mov byte [esp + 0x21bc], 3
call fcn.00407030
lea ecx, [esp + 0x14]
mov byte [esp + 0x21b8], 1
call fcn.004012b0
lea ecx, [esp + 0x18]
push ecx
mov edi, 0x93
call fcn.00402440
add esp, 4
mov esi, eax
lea edx, [esp + 0x14]
mov bl, 4
push edx
mov edi, 0x308
mov byte [esp + 0x21bc], bl
call fcn.00402440
add esp, 4
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x21b8], 5
mov esi, dword [esi]
mov eax, dword [eax]
push 0
push esi
push eax
call fcn.0040af69
mov byte [esp + 0x21b8], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405292
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x21b8], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405455
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x405455
lea ecx, [esp + 0xf0]
push ecx
mov ecx, 0x45eebc
call fcn.00406fc0
lea edx, [esp + 0x1a4]
push edx
call fcn.00405950
xor eax, eax
jmp 0x4052f0
movzx ecx, word [eax + 0x454a78]
mov word [esp + eax + 0x11a4], cx
add eax, 2
cmp cx, bx
jne 0x4052f0
cmp word [0x45ac80], bx
je 0x40532e
push 0x45ac80
push str.128___s_
lea edx, [esp + 0x1ac]
call fcn.00402400
add esp, 8
jmp 0x4053ec
cmp dword [0x45aa84], ebx
je 0x405379
cmp word [0x45aaf0], bx
je 0x405379
push 0x45aaf0
push str.__s
lea edx, [esp + 0x1ac]
call fcn.00402400
add esp, 8
xor eax, eax
lea ebx, [ebx]
movzx ecx, word [eax + 0x453a78]
mov word [esp + eax + 0x11a4], cx
add eax, 2
cmp cx, bx
jne 0x405360
jmp 0x4053ec
cmp word [0x45dc90], bx
je 0x4053ec
lea edi, [esp + 0x1a4]
add edi, 0xfffffffe
lea esp, [esp]
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x405390
mov eax, dword [0x444580]
mov dword [edi], eax
mov eax, 0x45dc90
mov edx, eax
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4053b0
lea edi, [esp + 0x1a4]
sub eax, edx
add edi, 0xfffffffe
jmp 0x4053d0
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x4053d0
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, [esp + 0x24]
push ecx
lea edx, [esp + 0x38]
push edx
mov edx, dword [esp + 0xfc]
push ebx
push ebx
push 0x20
lea eax, [esp + 0x1b8]
push eax
mov eax, dword [esp + 0x108]
lea ecx, [esp + 0x11bc]
push ecx
push ebx
push edx
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_CreateProcessWithLogonW]
test eax, eax
je 0x4054b5
mov ecx, dword [esp + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
push ebx
push 2
mov dword [0x45ec9c], edx
mov edx, dword [ecx + 0x20]
push 0x111
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [esp + 0x7c]
mov byte [esp + 0x21b8], 0
call fcn.00401ae0
mov dword [esp + 0x21b8], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405491
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x21b0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2198]
xor ecx, esp
call fcn.00425186
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0x52e
jne 0x405549
lea eax, [esp + 0x14]
push eax
mov edi, 0x93
call fcn.00402440
add esp, 4
mov esi, eax
lea ecx, [esp + 0x18]
mov bl, 6
push ecx
mov edi, 0x309
mov byte [esp + 0x21bc], bl
call fcn.00402440
add esp, 4
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x21b8], 7
mov esi, dword [esi]
mov eax, dword [eax]
push 0x10
push esi
push eax
call fcn.0040af69
mov byte [esp + 0x21b8], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x405538
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x21b8], 1
mov eax, dword [esp + 0x14]
jmp 0x40529e
lea ecx, [esp + 0x18]
push ecx
mov edi, 0x306
call fcn.00402440
mov eax, dword [eax]
add esp, 4
push esi
push eax
lea edx, [esp + 0x11ac]
call fcn.00402400
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40558e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
push ecx
mov edi, 0x93
call fcn.00402440
add esp, 4
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x21b8], 8
mov eax, dword [eax]
push 0x10
push eax
lea edx, [esp + 0x11ac]
push edx
call fcn.0040af69
jmp 0x405292