Function at 0x401ca0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x40c576
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb4
push ebx
push esi
lea eax, [esp + 0x2c]
push edi
push eax
call fcn.00401520
add esp, 4
mov ecx, str.icq.exe
xor ebx, ebx
test ecx, ecx
mov dword [esp + 0xc8], ebx
je 0x401ceb
mov edi, ecx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x401ced
xor ecx, ecx
push ecx
push str.icq.exe
lea ecx, [esp + 0x38]
call fcn.00402310
mov eax, dword [esp + 0x34]
cmp eax, ebx
jne 0x401d09
mov eax, 0x40d144
push ebx
push eax
call fcn.0040c416
add esp, 8
test eax, eax
je 0x401d32
push 1
lea ecx, [esp + 0x34]
mov dword [esp + 0xcc], 0xffffffff
call fcn.004022c0
jmp 0x401fbd
mov dl, byte [esp + 0x1f]
push ebx
lea ecx, [esp + 0x10]
mov byte [esp + 0x10], dl
call fcn.004022c0
mov byte [esp + 0xc8], 1
call fcn.004014e0
mov esi, eax
mov eax, str.__nopatch
test eax, eax
je 0x401d6a
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x401d6c
xor ecx, ecx
push ecx
push str.__nopatch
lea ecx, [esp + 0x14]
call fcn.00402310
mov ecx, dword [0x40f2d8]
push esi
lea edx, [esp + 0x44]
push ecx
push edx
call fcn.00405573
lea eax, [esp + 0x4c]
add esp, 0xc
test eax, eax
je 0x401da8
lea edi, [esp + 0x40]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x401daa
xor ecx, ecx
push ecx
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x14]
call fcn.00402310
mov edx, 0x40f160
test edx, edx
je 0x401dd2
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
jmp 0x401dd4
xor esi, esi
mov eax, dword [0x40d140]
mov edx, dword [esp + 0x14]
sub eax, edx
cmp eax, esi
ja 0x401de8
call fcn.004049ca
cmp esi, ebx
push ebp
jbe 0x401e2d
mov ecx, dword [esp + 0x18]
push ebx
lea ebp, [esi + ecx]
lea ecx, [esp + 0x14]
push ebp
call fcn.004023f0
test al, al
je 0x401e2d
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov ecx, esi
mov esi, 0x40f160
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
call fcn.004023d0
mov esi, dword [esp + 0xd4]
cmp esi, ebx
je 0x401e48
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
jmp 0x401e4a
xor edi, edi
mov eax, dword [0x40d140]
mov edx, dword [esp + 0x18]
sub eax, edx
cmp eax, edi
ja 0x401e5e
call fcn.004049ca
cmp edi, ebx
jbe 0x401e9d
mov eax, dword [esp + 0x18]
push ebx
lea ecx, [esp + 0x14]
lea ebp, [edi + eax]
push ebp
call fcn.004023f0
test al, al
je 0x401e9d
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov ecx, edi
push ebp
lea edi, [eax + edx]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
call fcn.004023d0
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x80]
pop ebp
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
cmp ecx, ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
jne 0x401ecb
mov ecx, 0x40d144
mov eax, dword [esp + 0x34]
cmp eax, ebx
jne 0x401ed8
mov eax, 0x40d144
lea edx, [esp + 0x20]
push edx
lea edx, [esp + 0x80]
push edx
push ebx
push ebx
push 0x4000020
push ebx
push ebx
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x401f69
mov eax, dword [esp + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x24]
push ecx
call esi
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x401f33
mov al, byte [ecx - 1]
cmp al, bl
je 0x401f29
cmp al, 0xff
je 0x401f29
dec al
mov byte [ecx - 1], al
jmp 0x401f33
dec ecx
push ecx
call fcn.004049bf
add esp, 4
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x10], ebx
cmp ecx, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
je 0x401f65
mov al, byte [ecx - 1]
cmp al, bl
je 0x401f5b
cmp al, 0xff
je 0x401f5b
dec al
mov byte [ecx - 1], al
mov al, 1
jmp 0x401fbf
dec ecx
push ecx
call fcn.004049bf
add esp, 4
mov al, 1
jmp 0x401fbf
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x401f8d
mov al, byte [ecx - 1]
cmp al, bl
je 0x401f83
cmp al, 0xff
je 0x401f83
dec al
mov byte [ecx - 1], al
jmp 0x401f8d
dec ecx
push ecx
call fcn.004049bf
add esp, 4
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x10], ebx
cmp ecx, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
je 0x401fbd
mov al, byte [ecx - 1]
cmp al, bl
je 0x401fb3
cmp al, 0xff
je 0x401fb3
dec al
mov byte [ecx - 1], al
jmp 0x401fbd
dec ecx
push ecx
call fcn.004049bf
add esp, 4
xor al, al
mov ecx, dword [esp + 0xc0]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xc0
ret