Function at 0x412040
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x453402
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x469524]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov dword [esp + 0x20], 0
push str._SYSTEM32_
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 1
call fcn.0040a430
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 2
call fcn.004162d0
push 0xc
push str.regsvr32.exe
lea ecx, [esp + 0x24]
call fcn.00408380
mov eax, dword [esp + 0x1c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x2c], esp
mov esi, esp
push eax
call fcn.00409fe0
add eax, 0x10
add esp, 4
lea edi, [esp + 0x24]
mov dword [esi], eax
call fcn.00418d00
add esp, 4
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 3
call fcn.00409f40
mov byte [esp + 0x34], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4120ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
push eax
call fcn.00409fe0
add eax, 0x10
add esp, 4
mov dword [esp + 0x18], eax
push 1
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 4
call fcn.00407890
mov eax, dword [eax]
push 0x45b624
push eax
call fcn.0043b4e8
add esp, 8
test eax, eax
mov byte [esp + 0x34], 4
mov eax, dword [esp + 0x20]
setne bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x412165
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x412179
push 1
push 0x45b624
lea ecx, [esp + 0x20]
call fcn.00408380
mov eax, dword [esp + 0x40]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00408380
mov esi, dword [esp + 0x18]
mov edi, dword [esi - 0xc]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x4121b1
push edi
lea ecx, [esp + 0x1c]
call fcn.0040a5c0
mov esi, dword [esp + 0x18]
lea ecx, [edi + 1]
push ecx
push esi
call fcn.0043b6d7
push eax
call fcn.0040ac40
add esp, 0xc
test edi, edi
jl 0x412502
cmp edi, dword [esi - 8]
jg 0x412502
push 3
lea edx, [esp + 0x2c]
mov dword [esi - 0xc], edi
push edx
lea ecx, [esp + 0x20]
mov byte [edi + esi], 0
call fcn.00407890
mov byte [esp + 0x34], 6
mov eax, dword [eax]
push 0x45b628
mov ebx, 1
push eax
mov dword [esp + 0x28], ebx
call fcn.0043b4e8
add esp, 8
test eax, eax
je 0x41223c
push 3
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x20]
call fcn.00407890
mov eax, dword [eax]
push 0x45b62c
push eax
mov ebx, 3
call fcn.0043b4e8
add esp, 8
mov byte [esp + 0x17], 0
test eax, eax
jne 0x412241
mov byte [esp + 0x17], 1
mov dword [esp + 0x34], 6
test bl, 2
je 0x412275
mov eax, dword [esp + 0x24]
and ebx, 0xfffffffd
add eax, 0xfffffff0
mov dword [esp + 0x20], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412275
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x34], 4
test bl, 1
je 0x4122a2
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4122a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x17], 0
mov ebp, dword [sym.imp.SHELL32.dll_ShellExecuteA]
je 0x41236c
push ecx
mov dword [esp + 0x2c], esp
add esi, 0xfffffff0
mov edi, esp
push esi
call fcn.00409fe0
add eax, 0x10
mov dword [edi], eax
add esp, 4
lea edi, [esp + 0x2c]
call fcn.00418d00
add esp, 4
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 8
call fcn.00409f40
mov byte [esp + 0x34], 4
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41230b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.__u__s
lea ecx, [esp + 0x24]
call fcn.0040a430
mov byte [esp + 0x34], 9
mov esi, dword [esp + 0x18]
mov eax, dword [esi - 0xc]
push eax
push esi
lea ecx, [esp + 0x28]
call fcn.00408380
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push 5
push 0
push ecx
push edx
push str.open
push 0
call ebp
mov byte [esp + 0x34], 4
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41236c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 3
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x20]
call fcn.00407890
mov eax, dword [eax]
push 0x45b638
push eax
call fcn.0043b4e8
add esp, 8
test eax, eax
mov byte [esp + 0x34], 4
mov eax, dword [esp + 0x28]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4123b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x41245b
push ecx
mov dword [esp + 0x2c], esp
add esi, 0xfffffff0
mov edi, esp
push esi
call fcn.00409fe0
add eax, 0x10
mov dword [edi], eax
add esp, 4
lea edi, [esp + 0x2c]
call fcn.00418d00
add esp, 4
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 0xb
call fcn.00409f40
mov byte [esp + 0x34], 4
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412416
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.__regserver
lea ecx, [esp + 0x24]
call fcn.0040a430
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
push 5
push 0
push ecx
push esi
push str.open
push 0
call ebp
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41245b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x34], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41247c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x34], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4124a1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x34], 0
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4124c6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x34], 0xffffffff
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4124ee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
push 0x80070057
call fcn.0040ad10
int3