Function at 0x420900
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55fcd1
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x5a800c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x244], edx
mov eax, ecx
mov dword [ebp - 0x240], eax
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x420948
mov dword [esi], 0
call fcn.00402520
mov edi, eax
cmp dword [edi + 0x10], 0
jne 0x42095c
xor al, al
jmp 0x420db8
lea ecx, [ebp - 0x44]
call fcn.00402410
mov dword [ebp - 4], 0
mov edx, ecx
mov ecx, dword [ebp - 0x240]
call fcn.0041b910
mov edx, dword [ebp - 0x240]
lea ecx, [ebp - 0xd0]
call fcn.0041b230
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xd0]
call fcn.004023c0
mov edx, 0x57f884
mov ecx, eax
call fcn.00418de0
cmp byte [ebp + 8], 0
mov byte [ebp - 0x239], al
je 0x4209fa
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
call fcn.0042cc70
mov byte [ebp - 4], 2
mov al, byte [ebp - 0x239]
mov byte [ebp - 0x239], al
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea ecx, [ebp - 0x14]
call fcn.0042daf0
neg al
sbb al, al
and byte [ebp - 0x239], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.0042ccf0
mov al, byte [ebp - 0x239]
test al, al
je 0x420bfe
xorps xmm0, xmm0
mov dword [ebp - 0x88], 0x44
xor eax, eax
movlpd qword [ebp - 0x84], xmm0
mov word [ebp - 0x46], ax
lea ecx, [ebp - 0x2c]
mov eax, 1
movlpd qword [ebp - 0x7c], xmm0
movlpd qword [ebp - 0x74], xmm0
movlpd qword [ebp - 0x6c], xmm0
movlpd qword [ebp - 0x64], xmm0
movlpd qword [ebp - 0x56], xmm0
movlpd qword [ebp - 0x4e], xmm0
movups xmmword [ebp - 0x1fc], xmm0
mov word [ebp - 0x58], ax
mov dword [ebp - 0x5c], 0x81
call fcn.00402410
mov byte [ebp - 4], 3
call fcn.00402520
mov dword [ebp - 0x248], eax
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x24c], edx
cmp edx, 0x104
ja 0x420aa6
cmp dword [eax + 0x14], 0x104
jae 0x420aa6
mov byte [ebp - 0x14], 0
mov eax, 0x104
push dword [ebp - 0x14]
sub eax, edx
push eax
call fcn.0040ff30
mov eax, dword [ebp - 0x248]
mov ecx, dword [ebp - 0x24c]
mov dword [eax + 0x10], ecx
mov ecx, 0x57f840
call fcn.004028c0
push eax
push 0x57f840
lea ecx, [ebp - 0x2c]
call fcn.00402610
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x420ac8
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x2c]
push eax
call fcn.004067c0
mov ecx, 0x57f840
call fcn.004028c0
push eax
push 0x57f840
lea ecx, [ebp - 0x2c]
call fcn.004067c0
mov ecx, dword [ebp - 0x244]
call fcn.00402520
mov edi, eax
cmp dword [edi + 0x10], 0
je 0x420b2d
mov ecx, 0x57f844
call fcn.004028c0
push eax
push 0x57f844
lea ecx, [ebp - 0x2c]
call fcn.004067c0
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x420b21
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x2c]
push eax
call fcn.004067c0
lea ecx, [ebp - 0x44]
call fcn.00402520
mov eax, dword [eax + 0x10]
test eax, eax
je 0x420b44
lea ecx, [ebp - 0x44]
call fcn.004023c0
lea ecx, [ebp - 0x1fc]
push ecx
lea ecx, [ebp - 0x88]
push ecx
push eax
push 0
push 0x30
push 0
push 0
push 0
lea ecx, [ebp - 0x2c]
call fcn.004023c0
mov edi, dword [ebp - 0x240]
mov ecx, edi
push eax
call fcn.004023c0
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x420bf0
mov eax, dword [ebp - 0x1f8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x420b9b
push eax
call edi
mov dword [ebp - 0x1f8], 0
mov eax, dword [ebp - 0x1fc]
test eax, eax
jne 0x420bb7
mov byte [ebp - 0x239], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
jmp 0x420d8f
test esi, esi
je 0x420bd0
mov dword [esi], eax
mov byte [ebp - 0x239], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
jmp 0x420d8f
push eax
call edi
mov dword [ebp - 0x1fc], 0
mov byte [ebp - 0x239], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
jmp 0x420d8f
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00402400
jmp 0x420c04
mov edi, dword [ebp - 0x240]
push str.open
lea ecx, [ebp - 0xa0]
call fcn.00404ba0
mov byte [ebp - 4], 4
cmp byte [ebp + 8], 0
je 0x420c4d
lea ecx, [ebp - 0x1ec]
call fcn.00420fc0
cmp dword [ebp - 0x1e8], 6
jb 0x420c4d
mov ecx, str.runas
call fcn.004028c0
push eax
push str.runas
lea ecx, [ebp - 0xa0]
call fcn.00402610
push dword [ebp - 0x244]
lea ecx, [ebp - 0xb8]
call fcn.00402430
mov byte [ebp - 4], 5
xorps xmm0, xmm0
lea ecx, [ebp - 0xa0]
movlpd qword [ebp - 0x218], xmm0
movlpd qword [ebp - 0x210], xmm0
movlpd qword [ebp - 0x208], xmm0
mov dword [ebp - 0x200], 0
mov dword [ebp - 0x238], 0x3c
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x234], 0x100540
call fcn.004023c0
mov ecx, edi
mov dword [ebp - 0x22c], eax
call fcn.004023c0
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x228], eax
call fcn.004023c0
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x220], eax
call fcn.004023c0
push str.Shell32.dll
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x21c], 1
call fcn.00404ba0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x2c]
push eax
call fcn.00424480
mov ecx, eax
call fcn.00424540
mov edi, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.00402400
test edi, edi
je 0x420d6f
push str.ShellExecuteExW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x420d6f
lea ecx, [ebp - 0x238]
push ecx
call eax
test eax, eax
je 0x420d6f
mov eax, dword [ebp - 0x200]
test eax, eax
je 0x420d6f
test esi, esi
je 0x420d55
mov dword [esi], eax
mov byte [ebp - 0x239], 1
jmp 0x420d76
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x200], 0
mov byte [ebp - 0x239], 1
jmp 0x420d76
mov byte [ebp - 0x239], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xb8]
call fcn.00402400
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa0]
call fcn.00402400
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd0]
call fcn.00402400
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00402400
mov al, byte [ebp - 0x239]
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.0055929f
mov esp, ebp
pop ebp
ret