Function at 0x40427c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x418e69
mov eax, dword fs:[0]
push eax
mov eax, 0x30b0
call fcn.00414790
mov eax, dword [0x41f414]
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 0x404685
cmp byte [eax], bl
je 0x404685
mov esi, 0x41b928
lea edi, [ebp - 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, 0x41b934
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.0040bff0
add esp, 0xc
lea eax, [ebp - 0x306c]
push eax
call fcn.00404788
lea eax, [ebp - 0x304c]
push eax
mov dword [ebp - 4], ebx
call fcn.00404788
mov eax, dword [ebp - 0x3078]
mov byte [ebp - 4], 1
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x404333
mov edx, dword [ebp - 0x3080]
sub eax, esi
mov edi, eax
mov dword [ebp - 0x307c], edi
cmp edx, ebx
je 0x404364
cmp byte [edx], bl
je 0x404364
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x404357
sub eax, esi
mov esi, eax
jmp 0x404366
xor esi, esi
lea eax, [edi + 0x14]
mov edi, 0x800
cmp eax, edi
jbe 0x404399
lea eax, [ebp - 0x304c]
push eax
mov byte [ebp - 4], bl
call fcn.00403e3d
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x306c]
push eax
call fcn.00403e3d
push 0x6f
pop eax
jmp 0x404687
lea eax, [esi + 0x14]
cmp eax, edi
ja 0x404372
cmp esi, ebx
je 0x4043c6
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 0x4043cf
xor eax, eax
mov word [ebp - 0x302c], ax
mov ecx, dword [ebp - 0x3078]
call fcn.00403e6f
test al, al
je 0x404419
cmp dword [ebp - 0x307c], 0x103
jle 0x404419
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x102c]
push edi
push eax
call fcn.0040ab83
lea eax, [ebp - 0x102c]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x404407
sub eax, edx
sar eax, 1
mov esi, eax
jmp 0x40441b
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 0x40447d
movzx ecx, word [eax]
push 0x5c
pop edx
cmp dx, cx
je 0x404470
push 0x2f
pop edx
cmp dx, cx
jne 0x404476
push 0x5c
pop ecx
mov word [eax], cx
inc eax
inc eax
cmp word [eax], bx
jne 0x40445d
push dword [ebp - 0x3078]
lea eax, [ebp - 0x304c]
push eax
lea eax, [ebp - 0x306c]
push eax
call fcn.00403f23
add esp, 0xc
cmp dword [ebp - 0x3038], ebx
jne 0x4044e1
call fcn.004040c9
push 0xffffffffffffffff
mov esi, eax
push ebx
push esi
lea ecx, [ebp - 0x304c]
call fcn.00402102
mov ecx, dword [ebp - 0x3030]
cmp ecx, dword [esi + 0x1c]
je 0x4044e1
call fcn.00404957
cmp eax, ebx
je 0x4044d3
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx]
mov ecx, dword [esi + 0x1c]
mov dword [ebp - 0x3030], ecx
call fcn.0040492f
lea eax, [ebp - 0x304c]
push eax
call fcn.00403ebc
pop ecx
lea eax, [ebp - 0x304c]
call fcn.00404197
cmp dword [ebp - 0x3038], 0x103
jbe 0x404534
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x202c]
push edi
push eax
call fcn.0040ab83
lea eax, [ebp - 0x202c]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x404522
sub eax, edx
sar eax, 1
mov esi, eax
jmp 0x404536
xor esi, esi
cmp dword [ebp - 0x3034], 0x10
mov eax, dword [ebp - 0x3048]
jae 0x40454b
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.00404208
test al, al
jne 0x404586
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 0x40465c
lea eax, [ebp - 0x30bc]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x404606
mov dword [ebp - 0x3074], ebx
jmp 0x404616
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x3074], eax
cmp eax, ebx
jne 0x404642
cmp dword [ebp - 0x3084], ebx
je 0x404656
push ebx
push dword [ebp - 0x3084]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, ebx
jne 0x404642
lea eax, [ebp - 0x3074]
push eax
push dword [ebp - 0x3084]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0x3084], ebx
je 0x404656
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.00403e3d
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x306c]
push eax
call fcn.00403e3d
mov eax, esi
jmp 0x404687
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.00409fdb
leave
ret