Function at 0x41c920
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x444
mov eax, dword [0x5bd254]
xor eax, ebp
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0
cmp dword [ebp + 8], 0x2008
jne 0x41ca17
cmp dword [0x601c6c], 0
jg 0x41c961
mov eax, 1
jmp 0x41cc22
cmp dword [0x601c74], 0
jne 0x41ca0f
mov dword [0x601c74], 1
mov eax, dword [0x601c68]
mov ecx, dword [eax]
mov dword [ebp + 8], ecx
mov edx, dword [0x601c6c]
sub edx, 1
mov dword [0x601c6c], edx
mov eax, dword [0x601c6c]
shl eax, 2
push eax
mov ecx, dword [0x601c68]
add ecx, 4
push ecx
mov edx, dword [0x601c68]
push edx
call fcn.005154f0
add esp, 0xc
cmp dword [0x601c6c], 0
jne 0x41c9d4
mov eax, dword [0x601c68]
push eax
call sym.convertifd.exe_UtFTable
add esp, 4
mov dword [0x601c68], 0
mov ecx, dword [ebp + 8]
push ecx
call sym.convertifd.exe_CcExecute
add esp, 4
mov dword [ebp - 0x24], eax
cmp dword [0x601c6c], 0
jle 0x41ca05
push 0
push 0x2008
push 0x111
mov edx, dword [sym.convertifd.exe_i_window]
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
mov dword [0x601c74], 0
mov eax, dword [ebp - 0x24]
jmp 0x41cc22
cmp dword [ebp + 8], 0x1f40
jl 0x41ca29
cmp dword [ebp + 8], 0x2007
jle 0x41ca66
cmp dword [0x601c60], 0
jne 0x41ca3c
mov eax, 1
jmp 0x41cc22
mov eax, dword [ebp + 8]
mov dword [ebp - 0x440], eax
lea ecx, [ebp - 0x430]
push ecx
lea edx, [ebp - 0x440]
push edx
push 0
mov eax, dword [sym.convertifd.exe_i_window]
push eax
call dword [0x601c60]
jmp 0x41cc22
cmp dword [0x601c54], 0
jne 0x41ca7b
mov dword [ebp - 0x24], 1
jmp 0x41cc0c
mov ecx, dword [0x601c54]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0
jmp 0x41ca9d
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
cmp eax, dword [0x601c5c]
jge 0x41cac1
mov ecx, dword [ebp - 0x28]
imul ecx, ecx, 0x8ac
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + ecx + 0x1c]
cmp eax, dword [ebp + 8]
jne 0x41cabf
jmp 0x41cac1
jmp 0x41ca94
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [0x601c5c]
jl 0x41cad8
mov dword [ebp - 0x24], 1
jmp 0x41cc0c
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [0x601c5c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0041d710
add esp, 0xc
test eax, eax
jne 0x41caf7
jmp 0x41cc0c
mov edx, dword [ebp - 0x28]
imul edx, edx, 0x8ac
mov eax, dword [ebp - 0x2c]
movsx ecx, byte [eax + edx + 0x60]
test ecx, ecx
je 0x41cb22
mov edx, dword [ebp - 0x28]
imul edx, edx, 0x8ac
mov eax, dword [ebp - 0x2c]
movsx ecx, byte [eax + edx + 0x60]
cmp ecx, 0x2d
jne 0x41cb4f
push 1
mov edx, dword [ebp - 0x28]
imul edx, edx, 0x8ac
mov eax, dword [ebp - 0x2c]
lea ecx, [eax + edx + 0x164]
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
cmp eax, 0x20
jae 0x41cb4a
mov dword [ebp - 0x24], 0
jmp 0x41cc05
mov edx, dword [ebp - 0x28]
imul edx, edx, 0x8ac
mov eax, dword [ebp - 0x2c]
cmp dword [eax + edx + 0xc], 0
je 0x41cc05
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0041d450
add esp, 0xc
mov ecx, dword [ebp - 0x28]
imul ecx, ecx, 0x8ac
mov edx, dword [ebp - 0x2c]
lea eax, [edx + ecx + 0x6a4]
push eax
call fcn.0041cc30
add esp, 4
test eax, eax
jne 0x41cb9c
jmp 0x41cc0c
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x28]
imul edx, edx, 0x8ac
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + edx + 0xc]
call ecx
mov dword [ebp - 0x444], eax
mov edx, dword [ebp - 0x28]
imul edx, edx, 0x8ac
mov eax, dword [ebp - 0x2c]
lea ecx, [eax + edx + 0x7a8]
push ecx
call fcn.0041cc30
add esp, 4
test eax, eax
jne 0x41cbda
jmp 0x41cc0c
cmp dword [ebp - 0x444], 0
jne 0x41cbe5
jmp 0x41cc0c
mov edx, dword [ebp - 0x28]
imul edx, edx, 0x8ac
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + edx + 4]
imul ecx, ecx, 0x8ac
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
mov dword [edx + ecx + 0x18], eax
mov dword [ebp - 0x24], 1
cmp dword [ebp - 0x2c], 0
je 0x41cc1f
mov ecx, dword [0x601c54]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.00511a80
mov esp, ebp
pop ebp
ret