Function at 0x416610
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55f93d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x268
push ebx
push esi
push edi
mov dword [ebp - 4], 0
call fcn.00424e20
mov ecx, eax
test ecx, ecx
je 0x416a62
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
sub esp, 0x18
mov dword [ebp - 4], 1
mov ecx, esp
push 5
push 0x5773b8
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00424490
lea ecx, [ebp - 0x14]
call fcn.00437680
add esp, 0x18
mov byte [ebp - 4], 2
mov edx, dword [eax]
mov ecx, edx
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4166b0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.00424490
mov byte [ebp - 4], 4
or ebx, 0xffffffff
mov edx, dword [ebp - 0x14]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4166ea
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push 0x57ece0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.00424490
push 0x104
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 5
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x40]
call fcn.004393f0
cmp dword [ebp - 0x2c], 8
lea esi, [ebp - 0x40]
lea eax, [ebp - 0x58]
cmovae esi, dword [ebp - 0x40]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00424b70
lea ecx, [ebp - 0x14]
call fcn.00437900
push esi
mov byte [ebp - 4], 6
push dword [eax]
lea eax, [ebp - 0x20]
push str._ws__ws
push eax
call fcn.0041a6d0
mov byte [ebp - 4], 5
add esp, 0x28
mov edx, dword [ebp - 0x14]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x416785
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x20]
lea eax, [ebp - 0x270]
push 0xa
push 0
push esi
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
cmp edi, 0x20
ja 0x4169b8
sub esp, 0x18
mov ecx, esp
push 7
push str.product
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00424490
lea ecx, [ebp - 0x14]
call fcn.00437680
mov ecx, esp
mov byte [ebp - 4], 7
push 0xc
push str.reload_error
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00424490
lea ecx, [ebp - 0x28]
call fcn.00437680
mov ecx, esp
mov byte [ebp - 4], 8
push 9
push 0x5773f0
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00424490
lea ecx, [ebp - 0x24]
call fcn.00437680
add esp, 0x18
mov byte [ebp - 4], 0xa
call fcn.00424e20
mov ecx, eax
test ecx, ecx
je 0x416a6c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0xb
push dword [ebp - 0x10]
push ecx
mov edi, esp
mov dword [ebp - 0x10], edi
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00425550
add eax, 0x10
lea ecx, [ebp - 0x10]
mov dword [edi], eax
call fcn.00437b50
add esp, 4
mov byte [ebp - 4], 0xc
push dword [eax]
lea eax, [ebp - 0x18]
push eax
call fcn.0041a6d0
mov byte [ebp - 4], 0xb
add esp, 0xc
mov edx, dword [ebp - 0x10]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4168b7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov dword [ebp - 0x5c], esp
mov edi, esp
sub esp, 0x18
mov ecx, esp
push 0x5a373c
call fcn.00424b70
mov ecx, edi
call fcn.00437900
add esp, 0x14
mov byte [ebp - 4], 0xd
mov edi, esp
mov dword [ebp - 0x60], esp
mov dword [ebp - 0x10], edi
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov ecx, eax
mov dword [ebp - 0x10], eax
call fcn.00425550
add eax, 0x10
mov dword [edi], eax
push ecx
mov byte [ebp - 4], 0xe
mov ebx, esp
mov dword [ebp - 0x64], esp
push ecx
mov ecx, dword [ebp - 0x28]
mov edi, esp
mov dword [ebp - 0x1c], edi
lea ecx, [ecx - 0x10]
call fcn.00425550
add eax, 0x10
mov ecx, ebx
mov dword [edi], eax
call fcn.00437b50
mov byte [ebp - 4], 0xf
mov ebx, esp
push ecx
mov ecx, dword [ebp - 0x14]
mov edi, esp
mov dword [ebp - 0x1c], edi
lea ecx, [ecx - 0x10]
call fcn.00425550
add eax, 0x10
mov ecx, ebx
mov dword [edi], eax
call fcn.00437b50
add esp, 4
mov byte [ebp - 4], 0xb
call fcn.00447270
mov edx, dword [ebp - 0x10]
or ebx, 0xffffffff
add esp, 0x10
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41696a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x24]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x416984
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x28]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41699e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4169b8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x4169f2
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4169e8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416a76
push ecx
push edx
call fcn.00532241
add esp, 8
mov ecx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp ecx, 8
jb 0x416a3c
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x416a32
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416a76
push ecx
push edx
call fcn.00532241
add esp, 8
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x416a51
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00425520
push 0x80004005
call fcn.00425520
call fcn.005370ef
int3