Function at 0x4a5184
Capabilities:
Create process on windows
Self delete

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x19
push 0
push 0
dec ecx
jne 0x4a518c
push ecx
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a5835
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov cx, word [0x4a5844]
mov dl, 3
mov eax, 0x4a5850
call fcn.0042dd0c
cmp eax, 6
jne 0x4a57fd
mov edx, esi
mov eax, dword [0x4b1c9c]
call fcn.004a7f78
push 0x4a586c
lea eax, [ebp - 0x34]
push eax
mov ecx, 0x4a5878
mov edx, 0x4a5888
xor eax, eax
call fcn.00485878
push dword [ebp - 0x34]
lea eax, [ebp - 0x38]
push eax
mov eax, dword [0x4b1c9c]
mov eax, dword [eax + 0x3c4]
mov ecx, 1
mov edx, 2
call fcn.004054b0
push dword [ebp - 0x38]
lea eax, [ebp - 0x40]
push eax
mov eax, dword [0x4b1c9c]
mov eax, dword [eax + 0x3c4]
mov ecx, 2
mov edx, 4
call fcn.004054b0
mov eax, dword [ebp - 0x40]
call fcn.004094b4
lea edx, [ebp - 0x3c]
call fcn.0048395c
push dword [ebp - 0x3c]
lea eax, [ebp - 0x48]
push eax
mov eax, dword [0x4b1c9c]
mov eax, dword [eax + 0x3c4]
mov ecx, 2
mov edx, 7
call fcn.004054b0
mov eax, dword [ebp - 0x48]
call fcn.004094b4
lea edx, [ebp - 0x44]
call fcn.0048395c
push dword [ebp - 0x44]
lea eax, [ebp - 4]
mov edx, 4
call fcn.00405310
mov eax, dword [0x4b1c9c]
push dword [eax + 0x3c0]
push dword [ebp - 4]
push 0x4a5898
lea eax, [ebp - 0x4c]
mov edx, 3
call fcn.00405310
mov eax, dword [ebp - 0x4c]
push eax
mov eax, dword [0x4b1c9c]
mov edx, dword [eax + 0x3c0]
lea eax, [ebp - 0x50]
mov ecx, 0x4a58a8
call fcn.0040529c
mov eax, dword [ebp - 0x50]
pop edx
call fcn.004855d4
mov eax, dword [0x4b1c9c]
push dword [eax + 0x3c0]
push dword [ebp - 4]
push 0x4a58bc
lea eax, [ebp - 0x54]
mov edx, 3
call fcn.00405310
mov eax, dword [ebp - 0x54]
push eax
mov eax, dword [0x4b1c9c]
push dword [eax + 0x3c0]
push dword [ebp - 4]
push 0x4a5898
lea eax, [ebp - 0x58]
mov edx, 3
call fcn.00405310
mov eax, dword [ebp - 0x58]
pop edx
call fcn.00485724
push 0x4a58cc
lea eax, [ebp - 0x60]
push eax
mov ecx, 0x4a58dc
mov edx, 0x4a5888
xor eax, eax
call fcn.00485878
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x5c]
call fcn.00483a88
mov eax, dword [ebp - 0x5c]
xor edx, edx
call fcn.004094f0
mov dword [ebp - 0x64], eax
fild dword [ebp - 0x64]
fdiv dword [0x4a58ec]
fstp qword [ebp - 0x18]
wait
lea eax, [ebp - 0x68]
push eax
push 0x4a58f8
lea eax, [ebp - 0x70]
push eax
mov ecx, 0x4a5904
mov edx, 0x4a5888
xor eax, eax
call fcn.00485878
mov eax, dword [ebp - 0x70]
lea edx, [ebp - 0x6c]
call fcn.00408e58
mov eax, dword [ebp - 0x6c]
mov ecx, 1
mov edx, 1
call fcn.004054b0
mov eax, dword [ebp - 0x68]
mov edx, 0x4a591c
call fcn.0040539c
jne 0x4a53a1
mov byte [ebp - 0x19], 1
jmp 0x4a53a5
mov byte [ebp - 0x19], 0
mov eax, dword [0x4b1c9c]
push dword [eax + 0x3c0]
push dword [ebp - 4]
push 0x4a5928
lea eax, [ebp - 0x74]
mov edx, 3
call fcn.00405310
mov eax, dword [ebp - 0x74]
call fcn.00485214
mov eax, dword [ebx + 0x2fc]
mov edi, dword [eax + 0x24c]
dec edi
test edi, edi
jle 0x4a555e
mov esi, 1
lea eax, [ebp - 0x78]
push eax
mov ecx, esi
mov edx, 4
mov eax, dword [ebx + 0x2fc]
call fcn.004813e0
mov eax, dword [ebp - 0x78]
mov edx, 0x4a58cc
call fcn.0040539c
je 0x4a5556
lea eax, [ebp - 0x7c]
push eax
mov ecx, esi
xor edx, edx
mov eax, dword [ebx + 0x2fc]
call fcn.004813e0
cmp dword [ebp - 0x7c], 0
je 0x4a5556
cmp byte [ebp - 0x19], 1
jne 0x4a549d
lea eax, [ebp - 0x80]
push eax
mov ecx, esi
mov edx, 4
mov eax, dword [ebx + 0x2fc]
call fcn.004813e0
mov edx, dword [ebp - 0x80]
mov eax, ebx
call fcn.004a2d34
fmul qword [ebp - 0x18]
fdiv dword [0x4a58ec]
add esp, 0xfffffff8
fstp qword [esp]
wait
mov al, 0xfe
call fcn.00426ff0
fstp qword [ebp - 0x30]
wait
lea eax, [ebp - 0x84]
push eax
mov ecx, esi
mov edx, 4
mov eax, dword [ebx + 0x2fc]
call fcn.004813e0
mov edx, dword [ebp - 0x84]
mov eax, ebx
call fcn.004a2d34
fsub qword [ebp - 0x30]
fstp qword [ebp - 0x28]
wait
jmp 0x4a54c7
lea eax, [ebp - 0x88]
push eax
mov ecx, esi
mov edx, 4
mov eax, dword [ebx + 0x2fc]
call fcn.004813e0
mov edx, dword [ebp - 0x88]
mov eax, ebx
call fcn.004a2d34
fstp qword [ebp - 0x28]
wait
push ebp
lea eax, [ebp - 0x8c]
push eax
mov ecx, esi
mov edx, 3
mov eax, dword [ebx + 0x2fc]
call fcn.004813e0
mov eax, dword [ebp - 0x8c]
push eax
fld qword [ebp - 0x28]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x90]
push eax
mov ecx, esi
mov edx, 2
mov eax, dword [ebx + 0x2fc]
call fcn.004813e0
mov eax, dword [ebp - 0x90]
push eax
lea eax, [ebp - 0x94]
push eax
mov ecx, esi
mov edx, 1
mov eax, dword [ebx + 0x2fc]
call fcn.004813e0
mov eax, dword [ebp - 0x94]
push eax
lea eax, [ebp - 0x98]
push eax
mov ecx, esi
xor edx, edx
mov eax, dword [ebx + 0x2fc]
call fcn.004813e0
mov eax, dword [ebp - 0x98]
pop edx
pop ecx
call fcn.004a4964
pop ecx
inc esi
dec edi
jne 0x4a53e7
mov eax, dword [0x4b1c9c]
mov edx, dword [eax + 0x3c0]
lea eax, [ebp - 8]
mov ecx, 0x4a5938
call fcn.0040529c
mov eax, dword [ebp - 8]
call fcn.00409990
push 0
lea eax, [ebp - 0x9c]
push eax
mov ecx, 0x4a594c
mov edx, 0x4a5888
xor eax, eax
call fcn.00485878
mov eax, dword [ebp - 0x9c]
lea edx, [ebp - 0xc]
call fcn.004090d0
mov eax, dword [ebp - 0xc]
call fcn.00405250
test eax, eax
jle 0x4a5772
mov edx, 0x4a5960
mov eax, dword [ebp - 8]
call fcn.00485adc
mov edx, 0x4a5974
mov eax, dword [ebp - 8]
call fcn.00485adc
lea eax, [ebp - 0xa0]
push eax
mov eax, dword [0x4b1c9c]
mov eax, dword [eax + 0x3c0]
mov ecx, 2
mov edx, 1
call fcn.004054b0
mov edx, dword [ebp - 0xa0]
mov eax, dword [ebp - 8]
call fcn.00485adc
mov edx, 0x4a5980
mov eax, dword [ebp - 8]
call fcn.00485adc
mov eax, dword [0x4b1c9c]
mov ecx, dword [eax + 0x3c0]
lea eax, [ebp - 0xa4]
mov edx, 0x4a5990
call fcn.0040529c
mov edx, dword [ebp - 0xa4]
mov eax, dword [ebp - 8]
call fcn.00485adc
push dword [ebp - 0xc]
push 0x4a599c
push dword [ebp - 4]
push 0x4a599c
push dword [ebp - 4]
push 0x4a59a8
lea eax, [ebp - 0xa8]
mov edx, 6
call fcn.00405310
mov edx, dword [ebp - 0xa8]
mov eax, dword [ebp - 8]
call fcn.00485adc
mov edx, 0x4a59b4
mov eax, dword [ebp - 8]
call fcn.00485adc
mov edx, 0x4a59c8
mov eax, dword [ebp - 8]
call fcn.00485adc
mov edx, 0x4a59dc
mov eax, dword [ebp - 8]
call fcn.00485adc
mov edx, 0x4a59f0
mov eax, dword [ebp - 8]
call fcn.00485adc
lea edx, [ebp - 0xb0]
mov eax, 0x4a5a00
call fcn.004835f4
mov ecx, dword [ebp - 0xb0]
lea eax, [ebp - 0xac]
mov edx, 0x4a5a30
call fcn.0040529c
mov edx, dword [ebp - 0xac]
mov eax, dword [ebp - 8]
call fcn.00485adc
push 0x4a5a40
push dword [ebp - 4]
push 0x4a5a50
push 0x4a5a5c
lea eax, [ebp - 0xbc]
push eax
mov ecx, 0x4a5a68
mov edx, 0x4a5888
xor eax, eax
call fcn.00485878
mov eax, dword [ebp - 0xbc]
lea edx, [ebp - 0xb8]
call fcn.00483b20
push dword [ebp - 0xb8]
lea eax, [ebp - 0xb4]
mov edx, 4
call fcn.00405310
mov edx, dword [ebp - 0xb4]
mov eax, dword [ebp - 8]
call fcn.00485adc
mov edx, 0x4a5a78
mov eax, dword [ebp - 8]
call fcn.00485adc
push 1
mov eax, dword [0x4b1c9c]
mov edx, dword [eax + 0x3c0]
lea eax, [ebp - 0xc0]
mov ecx, 0x4a5938
call fcn.0040529c
mov eax, dword [ebp - 0xc0]
call fcn.00405450
push eax
call sub.kernel32.dll_WinExec
jmp 0x4a57fd
push 0x4a5a5c
lea eax, [ebp - 0xc4]
push eax
mov ecx, 0x4a5a68
mov edx, 0x4a5888
xor eax, eax
call fcn.00485878
mov eax, dword [ebp - 0xc4]
push eax
mov eax, dword [0x4b1c9c]
push dword [eax + 0x3c0]
push dword [ebp - 4]
push 0x4a59a8
lea eax, [ebp - 0xc8]
mov edx, 3
call fcn.00405310
mov eax, dword [ebp - 0xc8]
pop edx
call fcn.00485378
mov eax, dword [0x4b1c9c]
push dword [eax + 0x3c0]
push dword [ebp - 4]
push 0x4a59a8
lea eax, [ebp - 0xcc]
mov edx, 3
call fcn.00405310
mov eax, dword [ebp - 0xcc]
call fcn.00485214
mov eax, 0x4a5a90
call fcn.0042de04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a583c
lea eax, [ebp - 0xcc]
mov edx, 0x1a
call fcn.00404fb4
lea eax, [ebp - 0x60]
mov edx, 0xc
call fcn.00404fb4
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404fb4
ret