Function at 0x406290
Capabilities:
Create process on windows
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4519e3
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x468850]
xor eax, esp
mov dword [esp + 0x298], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x468850]
xor eax, esp
push eax
lea eax, [esp + 0x2b0]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x2b8], 7
call fcn.00419d0b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4062f2
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov ecx, 0x26
lea esi, [esp + 0x14]
mov byte [esp + 0x2b8], 8
call fcn.00404810
push 1
push 0x459528
mov ecx, esi
call fcn.004021f0
mov eax, dword [esp + 0x2d4]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, esi
call fcn.004021f0
push 1
push 0x459528
mov ecx, esi
call fcn.004021f0
mov eax, dword [esp + 0x2c4]
add eax, 0xfffffff0
push eax
call fcn.00402180
add eax, 0x10
add esp, 4
mov dword [esp + 0x1c], eax
mov bl, 9
lea esi, [esp + 0x1c]
mov byte [esp + 0x2b8], bl
call fcn.00410c20
mov ecx, esi
push ecx
add edi, 0x2e4
lea edx, [esp + 0x1c]
push edi
push edx
call fcn.0040be60
add esp, 0xc
push eax
mov ecx, esi
mov byte [esp + 0x2bc], 0xa
call fcn.00401dd0
mov byte [esp + 0x2b8], bl
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 0x4063c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebp, dword [esp + 0x1c]
push 1
push ecx
lea edi, [ebp - 0x10]
mov dword [esp + 0x28], esp
mov esi, esp
push edi
call fcn.00402180
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x2c4], 0xb
mov eax, dword [esp + 0x2d0]
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov esi, esp
push eax
call fcn.00402180
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [esp + 0x2c4], bl
call fcn.00401200
add esp, 8
mov dword [esp + 0x24], esp
mov esi, esp
push edi
call fcn.00402180
add eax, 0x10
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esi], eax
call fcn.0040d350
add esp, 4
push eax
lea ecx, [esp + 0x2cc]
push ecx
call fcn.0040c000
mov bl, al
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 0x406464
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4066cb
lea ecx, [esp + 0x2dc]
push 0x459de4
push ecx
call fcn.004028b0
add esp, 8
test al, al
je 0x406524
mov edx, dword [esp + 0x2cc]
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], eax
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x34], 0x3c
mov dword [esp + 0x38], 0x40
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], edx
mov dword [esp + 0x50], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [esp + 0x68]
push 0x7d0
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x68]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [esp + 0x2b8], 8
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4066ec
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
jmp 0x4066ec
lea esi, [esp + 0x6c]
call fcn.004110e0
mov ecx, esi
push ecx
lea ecx, [esp + 0x18]
lea edx, [esp + 0x20]
mov byte [esp + 0x2bc], 0xc
call fcn.00411180
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.00419d0b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x406566
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x2b8], 0xd
mov ecx, dword [esp + 0x2cc]
mov edx, dword [esp + 0x14]
push ecx
push edx
lea eax, [esp + 0x20]
push 0x459de8
push eax
call fcn.00402390
mov ecx, dword [esp + 0x2e0]
add esp, 0x10
cmp dword [ecx - 0xc], 0
je 0x406601
lea edx, [esp + 0x2d0]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.0040be60
add esp, 0xc
push eax
lea ecx, [esp + 0x2d4]
mov byte [esp + 0x2bc], 0xe
call fcn.00401dd0
mov byte [esp + 0x2b8], 0xd
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x406601
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2d0]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
push eax
call fcn.00402180
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x2c0], 0xf
mov eax, dword [esp + 0x2c8]
add eax, 0xfffffff0
mov dword [esp + 0x34], esp
mov esi, esp
push eax
call fcn.00402180
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x2c4], 0x10
mov ebx, dword [esp + 0x24]
lea esi, [ebx - 0x10]
mov dword [esp + 0x34], esp
mov ebp, esp
push esi
call fcn.00402180
add eax, 0x10
mov dword [ebp], eax
add esp, 4
mov byte [esp + 0x2c4], 0xd
call fcn.00405fd0
add esp, 0xc
lea ecx, [esp + 0x2d8]
push 0x459de4
push ecx
call fcn.004028b0
add esp, 8
test al, al
je 0x4066a1
push 5
push 0
push 0
push ebx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [esp + 0x2b8], 0xc
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x4066c2
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
lea esi, [esp + 0x6c]
call fcn.00411130
mov byte [esp + 0x2b8], 8
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4066ec
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov byte [esp + 0x2b8], 7
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406714
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2b8], 6
mov eax, dword [esp + 0x2c0]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40673f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2b8], 5
mov eax, dword [esp + 0x2c4]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40676a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2b8], 4
mov eax, dword [esp + 0x2c8]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406795
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2b8], 3
mov eax, dword [esp + 0x2cc]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4067c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2b8], 2
mov eax, dword [esp + 0x2d0]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4067eb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2b8], 1
mov eax, dword [esp + 0x2d4]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406816
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2b8], 0
mov eax, dword [esp + 0x2d8]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406841
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x2b8], 0xffffffff
mov eax, dword [esp + 0x2dc]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40686f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x2b0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x298]
xor ecx, esp
call fcn.00437d66
add esp, 0x2a8
ret 0x20