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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a8623
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x4d7488]
xor eax, esp
mov dword [esp + 0x198], eax
push ebx
push esi
push edi
mov eax, dword [0x4d7488]
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 0x476b03
call fcn.00482bb3
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.00478318
and dword [esp + 0x1b8], 0
lea ebx, [edi + 0xc]
mov esi, eax
mov eax, ebx
mov dword [esp + 0x14], ebx
call fcn.0042375f
or dword [esp + 0x1b8], 0xffffffff
lea eax, [esp + 0xc8]
push eax
call fcn.0040ee8d
call fcn.00477369
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
call dword [eax + 0x1c]
lea eax, [esp + 0x4c]
push eax
call fcn.0040ee55
xor edi, edi
inc edi
mov dword [esp + 0x1b8], edi
lea eax, [esp + 0x2c]
push eax
call fcn.0040ee55
mov byte [esp + 0x1b8], 2
push ebx
call fcn.004780e1
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
je 0x476cd6
mov eax, dword [ebx + 0xc]
mov edi, ebx
mov ebx, eax
lea esi, [esp + 0x24]
call fcn.0046752f
mov ebx, dword [edi + 0xc]
lea esi, [esp + 0x1c]
call fcn.0046752f
push 1
push dword [esp + 0x14]
lea esi, [esp + 0xd0]
lea eax, [esp + 0x2c]
call fcn.00415f21
lea esi, [esp + 0x48]
call fcn.00415f21
push dword [eax + 4]
push dword [eax]
lea eax, [esp + 0xb4]
push dword [esp + 0x28]
push dword [esp + 0x28]
push eax
call fcn.0047835d
mov byte [esp + 0x1b8], 3
mov esi, eax
lea eax, [esp + 0x2c]
call fcn.0042375f
mov byte [esp + 0x1b8], 2
lea eax, [esp + 0xac]
push eax
call fcn.0040ee8d
mov ebx, dword [edi + 0x10]
lea esi, [esp + 0x1c]
call fcn.0046752f
mov ebx, dword [edi + 0xc]
lea esi, [esp + 0x24]
call fcn.0046752f
push 1
push dword [esp + 0x14]
lea esi, [esp + 0x4c]
lea eax, [esp + 0x2c]
call fcn.00415f21
lea esi, [esp + 0xcc]
call fcn.00415f21
push dword [esp + 0x20]
push dword [esp + 0x20]
push dword [eax + 4]
push dword [eax]
lea eax, [esp + 0xbc]
push eax
call fcn.0047835d
mov byte [esp + 0x1b8], 4
mov esi, eax
lea eax, [esp + 0x4c]
call fcn.0042375f
mov byte [esp + 0x1b8], 2
lea eax, [esp + 0xac]
push eax
call fcn.0040ee8d
push str.AI_MORE_CMD_LINE1
lea ecx, [esp + 0xb0]
call fcn.00403b1e
mov byte [esp + 0x1b8], 5
lea eax, [esp + 0xac]
push eax
lea eax, [esp + 0x30]
call fcn.00415fcb
mov byte [esp + 0x1b8], 2
push 0
push 1
lea ecx, [esp + 0xb4]
call fcn.00403ecf
xor edi, edi
inc edi
jmp 0x476ce1
mov esi, ebx
lea eax, [esp + 0x2c]
call fcn.0042375f
lea eax, [esp + 0x154]
push eax
call fcn.00470ae6
mov byte [esp + 0x1b8], 6
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea ecx, [esp + 0xe4]
push ecx
mov edx, eax
call fcn.00436be0
pop ecx
mov byte [esp + 0x1b8], 7
push eax
mov cl, 1
lea esi, [esp + 0x158]
call fcn.00470b35
mov byte [esp + 0x1b8], 6
xor ebx, ebx
push ebx
push edi
lea ecx, [esp + 0xec]
call fcn.00403ecf
lea esi, [esp + 0x100]
call fcn.0043fc90
mov byte [esp + 0x1b8], 8
mov ecx, dword [esp + 0x18]
call fcn.00477ace
test al, al
je 0x476eab
push ebx
call fcn.0043bf00
pop ecx
test al, al
je 0x476eab
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0x30]
call fcn.00445720
pop ecx
mov byte [esp + 0x1b8], 0xb
push 0x3c
pop esi
push esi
lea eax, [esp + 0x68]
push ebx
push eax
call fcn.00483240
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 0x476dcb
lea eax, [esp + 0x104]
push ebx
lea ecx, [esp + 0xb0]
mov dword [esp + 0x78], eax
mov dword [esp + 0x80], ebx
call fcn.0042f72e
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 0x476e90
mov byte [esp + 0x1b8], 8
push ebx
push edi
lea ecx, [esp + 0xb4]
call fcn.00403ecf
mov esi, 0x642
mov byte [esp + 0x1b8], 6
lea eax, [esp + 0x100]
push eax
call fcn.0040c1a7
mov byte [esp + 0x1b8], 2
lea eax, [esp + 0x154]
push eax
call fcn.00470bdf
mov byte [esp + 0x1b8], 1
lea eax, [esp + 0x2c]
push eax
call fcn.0040ee8d
or dword [esp + 0x1b8], 0xffffffff
lea eax, [esp + 0x4c]
push eax
call fcn.0040ee8d
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.0048297b
mov esp, ebp
pop ebp
ret
mov byte [esp + 0x1b8], 8
push ebx
push edi
lea ecx, [esp + 0xb4]
call fcn.00403ecf
jmp 0x476f99
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x3c]
jbe 0x476ebe
call fcn.00482bb3
mov edi, dword [esp + 0x2c]
lea esi, [esp + 0xe4]
call fcn.0043fc90
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.00415f4f
mov byte [esp + 0x1b8], 8
mov eax, esi
push eax
call fcn.0040c1a7
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0x30]
call fcn.00445720
pop ecx
mov byte [esp + 0x1b8], 0xa
push 0x40
lea eax, [esp + 0x6c]
push ebx
push eax
mov dword [esp + 0x70], 0x44
call fcn.00483240
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 0x476f57
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.0042f72e
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.00403ecf
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 0x47703c
push ebx
lea ecx, [esp + 0xcc]
mov dword [esp + 0xe4], 7
call fcn.00403eb1
mov byte [esp + 0x1b8], 0xc
lea eax, [esp + 0xe4]
push eax
lea ecx, [esp + 0x50]
call fcn.00445720
pop ecx
mov byte [esp + 0x1b8], 0xd
lea eax, [esp + 0xc8]
push eax
lea ecx, [esp + 0x158]
call fcn.00470cef
lea eax, [esp + 0xe4]
lea esi, [esp + 0x154]
call fcn.00470ee8
mov byte [esp + 0x1b8], 0xc
push ebx
push edi
lea ecx, [esp + 0xec]
call fcn.00403ecf
mov byte [esp + 0x1b8], 8
push ebx
push edi
lea ecx, [esp + 0xd0]
call fcn.00403ecf
push 7
pop esi
push ebx
lea ecx, [esp + 0x13c]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x154], esi
call fcn.00403eb1
mov byte [esp + 0x1b8], 0xe
push ebx
lea ecx, [esp + 0x120]
mov dword [esp + 0x138], esi
call fcn.00403eb1
mov byte [esp + 0x1b8], 0xf
jmp 0x47713f
lea esi, [esp + 0x154]
call fcn.00470f19
lea eax, [esp + 0x11c]
push eax
mov ecx, esi
call fcn.00470cef
test al, al
jne 0x47715b
lea eax, [esp + 0x138]
call fcn.00436c80
mov ecx, eax
and ecx, 0xff000000
cmp ecx, 0xd000000
je 0x477123
cmp dword [esp + 0x134], 8
mov edx, dword [esp + 0x120]
jae 0x4770d7
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.00436be0
pop ecx
mov byte [esp + 0x1b8], 0x10
lea esi, [esp + 0x154]
call fcn.00470ee8
mov byte [esp + 0x1b8], 0xf
push ebx
push edi
lea ecx, [esp + 0xec]
call fcn.00403ecf
jmp 0x47713f
lea eax, [esp + 0x11c]
call fcn.00436c80
lea esi, [esp + 0x154]
mov dword [esp + 0x10], eax
call fcn.00470f19
lea eax, [esp + 0x138]
push eax
lea ecx, [esp + 0x158]
call fcn.00470cef
test al, al
je 0x477080
mov byte [esp + 0x1b8], 0xe
push ebx
push edi
lea ecx, [esp + 0x124]
call fcn.00403ecf
mov byte [esp + 0x1b8], 8
push ebx
push edi
lea ecx, [esp + 0x140]
call fcn.00403ecf
mov esi, dword [esp + 0x10]
jmp 0x476e1c