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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 5
push 0
push 0
dec ecx
jne 0x4212a9
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov byte [ebp - 6], cl
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x421b28
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
mov al, byte [ebp - 6]
cmp eax, 7
ja case.0x4212de.0
jmp dword [eax*4 + 0x4212e5]
cmp byte [ebp - 5], 0
jne 0x421465
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x13c]
mov eax, dword [eax + 0xec]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jne 0x421465
call fcn.00421288
test al, al
je 0x421366
mov eax, dword [0x4236b4]
cmp byte [eax], 0
je 0x42134e
mov eax, dword [0x423634]
mov dword [eax], 1
jmp 0x421af0
mov cx, word [0x421b38]
mov dl, 2
mov eax, 0x421b44
call fcn.004115e4
jmp 0x421af0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x188]
xor edx, edx
call fcn.00414eec
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18c]
xor edx, edx
call fcn.00414eec
mov eax, dword [0x4236c8]
mov eax, dword [eax]
mov edx, 2
call fcn.0041349c
push eax
call sub.user32.dll_SetCursor
lea eax, [ebp - 0x14]
call fcn.0041946c
call fcn.0041a210
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [0x4236a4]
mov eax, dword [eax]
mov ecx, 0x421bac
xor edx, edx
call fcn.0041faf8
mov ebx, eax
call fcn.0041a208
test bl, bl
je 0x421437
xor eax, eax
push ebp
push 0x4213fb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x13c]
mov eax, dword [eax + 0xec]
mov edx, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x54]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x421405
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x14]
call fcn.00404b3c
mov eax, dword [ebp - 0x24]
call fcn.00403568
push eax
call sub.kernel32.dll_DeleteFileW
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x138]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x12c]
call fcn.0040d998
jmp 0x421465
mov eax, dword [0x4236b4]
cmp byte [eax], 0
je 0x42144e
mov eax, dword [0x423634]
mov dword [eax], 2
jmp 0x421465
mov eax, dword [ebp - 4]
mov byte [eax + 0x190], 1
mov eax, dword [ebp - 4]
mov dword [eax + 0xf4], 2
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x13c]
jmp case.0x4212de.0
cmp byte [ebp - 5], 1
jne 0x4214a3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x140]
call fcn.004104c0
test al, al
jne 0x4214a3
mov cx, word [0x421b38]
mov dl, 2
mov eax, 0x421bc0
call fcn.004115e4
jmp 0x421af0
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x148]
jmp case.0x4212de.0
cmp byte [ebp - 5], 2
jne 0x4214e0
mov eax, dword [ebp - 4]
call fcn.00420bc4
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x148]
call fcn.00414f44
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
add eax, 0x1a4
call fcn.00402ea8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x15c]
mov eax, dword [eax + 0xd8]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x421550
inc eax
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x194]
mov edx, esi
call fcn.00407058
and eax, 0x7f
mov edx, dword [0x4236b0]
mov edx, dword [edx + eax*4]
lea eax, [ebp - 0x2c]
call fcn.00403008
mov edx, dword [ebp - 0x2c]
mov eax, dword [0x4236a4]
mov eax, dword [eax]
call fcn.0041fe4c
mov ecx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x15c]
mov eax, dword [eax + 0xd8]
mov edx, esi
mov ebx, dword [eax]
call dword [ebx + 0x24]
inc esi
dec dword [ebp - 0x1c]
jne 0x4214ff
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x15c]
mov eax, dword [ebp - 4]
call fcn.00421120
jmp case.0x4212de.0
mov eax, dword [ebp - 4]
call fcn.00422320
mov edx, eax
xor dl, 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x16c]
call fcn.00414eb0
mov eax, dword [ebp - 4]
call fcn.00422320
mov edx, eax
xor dl, 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x170]
call fcn.00414eb0
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x188]
jmp case.0x4212de.0
call fcn.00421288
test al, al
je case.0x4212de.0
mov eax, dword [0x4236b4]
cmp byte [eax], 0
je 0x4215d1
mov eax, dword [0x423634]
mov dword [eax], 1
jmp 0x421af0
mov eax, 0x421b44
mov cx, word [0x421b38]
mov dl, 2
call fcn.004115e4
jmp 0x421af0
lea eax, [ebp - 0x14]
mov edx, 0x19
call fcn.00403400
mov esi, dword [ebp - 0x14]
mov dword [esi], 1
lea eax, [esi + 4]
mov dword [eax], 8
call fcn.00405824
lea edi, [esi + 8]
fstp qword [edi]
wait
mov eax, edi
add eax, 8
mov dword [eax], 2
add eax, 4
mov dword [eax], 1
mov byte [esi + 0x18], 0x31
lea ecx, [ebp - 0x2c]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00420a64
lea eax, [ebp - 0x2c]
mov edx, 0x421c20
call fcn.004030d8
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x14]
call fcn.00419dc8
mov eax, dword [ebp - 4]
call fcn.00422320
test al, al
jne case.0x4212de.0
xor esi, esi
mov edi, 0x423620
mov eax, 0x423628
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x16c]
call fcn.004104c0
test al, al
je 0x4216ab
lea edx, [ebp - 0xc]
mov eax, dword [edi]
call fcn.00419354
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
call fcn.00419354
cmp dword [ebp - 0xc], 0
jne 0x4216d3
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x10]
call fcn.00402eec
jmp 0x4216d3
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
call fcn.00419354
lea edx, [ebp - 0x10]
mov eax, dword [edi]
call fcn.00419354
cmp dword [ebp - 0xc], 0
jne 0x4216d3
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x10]
call fcn.00402eec
cmp dword [ebp - 0x10], 0
je 0x421702
lea ecx, [ebp - 0x2c]
mov edx, 0x421c38
mov eax, dword [ebp - 0x10]
call fcn.0041a000
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x24]
call fcn.00404b3c
mov eax, dword [ebp - 0x24]
call fcn.00403568
push eax
call sub.kernel32.dll_DeleteFileW
test esi, esi
je 0x421718
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x170]
call fcn.004104c0
test al, al
je 0x421753
push 0x421c5c
lea ecx, [ebp - 0x2c]
mov edx, 0x421cac
mov eax, dword [ebp - 4]
call fcn.00420ba8
mov eax, dword [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x30]
mov edx, 0x421c38
mov eax, dword [ebp - 0xc]
call fcn.0041a000
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x1a4]
pop edx
call fcn.0041a028
inc esi
add dword [ebp - 0x20], 4
add edi, 4
cmp esi, 2
jne 0x42166f
jmp case.0x4212de.0
mov eax, dword [ebp - 4]
call fcn.00422320
test al, al
jne 0x42177a
mov eax, dword [ebp - 4]
call fcn.00422710
mov eax, dword [0x4236b4]
cmp byte [eax], 0
jne 0x4217c6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x180]
call fcn.004104c0
test al, al
je 0x4217c6
push 5
lea ecx, [ebp - 0x30]
mov edx, 0x421cbc
mov eax, dword [ebp - 4]
call fcn.00420ba8
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
mov edx, 0x421cd0
call fcn.0040311c
mov eax, dword [ebp - 0x2c]
call fcn.00403294
push eax
call sub.kernel32.dll_WinExec
mov eax, dword [ebp - 4]
mov byte [eax + 0x190], 1
mov eax, dword [ebp - 4]
mov dword [eax + 0xf4], 1
jmp 0x421af0
cmp byte [ebp - 6], 0
setne dl
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x184]
call fcn.00414eb0
cmp byte [ebp - 6], 5
setb dl
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x184]
call fcn.00414eec
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x184]
mov edx, 0x421cdc
call fcn.00414f74
cmp byte [ebp - 6], 5
setne dl
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x188]
call fcn.00414eec
cmp byte [ebp - 6], 6
jne 0x42184f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x188]
mov edx, 0x421cec
call fcn.00414f74
jmp 0x421862
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x188]
mov edx, 0x421cfc
call fcn.00414f74
cmp byte [ebp - 6], 6
setne dl
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18c]
call fcn.00414eec
mov edx, dword [0x4236ac]
mov edx, dword [edx + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18c]
call fcn.00414f74
lea eax, [ebp - 0x2c]
movzx edi, byte [ebp - 6]
mov edx, dword [0x42368c]
mov edx, dword [edx + edi*4]
call fcn.00403008
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x124]
call fcn.00414f74
mov edx, edi
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x12c]
mov eax, dword [esi + 0xdc]
call fcn.00407058
mov edx, eax
mov eax, esi
call fcn.0040d998
test ebx, ebx
je 0x4218de
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x64]
cmp byte [ebp - 6], 5
jne 0x421ac4
mov dl, 1
mov eax, dword [0x406868]
call fcn.004026bc
mov edx, dword [0x423638]
mov dword [edx], eax
mov eax, dword [ebp - 4]
call fcn.00422320
test al, al
jne 0x42196b
lea ecx, [ebp - 0x2c]
mov edx, 0x421d0c
mov eax, dword [ebp - 4]
call fcn.00420ba8
mov edx, dword [ebp - 0x2c]
mov eax, dword [0x423650]
call fcn.00402ea8
mov eax, dword [0x423650]
mov eax, dword [eax]
call fcn.00404c74
test al, al
je 0x42196b
xor eax, eax
push ebp
push 0x421961
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x423650]
mov edx, dword [edx]
mov eax, dword [0x423638]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x54]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x42196b
mov eax, dword [0x423640]
mov byte [eax], 1
mov eax, dword [ebp - 4]
mov dl, byte [0x421d18]
mov byte [eax + 0x198], dl
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x15c]
mov eax, dword [eax + 0xd8]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
cmp esi, 0
jl 0x4219d9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x15c]
mov edx, esi
call fcn.004185b4
test al, al
je 0x4219d3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x194]
mov edx, esi
call fcn.00407058
mov edx, dword [ebp - 4]
cmp al, 7
ja 0x4219d3
and eax, 0x7f
bts dword [edx + 0x198], eax
dec esi
cmp esi, 0xffffffff
jne 0x42199e
mov eax, dword [0x4236b8]
mov byte [eax], 1
mov eax, dword [ebp - 4]
call fcn.00420d24
mov byte [ebp - 0x15], 0
xor ebx, ebx
xor eax, eax
mov al, bl
mov edx, dword [0x4236a4]
mov edx, dword [edx]
mov eax, dword [edx + eax*4 + 0x10]
mov eax, dword [eax + 4]
test eax, eax
jle 0x421a72
xor edx, edx
mov dl, bl
mov ecx, dword [0x4236a4]
mov ecx, dword [ecx]
dec eax
test eax, eax
jl 0x421a72
inc eax
mov dword [ebp - 0x1c], eax
xor esi, esi
xor eax, eax
mov al, bl
mov edx, dword [0x4236a4]
mov edx, dword [edx]
mov eax, dword [edx + eax*4 + 0x10]
mov eax, dword [eax + 0x14]
mov edi, dword [eax + esi*4]
cmp byte [edi + 0xc], 0
jne 0x421a3e
call fcn.0041a210
mov eax, dword [edi + 8]
push eax
mov edx, dword [edi + 4]
mov eax, dword [0x4236a4]
mov eax, dword [eax]
xor ecx, ecx
call fcn.0041faf8
test al, al
jne 0x421a5b
mov byte [ebp - 0x15], 1
cmp byte [edi + 0xc], 0
jne 0x421a66
call fcn.0041a208
cmp byte [ebp - 0x15], 0
jne 0x421a72
inc esi
dec dword [ebp - 0x1c]
jne 0x421a1d
cmp byte [ebp - 0x15], 0
jne 0x421a82
inc ebx
cmp bl, 4
jne 0x4219ef
cmp byte [ebp - 0x15], 0
je 0x421ab6
mov eax, dword [0x423634]
cmp dword [eax], 0
jne 0x421a9d
mov eax, dword [0x423634]
mov dword [eax], 2
mov eax, dword [ebp - 4]
mov byte [eax + 0x190], 1
mov eax, dword [ebp - 4]
mov dword [eax + 0xf4], 2
jmp 0x421af0
mov cl, 6
mov dl, 5
mov eax, dword [ebp - 4]
call fcn.004212a0
jmp 0x421af0
mov eax, dword [0x4236b4]
cmp byte [eax], 0
je 0x421af0
mov eax, dword [0x423634]
cmp dword [eax], 0
jne 0x421af0
cmp byte [ebp - 6], 7
je 0x421af0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x188]
mov bx, 0xfffa
call fcn.00402e44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x421b2f
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.00402e78
lea eax, [ebp - 0x28]
call fcn.00402e54
lea eax, [ebp - 0x24]
call fcn.0040347c
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00402e78
ret