Function at 0x40417e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x419cce
mov eax, dword fs:[0]
push eax
mov eax, 0x30b0
call fcn.00415650
mov eax, dword [0x422414]
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 - 0x3074], ebx
cmp eax, ebx
je 0x404574
cmp byte [eax], bl
je 0x404574
mov esi, 0x41e4d8
lea edi, [ebp - 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, 0x41e4e4
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
push 0x38
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x30b4]
push ebx
push eax
movsw word es:[edi], word [esi]
mov byte [ebp - 0x306d], 1
mov dword [ebp - 0x30b8], ebx
call fcn.0040ce50
add esp, 0xc
lea eax, [ebp - 0x306c]
push eax
call fcn.00404677
lea eax, [ebp - 0x304c]
push eax
mov dword [ebp - 4], ebx
call fcn.00404677
mov eax, dword [ebp - 0x3078]
mov byte [ebp - 4], 1
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40422f
sub eax, esi
mov edi, eax
mov ecx, str._S__noeula
mov eax, ecx
mov dword [ebp - 0x307c], edi
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x40424a
sub eax, esi
mov esi, eax
lea eax, [edi + 0x14]
mov edi, 0x800
cmp eax, edi
jbe 0x404288
lea eax, [ebp - 0x304c]
push eax
mov byte [ebp - 4], bl
call fcn.00403d3d
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x306c]
push eax
call fcn.00403d3d
push 0x6f
pop eax
jmp 0x404576
lea eax, [esi + 0x14]
cmp eax, edi
ja 0x404261
cmp esi, ebx
je 0x4042b5
push 0x7ff
lea eax, [ebp - 0x302c]
push eax
push esi
push ecx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor eax, eax
mov word [ebp + esi*2 - 0x302c], ax
jmp 0x4042be
xor eax, eax
mov word [ebp - 0x302c], ax
mov ecx, dword [ebp - 0x3078]
call fcn.00403d6f
test al, al
je 0x404308
cmp dword [ebp - 0x307c], 0x103
jle 0x404308
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x102c]
push edi
push eax
call fcn.0040ba43
lea eax, [ebp - 0x102c]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x4042f6
sub eax, edx
sar eax, 1
mov esi, eax
jmp 0x40430a
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 0x40436c
movzx ecx, word [eax]
push 0x5c
pop edx
cmp dx, cx
je 0x40435f
push 0x2f
pop edx
cmp dx, cx
jne 0x404365
push 0x5c
pop ecx
mov word [eax], cx
inc eax
inc eax
cmp word [eax], bx
jne 0x40434c
push dword [ebp - 0x3078]
lea eax, [ebp - 0x304c]
push eax
lea eax, [ebp - 0x306c]
push eax
call fcn.00403e23
add esp, 0xc
cmp dword [ebp - 0x3038], ebx
jne 0x4043d0
call fcn.00403fcb
push 0xffffffffffffffff
mov esi, eax
push ebx
push esi
lea ecx, [ebp - 0x304c]
call fcn.00401fdf
mov ecx, dword [ebp - 0x3030]
cmp ecx, dword [esi + 0x1c]
je 0x4043d0
call fcn.00404846
cmp eax, ebx
je 0x4043c2
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx]
mov ecx, dword [esi + 0x1c]
mov dword [ebp - 0x3030], ecx
call fcn.0040481e
lea eax, [ebp - 0x304c]
push eax
call fcn.00403dbc
pop ecx
lea eax, [ebp - 0x304c]
call fcn.00404099
cmp dword [ebp - 0x3038], 0x103
jbe 0x404423
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x202c]
push edi
push eax
call fcn.0040ba43
lea eax, [ebp - 0x202c]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x404411
sub eax, edx
sar eax, 1
mov esi, eax
jmp 0x404425
xor esi, esi
cmp dword [ebp - 0x3034], 0x10
mov eax, dword [ebp - 0x3048]
jae 0x40443a
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.0040410a
test al, al
jne 0x404475
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 - 0x30ac], eax
lea eax, [ebp - 0x102c]
mov dword [ebp - 0x30a8], eax
lea eax, [ebp - 0x302c]
mov dword [ebp - 0x30a4], eax
push 6
lea eax, [ebp - 0x202c]
push ebx
mov dword [ebp - 0x30b8], 0x3c
mov dword [ebp - 0x30b4], 0x40
mov dword [ebp - 0x30b0], ebx
mov dword [ebp - 0x30a0], eax
mov dword [ebp - 0x309c], ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
cmp eax, ebx
jl 0x40454b
lea eax, [ebp - 0x30b8]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x4044f5
mov dword [ebp - 0x3074], ebx
jmp 0x404505
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x3074], eax
cmp eax, ebx
jne 0x404531
cmp dword [ebp - 0x3080], ebx
je 0x404545
push ebx
push dword [ebp - 0x3080]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, ebx
jne 0x404531
lea eax, [ebp - 0x3074]
push eax
push dword [ebp - 0x3080]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0x3080], ebx
je 0x404545
push dword [ebp - 0x3080]
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.00403d3d
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x306c]
push eax
call fcn.00403d3d
mov eax, esi
jmp 0x404576
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.0040af0b
leave
ret