Function at 0x41cbef
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1040
call fcn.0041e040
push ebx
push esi
mov esi, dword [esp + 0x1050]
xor ebx, ebx
cmp word [esi], bx
je 0x41ce68
push esi
call fcn.00422655
pop ecx
cmp eax, 0x7f6
jae 0x41ce68
push edi
push 0x3c
pop edi
push edi
lea eax, [esp + 0x14]
push ebx
push eax
call fcn.0041f0e0
mov cl, byte [esp + 0x1068]
add esp, 0xc
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], 0x1c0
test cl, cl
je 0x41cc51
mov dword [esp + 0x14], 0x5c0
movzx eax, word [esi]
push ebp
push 0x22
pop ebp
mov edi, eax
cmp ax, bp
jne 0x41cc68
lea edx, [esi + 2]
mov dword [esp + 0x24], edx
jmp 0x41cc73
mov edx, esi
mov dword [esp + 0x24], edx
test ax, ax
je 0x41ccc7
push 0x20
mov ecx, ebx
pop eax
cmp di, bp
jne 0x41cc97
jmp 0x41cc88
cmp di, bp
je 0x41ce27
inc ecx
movzx eax, word [esi + ecx*2]
mov edi, eax
test ax, ax
jne 0x41cc7f
push 0x20
pop eax
cmp word [esi + ecx*2], ax
je 0x41ce33
lea eax, [esi + 2]
lea eax, [eax + ecx*2]
cmp word [eax], 0x2f
je 0x41ce3f
inc ecx
push 0x20
movzx eax, word [esi + ecx*2]
mov edi, eax
test ax, ax
pop eax
jne 0x41cc78
mov cl, byte [esp + 0x1060]
mov eax, dword [esp + 0x28]
pop ebp
test eax, eax
je 0x41ccd5
cmp word [eax], bx
jne 0x41ccea
test cl, cl
jne 0x41ccea
cmp word [0x44b3ba], bx
je 0x41ccea
mov dword [esp + 0x24], 0x44b3ba
mov eax, dword [esp + 0x1058]
push edx
mov dword [esp + 0x30], eax
call fcn.0040b374
mov edi, eax
test edi, edi
je 0x41cd18
push str..inf
push edi
call fcn.004118f2
test eax, eax
jne 0x41cd18
mov dword [esp + 0x1c], 0x434acc
push dword [esp + 0x20]
call fcn.0040a045
test al, al
je 0x41cd40
push 0x800
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x28]
call fcn.0040b10d
lea eax, [esp + 0x4c]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x41ce67
mov esi, dword [esp + 0x1050]
cmp byte [0x4493b0], bl
jne 0x41cd73
cmp byte [esp + 0x105c], bl
jne 0x41cd73
cmp byte [0x457ac2], bl
je 0x41cde2
test esi, esi
je 0x41cd8c
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x41cd8c
push ebx
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov bl, 1
push 0x7d0
push dword [esp + 0x4c]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [esp + 0x48]
call fcn.0041d0bb
cmp byte [0x457ac2], 0
je 0x41cde2
cmp byte [esp + 0x105c], 0
jne 0x41cde2
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x4c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x41cde2
mov eax, dword [esp + 0xc]
cmp eax, dword [0x45fbec]
jbe 0x41cddb
mov dword [0x45fbec], eax
mov byte [0x457ac3], 1
push dword [esp + 0x48]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x41cdff
push str..exe
push edi
call fcn.004118f2
test eax, eax
je 0x41ce4f
cmp byte [0x4493b0], 0
mov al, byte [esp + 0x105c]
je 0x41ce56
test al, al
jne 0x41ce56
cmp byte [0x457ac2], al
jne 0x41ce56
mov dword [0x45fbf0], 0x1b58
jmp 0x41ce56
push 0x20
pop eax
mov word [esi + ecx*2], ax
jmp 0x41cc97
xor eax, eax
mov word [esi + ecx*2], ax
lea eax, [esi + 2]
lea eax, [eax + ecx*2]
mov cl, byte [esp + 0x1060]
mov dword [esp + 0x28], eax
jmp 0x41cccb
mov al, byte [esp + 0x105c]
test bl, bl
je 0x41ce67
test al, al
je 0x41ce67
push 1
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebx
add esp, 0x1040
ret 0x10