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

Disassembly:
push 0x158
mov eax, 0x440fe2
call fcn.004306bd
mov edi, ecx
mov esi, dword [ebp + 8]
push 7
pop ecx
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], ax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x80]
push eax
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.0041f2d6
push 2
pop ecx
mov byte [ebp - 4], cl
push eax
lea ecx, [ebp - 0x64]
call fcn.0040da5c
push ebx
push 1
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 1
call fcn.0040de7c
push esi
lea eax, [ebp - 0x80]
push eax
mov ecx, edi
call fcn.0041f819
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0040da5c
push ebx
push 1
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 1
call fcn.0040de7c
push 0x406888
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.0041ff6f
lea ecx, [ebp - 0x2c]
push ecx
push eax
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 4
call fcn.00420035
push ebx
push 1
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 6
call fcn.0040de7c
mov esi, 0x44a310
push 0x406894
mov ecx, esi
call fcn.00427a0a
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x41f0e9
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x100]
push 3
mov dword [ebp - 0x104], ecx
push eax
lea ecx, [ebp - 0x104]
call fcn.0040dec5
push dword [ebp - 0x104]
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.00427a0a
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 6
cmp dword [ebp - 0x104], eax
je 0x41f132
push dword [ebp - 0x104]
call fcn.0043040c
pop ecx
push 0x4012d4
mov ecx, esi
call fcn.00427a0a
push 0x4012d0
mov ecx, esi
call fcn.00427a0a
push 0x40
lea eax, [ebp - 0x160]
push ebx
push eax
call fcn.00431330
xor eax, eax
mov dword [ebp - 0x11c], ebx
lea edi, [ebp - 0x118]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x38]
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
mov dword [ebp - 0x164], 0x44
neg ecx
or ecx, eax
push ecx
call fcn.00431325
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x41f1b9
lea ecx, [ebp - 0x106]
call fcn.0040ec65
mov al, byte [eax]
mov byte [ebp - 0x105], al
push 0x442d60
lea eax, [ebp - 0x105]
push eax
call fcn.00430608
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x41f1c5
lea eax, [ebp - 0x48]
push 0xffffffffffffffff
push eax
mov eax, dword [ebp - 0x38]
inc eax
push eax
push esi
call fcn.00430e7c
add esp, 0x10
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x164]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x41f23c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, eax
call fcn.004304b4
cmp dword [ebp - 0x18], 8
pop ecx
mov ecx, dword [ebp - 0x2c]
jae 0x41f211
lea ecx, [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
lea ecx, [ebp - 0x120]
call fcn.0040ec8b
mov eax, dword [eax]
mov dword [ebp - 0x10c], eax
push 0x442d98
lea eax, [ebp - 0x10c]
jmp 0x41f1b3
push esi
call fcn.004304b4
mov esi, 0x44a310
mov ecx, esi
mov dword [esp], 0x4068cc
call fcn.00427a0a
mov edi, 0x4012d0
push edi
mov ecx, esi
call fcn.00427a0a
push 0xffffffffffffffff
push dword [ebp - 0x11c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x4068f8
mov ecx, esi
call fcn.00427a0a
push edi
mov ecx, esi
call fcn.00427a0a
push dword [ebp - 0x11c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x118]
call esi
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x41f2a6
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.0040de7c
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040de7c
push ebx
push 1
lea ecx, [ebp - 0x64]
call fcn.0040de7c
call fcn.00430740
ret 4