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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x499f27
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x4bf490]
xor eax, esp
mov dword [esp + 0x198], eax
push ebx
push esi
push edi
mov eax, dword [0x4bf490]
xor eax, esp
push eax
lea eax, [esp + 0x1b0]
mov dword fs:[0], eax
mov edi, ecx
lea ebx, [edi + 0xc0]
mov eax, dword [ebx]
mov esi, dword [eax + 0xec]
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
add ecx, eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], eax
cmp eax, ecx
jbe 0x46f443
call fcn.00476d83
mov eax, dword [ebx]
push dword [eax + 0xf4]
mov esi, dword [esi]
push dword [eax + 0xf0]
lea eax, [esp + 0xd0]
push dword [esp + 0x18]
push esi
push eax
call fcn.00470ec0
and dword [esp + 0x1b8], 0
lea ebx, [edi + 0xc]
mov esi, eax
mov eax, ebx
mov dword [esp + 0x14], ebx
call fcn.00420f53
or dword [esp + 0x1b8], 0xffffffff
lea eax, [esp + 0xc8]
push eax
call fcn.0040caa3
call fcn.0046fc97
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
call dword [eax + 0x1c]
lea eax, [esp + 0x4c]
push eax
call fcn.0040ca6b
xor edi, edi
inc edi
mov dword [esp + 0x1b8], edi
lea eax, [esp + 0x2c]
push eax
call fcn.0040ca6b
mov byte [esp + 0x1b8], 2
push ebx
call fcn.004709ba
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
je 0x46f616
mov eax, dword [ebx + 0xc]
mov edi, ebx
mov ebx, eax
lea esi, [esp + 0x24]
call fcn.00432ca8
mov ebx, dword [edi + 0xc]
lea esi, [esp + 0x1c]
call fcn.00432ca8
push 1
push dword [esp + 0x14]
lea esi, [esp + 0xd0]
lea eax, [esp + 0x2c]
call fcn.0041363c
lea esi, [esp + 0x48]
call fcn.0041363c
push dword [eax + 4]
push dword [eax]
lea eax, [esp + 0xb4]
push dword [esp + 0x28]
push dword [esp + 0x28]
push eax
call fcn.00470f05
mov byte [esp + 0x1b8], 3
mov esi, eax
lea eax, [esp + 0x2c]
call fcn.00420f53
mov byte [esp + 0x1b8], 2
lea eax, [esp + 0xac]
push eax
call fcn.0040caa3
mov ebx, dword [edi + 0x10]
lea esi, [esp + 0x1c]
call fcn.00432ca8
mov ebx, dword [edi + 0xc]
lea esi, [esp + 0x24]
call fcn.00432ca8
push 1
push dword [esp + 0x14]
lea esi, [esp + 0x4c]
lea eax, [esp + 0x2c]
call fcn.0041363c
lea esi, [esp + 0xcc]
call fcn.0041363c
push dword [esp + 0x20]
push dword [esp + 0x20]
push dword [eax + 4]
push dword [eax]
lea eax, [esp + 0xbc]
push eax
call fcn.00470f05
mov byte [esp + 0x1b8], 4
mov esi, eax
lea eax, [esp + 0x4c]
call fcn.00420f53
mov byte [esp + 0x1b8], 2
lea eax, [esp + 0xac]
push eax
call fcn.0040caa3
push str.AI_MORE_CMD_LINE1
lea ecx, [esp + 0xb0]
call fcn.00403740
mov byte [esp + 0x1b8], 5
lea eax, [esp + 0xac]
push eax
lea eax, [esp + 0x30]
call fcn.004136e6
mov byte [esp + 0x1b8], 2
push 0
push 1
lea ecx, [esp + 0xb4]
call fcn.0040292b
xor edi, edi
inc edi
jmp 0x46f621
mov esi, ebx
lea eax, [esp + 0x2c]
call fcn.00420f53
lea eax, [esp + 0x154]
push eax
call fcn.0046969f
mov byte [esp + 0x1b8], 6
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea ecx, [esp + 0xe4]
push ecx
mov edx, eax
call fcn.004363c0
pop ecx
mov byte [esp + 0x1b8], 7
push eax
mov cl, 1
lea esi, [esp + 0x158]
call fcn.004696ee
mov byte [esp + 0x1b8], 6
xor ebx, ebx
push ebx
push edi
lea ecx, [esp + 0xec]
call fcn.0040292b
lea esi, [esp + 0x100]
call fcn.00433710
mov byte [esp + 0x1b8], 8
mov ecx, dword [esp + 0x18]
call fcn.004703a7
test al, al
je 0x46f7e9
call fcn.004331f0
test al, al
je 0x46f7e9
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0x30]
call fcn.00440e10
pop ecx
mov byte [esp + 0x1b8], 0xb
push 0x3c
pop esi
push esi
lea eax, [esp + 0x68]
push ebx
push eax
call fcn.004773f0
mov eax, dword [esp + 0x110]
add esp, 0xc
cmp dword [esp + 0x118], 8
mov dword [esp + 0x64], esi
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x68], 0x500
mov dword [esp + 0x70], str.runas
jae 0x46f709
lea eax, [esp + 0x104]
push ebx
lea ecx, [esp + 0xb0]
mov dword [esp + 0x78], eax
mov dword [esp + 0x80], ebx
call fcn.0042c9e9
mov dword [esp + 0x78], eax
lea eax, [esp + 0x64]
push eax
mov dword [esp + 0x84], edi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp eax, ebx
jne 0x46f7ce
mov byte [esp + 0x1b8], 8
push ebx
push edi
lea ecx, [esp + 0xb4]
call fcn.0040292b
mov esi, 0x642
mov byte [esp + 0x1b8], 6
lea eax, [esp + 0x100]
push eax
call fcn.00408871
mov byte [esp + 0x1b8], 2
lea eax, [esp + 0x154]
push eax
call fcn.00469798
mov byte [esp + 0x1b8], 1
lea eax, [esp + 0x2c]
push eax
call fcn.0040caa3
or dword [esp + 0x1b8], 0xffffffff
lea eax, [esp + 0x4c]
push eax
call fcn.0040caa3
mov eax, esi
mov ecx, dword [esp + 0x1b0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x198]
xor ecx, esp
call fcn.00476b4b
mov esp, ebp
pop ebp
ret
mov byte [esp + 0x1b8], 8
push ebx
push edi
lea ecx, [esp + 0xb4]
call fcn.0040292b
jmp 0x46f8d7
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x3c]
jbe 0x46f7fc
call fcn.00476d83
mov edi, dword [esp + 0x2c]
lea esi, [esp + 0xe4]
call fcn.00433710
mov byte [esp + 0x1b8], 9
push dword [esp + 0x10]
push edi
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x3c]
call fcn.0041366a
mov byte [esp + 0x1b8], 8
mov eax, esi
push eax
call fcn.00408871
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0x30]
call fcn.00440e10
pop ecx
mov byte [esp + 0x1b8], 0xa
push 0x40
lea eax, [esp + 0x6c]
push ebx
push eax
mov dword [esp + 0x70], 0x44
call fcn.004773f0
mov esi, dword [esp + 0x110]
xor eax, eax
mov dword [esp + 0xd4], ebx
lea edi, [esp + 0xd8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
cmp dword [esp + 0x118], 8
stosd dword es:[edi], eax
jae 0x46f895
lea esi, [esp + 0x104]
lea eax, [esp + 0xc8]
push eax
lea eax, [esp + 0x68]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0xd0]
call fcn.0042c9e9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov byte [esp + 0x1b8], 8
push ebx
push 1
lea ecx, [esp + 0xb4]
call fcn.0040292b
xor edi, edi
inc edi
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x58]
push 0x1c
cdq
pop ecx
idiv ecx
test eax, eax
je 0x46f97a
push ebx
lea ecx, [esp + 0xcc]
mov dword [esp + 0xe4], 7
call fcn.0040290d
mov byte [esp + 0x1b8], 0xc
lea eax, [esp + 0xe4]
push eax
lea ecx, [esp + 0x50]
call fcn.00440e10
pop ecx
mov byte [esp + 0x1b8], 0xd
lea eax, [esp + 0xc8]
push eax
lea ecx, [esp + 0x158]
call fcn.00469974
lea eax, [esp + 0xe4]
lea esi, [esp + 0x154]
call fcn.00469b6d
mov byte [esp + 0x1b8], 0xc
push ebx
push edi
lea ecx, [esp + 0xec]
call fcn.0040292b
mov byte [esp + 0x1b8], 8
push ebx
push edi
lea ecx, [esp + 0xd0]
call fcn.0040292b
push 7
pop esi
push ebx
lea ecx, [esp + 0x13c]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x154], esi
call fcn.0040290d
mov byte [esp + 0x1b8], 0xe
push ebx
lea ecx, [esp + 0x120]
mov dword [esp + 0x138], esi
call fcn.0040290d
mov byte [esp + 0x1b8], 0xf
jmp 0x46fa6d
lea esi, [esp + 0x154]
call fcn.00469b9e
lea eax, [esp + 0x11c]
push eax
mov ecx, esi
call fcn.00469974
test al, al
jne 0x46fa89
lea eax, [esp + 0x138]
call fcn.00436460
cmp eax, 0xd000000
jne 0x46fa0b
lea eax, [esp + 0x11c]
call fcn.00436460
mov dword [esp + 0x10], eax
call fcn.00469b9e
jmp 0x46fa6d
cmp dword [esp + 0x134], 8
mov edx, dword [esp + 0x120]
jae 0x46fa23
lea edx, [esp + 0x120]
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 0xcc]
mov esi, dword [ecx]
push edx
push eax
call dword [esi]
lea ecx, [esp + 0xe4]
push ecx
mov edx, eax
call fcn.004363c0
pop ecx
mov byte [esp + 0x1b8], 0x10
lea esi, [esp + 0x154]
call fcn.00469b6d
mov byte [esp + 0x1b8], 0xf
push ebx
push edi
lea ecx, [esp + 0xec]
call fcn.0040292b
lea eax, [esp + 0x138]
push eax
lea ecx, [esp + 0x158]
call fcn.00469974
test al, al
je 0x46f9be
mov byte [esp + 0x1b8], 0xe
push ebx
push edi
lea ecx, [esp + 0x124]
call fcn.0040292b
mov byte [esp + 0x1b8], 8
push ebx
push edi
lea ecx, [esp + 0x140]
call fcn.0040292b
mov esi, dword [esp + 0x10]
jmp 0x46f75a