Function at 0x41c000
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa98
mov eax, dword [0x459020]
xor eax, esp
mov dword [esp + 0xa94], eax
push esi
push edi
mov dword [esp + 0x44], ecx
call fcn.0041f520
test eax, eax
jne 0x41c042
mov eax, 4
pop edi
pop esi
mov ecx, dword [esp + 0xa94]
xor ecx, esp
call fcn.00423b13
mov esp, ebp
pop ebp
ret
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x41c06d
lea eax, [esi + 5]
pop edi
pop esi
mov ecx, dword [esp + 0xa94]
xor ecx, esp
call fcn.00423b13
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0
push eax
push 0xa
push esi
mov dword [esp + 0x38], 0
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x41c2e7
lea eax, [esp + 0x2c]
push eax
push 1
push 2
push 0
push 0x2000000
push dword [esp + 0x3c]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x41c2e7
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call edi
push 0x208
lea eax, [esp + 0x94]
mov esi, 7
push 0
push eax
call fcn.004259e0
add esp, 0xc
lea eax, [esp + 0x90]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xorps xmm0, xmm0
mov dword [esp + 0x48], 0x44
xor eax, eax
movaps xmmword [esp + 0x30], xmm0
push 0x800
push eax
mov word [esp + 0x92], ax
mov word [esp + 0x80], ax
lea eax, [esp + 0x2a0]
push eax
movlpd qword [esp + 0x58], xmm0
movlpd qword [esp + 0x60], xmm0
movlpd qword [esp + 0x68], xmm0
movlpd qword [esp + 0x70], xmm0
movlpd qword [esp + 0x78], xmm0
movlpd qword [esp + 0x86], xmm0
movlpd qword [esp + 0x8e], xmm0
mov dword [esp + 0x80], 1
call fcn.004259e0
add esp, 0xc
lea edx, [esi + 0x45]
lea ecx, [esp + 0x10]
call fcn.00412330
cmp dword [eax + 0x14], 8
jb 0x41c176
mov eax, dword [eax]
push dword [esp + 0x44]
push eax
lea eax, [esp + 0x98]
push eax
lea eax, [esp + 0x2a4]
push 0x4537a4
push eax
call fcn.0041d6b0
mov edx, dword [esp + 0x38]
add esp, 0x14
cmp edx, 8
jb 0x41c1d4
mov ecx, dword [esp + 0x10]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41c1ca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c307
push edx
push ecx
call fcn.00423b44
add esp, 8
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x2b8]
push eax
lea eax, [esp + 0xb4]
push eax
push dword [esp + 0x54]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x41c2d1
push 0x927c0
push dword [esp + 0x34]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [esp + 0x44]
push eax
push dword [esp + 0x34]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x41c2c5
mov eax, dword [esp + 0x44]
cmp eax, 0x103
je 0x41c2c5
test eax, eax
jne 0x41c269
push dword [esp + 0x34]
xor esi, esi
call edi
push dword [esp + 0x30]
call edi
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0xa94]
xor ecx, esp
call fcn.00423b13
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x41c292
push dword [esp + 0x34]
mov esi, eax
call edi
push dword [esp + 0x30]
call edi
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0xa94]
xor ecx, esp
call fcn.00423b13
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x41c2bb
push dword [esp + 0x34]
mov esi, eax
call edi
push dword [esp + 0x30]
call edi
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0xa94]
xor ecx, esp
call fcn.00423b13
mov esp, ebp
pop ebp
ret
mov ecx, 3
cmp eax, ecx
cmove esi, ecx
push dword [esp + 0x34]
call edi
push dword [esp + 0x30]
call edi
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0xa94]
xor ecx, esp
call fcn.00423b13
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0xa9c]
mov eax, 6
pop edi
pop esi
xor ecx, esp
call fcn.00423b13
mov esp, ebp
pop ebp
ret
call fcn.0042823f
int3