Function at 0x4043e8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41b323
mov eax, dword fs:[0]
push eax
mov eax, 0x30b0
call fcn.00416af0
mov eax, dword [0x423414]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x3078], eax
mov dword [ebp - 0x3080], ecx
mov dword [ebp - 0x3074], ebx
cmp eax, ebx
je 0x4047f1
cmp byte [eax], bl
je 0x4047f1
mov esi, 0x41f630
lea edi, [ebp - 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, 0x41f63c
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
push 0x38
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x30b8]
push ebx
push eax
movsw word es:[edi], word [esi]
mov byte [ebp - 0x306d], 1
mov dword [ebp - 0x30bc], ebx
call fcn.0040e350
add esp, 0xc
lea eax, [ebp - 0x306c]
push eax
call fcn.004048f4
lea eax, [ebp - 0x304c]
push eax
mov dword [ebp - 4], ebx
call fcn.004048f4
mov eax, dword [ebp - 0x3078]
mov byte [ebp - 4], 1
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40449f
mov edx, dword [ebp - 0x3080]
sub eax, esi
mov edi, eax
mov dword [ebp - 0x307c], edi
cmp edx, ebx
je 0x4044d0
cmp byte [edx], bl
je 0x4044d0
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4044c3
sub eax, esi
mov esi, eax
jmp 0x4044d2
xor esi, esi
lea eax, [edi + 0x14]
mov edi, 0x800
cmp eax, edi
jbe 0x404505
lea eax, [ebp - 0x304c]
push eax
mov byte [ebp - 4], bl
call fcn.00403fa9
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x306c]
push eax
call fcn.00403fa9
push 0x6f
pop eax
jmp 0x4047f3
lea eax, [esi + 0x14]
cmp eax, edi
ja 0x4044de
cmp esi, ebx
je 0x404532
push 0x7ff
lea eax, [ebp - 0x302c]
push eax
push esi
push edx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor eax, eax
mov word [ebp + esi*2 - 0x302c], ax
jmp 0x40453b
xor eax, eax
mov word [ebp - 0x302c], ax
mov ecx, dword [ebp - 0x3078]
call fcn.00403fdb
test al, al
je 0x404585
cmp dword [ebp - 0x307c], 0x103
jle 0x404585
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x102c]
push edi
push eax
call fcn.0040ce83
lea eax, [ebp - 0x102c]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x404573
sub eax, edx
sar eax, 1
mov esi, eax
jmp 0x404587
xor esi, esi
mov eax, edi
sub eax, esi
push eax
lea eax, [ebp + esi*2 - 0x102c]
push eax
push dword [ebp - 0x307c]
push dword [ebp - 0x3078]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x307c]
add esi, eax
xor eax, eax
mov word [ebp + esi*2 - 0x102c], ax
lea eax, [ebp - 0x102c]
cmp word [ebp - 0x102c], bx
je 0x4045e9
movzx ecx, word [eax]
push 0x5c
pop edx
cmp dx, cx
je 0x4045dc
push 0x2f
pop edx
cmp dx, cx
jne 0x4045e2
push 0x5c
pop ecx
mov word [eax], cx
inc eax
inc eax
cmp word [eax], bx
jne 0x4045c9
push dword [ebp - 0x3078]
lea eax, [ebp - 0x304c]
push eax
lea eax, [ebp - 0x306c]
push eax
call fcn.0040408f
add esp, 0xc
cmp dword [ebp - 0x3038], ebx
jne 0x40464d
call fcn.00404235
push 0xffffffffffffffff
mov esi, eax
push ebx
push esi
lea ecx, [ebp - 0x304c]
call fcn.00402274
mov ecx, dword [ebp - 0x3030]
cmp ecx, dword [esi + 0x1c]
je 0x40464d
call fcn.00404ac3
cmp eax, ebx
je 0x40463f
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx]
mov ecx, dword [esi + 0x1c]
mov dword [ebp - 0x3030], ecx
call fcn.00404a9b
lea eax, [ebp - 0x304c]
push eax
call fcn.00404028
pop ecx
lea eax, [ebp - 0x304c]
call fcn.00404303
cmp dword [ebp - 0x3038], 0x103
jbe 0x4046a0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x202c]
push edi
push eax
call fcn.0040ce83
lea eax, [ebp - 0x202c]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x40468e
sub eax, edx
sar eax, 1
mov esi, eax
jmp 0x4046a2
xor esi, esi
cmp dword [ebp - 0x3034], 0x10
mov eax, dword [ebp - 0x3048]
jae 0x4046b7
lea eax, [ebp - 0x3048]
sub edi, esi
push edi
lea ecx, [ebp + esi*2 - 0x202c]
push ecx
push dword [ebp - 0x3038]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x3038]
add eax, esi
xor ecx, ecx
mov word [ebp + eax*2 - 0x202c], cx
call fcn.00404374
test al, al
jne 0x4046f2
mov byte [ebp - 0x306d], bl
movzx eax, byte [ebp - 0x306d]
neg eax
sbb eax, eax
lea ecx, [ebp - 0x2c]
and eax, ecx
mov dword [ebp - 0x30b0], eax
lea eax, [ebp - 0x102c]
mov dword [ebp - 0x30ac], eax
lea eax, [ebp - 0x302c]
mov dword [ebp - 0x30a8], eax
push 6
lea eax, [ebp - 0x202c]
push ebx
mov dword [ebp - 0x30bc], 0x3c
mov dword [ebp - 0x30b8], 0x40
mov dword [ebp - 0x30b4], ebx
mov dword [ebp - 0x30a4], eax
mov dword [ebp - 0x30a0], ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
cmp eax, ebx
jl 0x4047c8
lea eax, [ebp - 0x30bc]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x404772
mov dword [ebp - 0x3074], ebx
jmp 0x404782
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x3074], eax
cmp eax, ebx
jne 0x4047ae
cmp dword [ebp - 0x3084], ebx
je 0x4047c2
push ebx
push dword [ebp - 0x3084]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, ebx
jne 0x4047ae
lea eax, [ebp - 0x3074]
push eax
push dword [ebp - 0x3084]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0x3084], ebx
je 0x4047c2
push dword [ebp - 0x3084]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov esi, dword [ebp - 0x3074]
lea eax, [ebp - 0x304c]
push eax
mov byte [ebp - 4], bl
call fcn.00403fa9
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x306c]
push eax
call fcn.00403fa9
mov eax, esi
jmp 0x4047f3
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040c34a
leave
ret