Function at 0x41d37f
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1040
call fcn.0041e830
push ebx
push esi
mov esi, dword [esp + 0x1050]
xor ebx, ebx
cmp word [esi], bx
je 0x41d5d8
push esi
call fcn.00423483
pop ecx
cmp eax, 0x7f6
jae 0x41d5d8
push edi
push 0x3c
pop edi
push edi
lea eax, [esp + 0x14]
push ebx
push eax
call fcn.0041f8d0
mov dl, byte [esp + 0x1068]
add esp, 0xc
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], 0x1c0
test dl, dl
je 0x41d3e1
mov dword [esp + 0x14], 0x5c0
movzx eax, word [esi]
push ebp
push 0x22
pop ecx
cmp ax, cx
mov edi, eax
mov ecx, ebx
jne 0x41d402
lea ebp, [esi + 2]
mov dword [esp + 0x24], ebp
push 0x22
pop eax
cmp di, ax
jne 0x41d427
jmp 0x41d412
mov ebp, esi
mov dword [esp + 0x24], ebp
jmp 0x41d44b
push 0x22
pop eax
cmp di, ax
je 0x41d420
inc ecx
movzx eax, word [esi + ecx*2]
mov edi, eax
test ax, ax
jne 0x41d40a
jmp 0x41d427
push 0x20
pop eax
mov word [esi + ecx*2], ax
push 0x20
pop edi
lea eax, [esi + 2]
lea eax, [eax + ecx*2]
cmp word [esi + ecx*2], di
je 0x41d5b0
cmp word [eax], 0x2f
je 0x41d5b6
inc ecx
movzx eax, word [esi + ecx*2]
mov edi, eax
test ax, ax
jne 0x41d3f8
mov eax, dword [esp + 0x28]
test eax, eax
je 0x41d45d
cmp word [eax], bx
jne 0x41d472
test dl, dl
jne 0x41d472
cmp word [0x44b42a], bx
je 0x41d472
mov dword [esp + 0x28], 0x44b42a
mov eax, dword [esp + 0x105c]
push ebp
mov dword [esp + 0x34], eax
call fcn.0040b516
mov edi, eax
pop ebp
test edi, edi
je 0x41d4a1
push str..inf
push edi
call fcn.00411b9b
test eax, eax
jne 0x41d4a1
mov dword [esp + 0x1c], 0x43532c
push dword [esp + 0x20]
call fcn.0040a201
test al, al
je 0x41d4c9
push 0x800
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x28]
call fcn.0040b2ad
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 0x41d5d7
mov esi, dword [esp + 0x1050]
cmp byte [0x449420], bl
jne 0x41d4fc
cmp byte [esp + 0x105c], bl
jne 0x41d4fc
cmp byte [0x457b32], bl
je 0x41d56b
test esi, esi
je 0x41d515
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x41d515
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.0041d82b
cmp byte [0x457b32], 0
je 0x41d56b
cmp byte [esp + 0x105c], 0
jne 0x41d56b
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x4c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x41d56b
mov eax, dword [esp + 0xc]
cmp eax, dword [0x45fc5c]
jbe 0x41d564
mov dword [0x45fc5c], eax
mov byte [0x457b33], 1
push dword [esp + 0x48]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x41d588
push str..exe
push edi
call fcn.00411b9b
test eax, eax
je 0x41d5bf
cmp byte [0x449420], 0
mov al, byte [esp + 0x105c]
je 0x41d5c6
test al, al
jne 0x41d5c6
cmp byte [0x457b32], al
jne 0x41d5c6
mov dword [0x45fc60], 0x1b58
jmp 0x41d5c6
xor edi, edi
mov word [esi + ecx*2], di
mov dword [esp + 0x28], eax
jmp 0x41d454
mov al, byte [esp + 0x105c]
test bl, bl
je 0x41d5d7
test al, al
je 0x41d5d7
push 1
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebx
add esp, 0x1040
ret 0x10