Function at 0x412170
Capabilities:
Create process on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x474628
mov eax, dword fs:[0]
push eax
sub esp, 0x2d0
mov eax, dword [0x4a7534]
xor eax, esp
mov dword [esp + 0x2c8], eax
push ebx
push esi
push edi
mov eax, dword [0x4a7534]
xor eax, esp
push eax
lea eax, [esp + 0x2e0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov esi, ecx
mov dword [esp + 0x10], eax
xor edi, edi
mov edi, edi
mov ecx, dword [esi + 8]
test ecx, ecx
jne 0x4121cb
xor eax, eax
jmp 0x4121d3
mov eax, dword [esi + 0xc]
sub eax, ecx
sar eax, 2
cmp edi, eax
jge 0x41222d
test ecx, ecx
je 0x4121e7
mov eax, dword [esi + 0xc]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x4121ec
call fcn.00445da3
mov edx, dword [esi + 8]
mov eax, dword [edx + edi*4]
mov ecx, ebx
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41221a
test dx, dx
je 0x412216
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41221a
add eax, 4
add ecx, 4
test dx, dx
jne 0x4121f4
xor eax, eax
jmp 0x41221f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x412228
add edi, 1
jmp 0x4121c0
cmp edi, 0xffffffff
jne 0x412249
mov ecx, dword [esp + 0x10]
push 0x483d04
call fcn.0046be50
mov ecx, eax
call fcn.0046bec0
xor al, al
jmp 0x4125f6
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x41225c
mov eax, dword [esi + 0xc]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x412261
call fcn.00445da3
mov eax, dword [esi + 8]
mov ebx, dword [eax + edi*4]
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], ebx
call fcn.00468b50
lea ecx, [esp + 0x48]
mov dword [esp + 0x2e8], 0
call fcn.00468b50
push 0x4827e4
lea ecx, [ebx + 0xf4]
mov byte [esp + 0x2ec], 1
call fcn.00468670
push eax
lea ecx, [esp + 0x20]
call fcn.00468d90
mov ecx, eax
call fcn.00468d90
lea edi, [esp + 0xa4]
call fcn.0041df80
lea esi, [esp + 0x94]
mov byte [esp + 0x2e8], 2
call fcn.00402850
push 0
push 0
push 0
push 0
push 0
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x300], 3
call fcn.0046e160
mov ecx, esi
call fcn.0046cf20
mov ecx, edi
mov byte [esp + 0x2e8], 6
call fcn.0046cf20
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x28]
call fcn.00468670
push eax
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x50]
call fcn.0046e160
lea esi, [ebx + 0x10]
mov ecx, esi
mov byte [esp + 0x2e8], 7
call fcn.00468750
test eax, eax
jbe 0x4123e0
mov ecx, esi
call fcn.00468640
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x103
push edi
mov dword [esp + 0xc0], eax
mov eax, 1
lea edx, [esp + 0xcc]
push 0x104
push edx
mov dword [esp + 0xcc], eax
mov word [esp + 0xd0], ax
mov dword [esp + 0xc4], vtable.PopupPingbackMsg.0
call fcn.00446b69
add esp, 0x10
mov dword [esp + 0x2cc], 3
lea ecx, [esp + 0xb4]
mov byte [esp + 0x2e8], 8
call fcn.0042c060
cmp eax, 0xffffffff
mov edi, dword [esp + 0x10]
jne 0x4123d6
push 0x4836d0
mov ecx, edi
call fcn.0046be50
mov ecx, eax
call fcn.0046bec0
mov ecx, edi
call fcn.0046cb50
mov ecx, edi
call fcn.0046bdf0
mov byte [esp + 0x2e8], 7
jmp 0x4123e4
mov edi, dword [esp + 0x10]
push 0x38
lea eax, [esp + 0x60]
push 0
push eax
call fcn.00449450
xor eax, eax
add esp, 0xc
lea ecx, [esp + 0x38]
mov dword [esp + 0x58], 0x3c
mov dword [esp + 0x5c], 0x40
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
call fcn.0046cee0
mov dword [esp + 0x68], eax
xor eax, eax
lea ecx, [esp + 0x58]
push ecx
mov dword [esp + 0x70], 0x4827f0
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], 5
mov dword [esp + 0x7c], eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov edx, dword [esp + 0x90]
push 0xea60
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4124a7
mov eax, dword [esp + 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x483d18
mov ecx, edi
call fcn.0046be50
mov ecx, eax
call fcn.0046bec0
lea ecx, [esp + 0x38]
call fcn.0046cf20
lea ecx, [esp + 0x28]
call fcn.0046cf20
lea ecx, [esp + 0x48]
call fcn.00468790
lea ecx, [esp + 0x18]
call fcn.00468790
xor al, al
jmp 0x4125f6
mov ecx, dword [esp + 0x90]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, esi
call fcn.00468750
test eax, eax
jbe 0x412568
mov ecx, esi
call fcn.00468640
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x103
push esi
mov dword [esp + 0xc0], eax
mov eax, 1
lea edx, [esp + 0xcc]
push 0x104
push edx
mov dword [esp + 0xcc], eax
mov word [esp + 0xd0], ax
mov dword [esp + 0xc4], vtable.PopupPingbackMsg.0
call fcn.00446b69
add esp, 0x10
mov dword [esp + 0x2cc], 4
lea ecx, [esp + 0xb4]
mov byte [esp + 0x2e8], 9
call fcn.0042c060
neg eax
sbb eax, eax
add eax, 1
cmp eax, 0xffffffff
jne 0x412560
push 0x4836d0
mov ecx, edi
call fcn.0046be50
mov ecx, eax
call fcn.0046bec0
mov ecx, edi
call fcn.0046cb50
mov ecx, edi
call fcn.0046bdf0
mov byte [esp + 0x2e8], 7
lea ecx, [ebx + 0x54]
call fcn.00468670
mov esi, dword [esp + 0x14]
lea ecx, [esi + 0x74]
mov ebx, eax
call fcn.00468670
lea ecx, [esi + 0x64]
mov edi, eax
call fcn.00468670
mov esi, eax
call fcn.00412c80
test al, al
je 0x4125d0
mov ecx, dword [esp + 0x10]
push 0x483d28
call fcn.0046be50
mov ecx, eax
call fcn.0046bec0
lea ecx, [esp + 0x38]
call fcn.0046cf20
lea ecx, [esp + 0x28]
call fcn.0046cf20
lea ecx, [esp + 0x48]
call fcn.00468790
lea ecx, [esp + 0x18]
call fcn.00468790
xor al, al
jmp 0x4125f6
lea ecx, [esp + 0x38]
call fcn.0046cf20
lea ecx, [esp + 0x28]
call fcn.0046cf20
lea ecx, [esp + 0x48]
call fcn.00468790
lea ecx, [esp + 0x18]
call fcn.00468790
mov al, 1
mov ecx, dword [esp + 0x2e0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2c8]
xor ecx, esp
call fcn.00445c6a
mov esp, ebp
pop ebp
ret 8