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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b252a
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x4e52f4]
xor eax, esp
mov dword [esp + 0x198], eax
push ebx
push esi
push edi
mov eax, dword [0x4e52f4]
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 0x47c80f
call fcn.00489d53
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.0047e01c
and dword [esp + 0x1b8], 0
lea ebx, [edi + 0xc]
mov esi, eax
mov eax, ebx
mov dword [esp + 0x14], ebx
call fcn.0042474a
or dword [esp + 0x1b8], 0xffffffff
lea eax, [esp + 0xc8]
push eax
call fcn.00410084
call fcn.0047d06f
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx]
call dword [eax + 0x1c]
lea eax, [esp + 0x4c]
push eax
call fcn.0041004c
xor edi, edi
inc edi
mov dword [esp + 0x1b8], edi
lea eax, [esp + 0x2c]
push eax
call fcn.0041004c
mov byte [esp + 0x1b8], 2
push ebx
call fcn.0047dde5
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
je 0x47c9e2
mov eax, dword [ebx + 0xc]
mov edi, ebx
mov ebx, eax
lea esi, [esp + 0x24]
call fcn.0042f7ff
mov ebx, dword [edi + 0xc]
lea esi, [esp + 0x1c]
call fcn.0042f7ff
push 1
push dword [esp + 0x14]
lea esi, [esp + 0xd0]
lea eax, [esp + 0x2c]
call fcn.00416d6c
lea esi, [esp + 0x48]
call fcn.00416d6c
push dword [eax + 4]
push dword [eax]
lea eax, [esp + 0xb4]
push dword [esp + 0x28]
push dword [esp + 0x28]
push eax
call fcn.0047e061
mov byte [esp + 0x1b8], 3
mov esi, eax
lea eax, [esp + 0x2c]
call fcn.0042474a
mov byte [esp + 0x1b8], 2
lea eax, [esp + 0xac]
push eax
call fcn.00410084
mov ebx, dword [edi + 0x10]
lea esi, [esp + 0x1c]
call fcn.0042f7ff
mov ebx, dword [edi + 0xc]
lea esi, [esp + 0x24]
call fcn.0042f7ff
push 1
push dword [esp + 0x14]
lea esi, [esp + 0x4c]
lea eax, [esp + 0x2c]
call fcn.00416d6c
lea esi, [esp + 0xcc]
call fcn.00416d6c
push dword [esp + 0x20]
push dword [esp + 0x20]
push dword [eax + 4]
push dword [eax]
lea eax, [esp + 0xbc]
push eax
call fcn.0047e061
mov byte [esp + 0x1b8], 4
mov esi, eax
lea eax, [esp + 0x4c]
call fcn.0042474a
mov byte [esp + 0x1b8], 2
lea eax, [esp + 0xac]
push eax
call fcn.00410084
push str.AI_MORE_CMD_LINE1
lea ecx, [esp + 0xb0]
call fcn.0040432c
mov byte [esp + 0x1b8], 5
lea eax, [esp + 0xac]
push eax
lea eax, [esp + 0x30]
call fcn.00416e16
mov byte [esp + 0x1b8], 2
push 0
push 1
lea ecx, [esp + 0xb4]
call fcn.004043a7
xor edi, edi
inc edi
jmp 0x47c9ed
mov esi, ebx
lea eax, [esp + 0x2c]
call fcn.0042474a
lea eax, [esp + 0x154]
push eax
call fcn.0047655b
mov byte [esp + 0x1b8], 6
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
lea esi, [esp + 0xe4]
call fcn.00439a20
mov byte [esp + 0x1b8], 7
push eax
mov cl, 1
lea esi, [esp + 0x158]
call fcn.004765aa
mov byte [esp + 0x1b8], 6
xor ebx, ebx
push ebx
push edi
lea ecx, [esp + 0xec]
call fcn.004043a7
lea esi, [esp + 0x100]
call fcn.00442970
mov byte [esp + 0x1b8], 8
mov ecx, dword [esp + 0x18]
call fcn.0047d7d2
test al, al
je 0x47cbb3
call fcn.0043eaa0
test al, al
je 0x47cbb3
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0x30]
call fcn.00447ce0
pop ecx
mov byte [esp + 0x1b8], 0xb
push 0x3c
pop esi
push esi
lea eax, [esp + 0x68]
push ebx
push eax
call fcn.0048a3e0
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 0x47cad3
lea eax, [esp + 0x104]
push ebx
lea ecx, [esp + 0xb0]
mov dword [esp + 0x78], eax
mov dword [esp + 0x80], ebx
call fcn.0043271f
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 0x47cb98
mov byte [esp + 0x1b8], 8
push ebx
push edi
lea ecx, [esp + 0xb4]
call fcn.004043a7
mov esi, 0x642
mov byte [esp + 0x1b8], 6
lea eax, [esp + 0x100]
push eax
call fcn.0040ca60
mov byte [esp + 0x1b8], 2
lea eax, [esp + 0x154]
push eax
call fcn.00476654
mov byte [esp + 0x1b8], 1
lea eax, [esp + 0x2c]
push eax
call fcn.00410084
or dword [esp + 0x1b8], 0xffffffff
lea eax, [esp + 0x4c]
push eax
call fcn.00410084
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.00489b1b
mov esp, ebp
pop ebp
ret
mov byte [esp + 0x1b8], 8
push ebx
push edi
lea ecx, [esp + 0xb4]
call fcn.004043a7
jmp 0x47cca1
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x3c]
jbe 0x47cbc6
call fcn.00489d53
mov edi, dword [esp + 0x2c]
lea esi, [esp + 0xe4]
call fcn.00442970
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.00416d9a
mov byte [esp + 0x1b8], 8
mov eax, esi
push eax
call fcn.0040ca60
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0x30]
call fcn.00447ce0
pop ecx
mov byte [esp + 0x1b8], 0xa
push 0x40
lea eax, [esp + 0x6c]
push ebx
push eax
mov dword [esp + 0x70], 0x44
call fcn.0048a3e0
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 0x47cc5f
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.0043271f
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.004043a7
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 0x47cd44
push ebx
lea ecx, [esp + 0xcc]
mov dword [esp + 0xe4], 7
call fcn.00404389
mov byte [esp + 0x1b8], 0xc
lea eax, [esp + 0xe4]
push eax
lea ecx, [esp + 0x50]
call fcn.00447ce0
pop ecx
mov byte [esp + 0x1b8], 0xd
lea eax, [esp + 0xc8]
push eax
lea ecx, [esp + 0x158]
call fcn.00476763
lea eax, [esp + 0xe4]
lea esi, [esp + 0x154]
call fcn.0047695c
mov byte [esp + 0x1b8], 0xc
push ebx
push edi
lea ecx, [esp + 0xec]
call fcn.004043a7
mov byte [esp + 0x1b8], 8
push ebx
push edi
lea ecx, [esp + 0xd0]
call fcn.004043a7
push 7
pop esi
push ebx
lea ecx, [esp + 0x13c]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x154], esi
call fcn.00404389
mov byte [esp + 0x1b8], 0xe
push ebx
lea ecx, [esp + 0x120]
mov dword [esp + 0x138], esi
call fcn.00404389
mov byte [esp + 0x1b8], 0xf
jmp 0x47ce45
lea esi, [esp + 0x154]
call fcn.0047698d
lea eax, [esp + 0x11c]
push eax
mov ecx, esi
call fcn.00476763
test al, al
jne 0x47ce61
lea eax, [esp + 0x138]
call fcn.00439b20
mov ecx, eax
and ecx, 0xff000000
cmp ecx, 0xd000000
je 0x47ce29
cmp dword [esp + 0x134], 8
mov edx, dword [esp + 0x120]
jae 0x47cddf
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]
mov ecx, eax
lea esi, [esp + 0xe4]
call fcn.00439a20
mov byte [esp + 0x1b8], 0x10
lea esi, [esp + 0x154]
call fcn.0047695c
mov byte [esp + 0x1b8], 0xf
push ebx
push edi
lea ecx, [esp + 0xec]
call fcn.004043a7
jmp 0x47ce45
lea eax, [esp + 0x11c]
call fcn.00439b20
lea esi, [esp + 0x154]
mov dword [esp + 0x10], eax
call fcn.0047698d
lea eax, [esp + 0x138]
push eax
lea ecx, [esp + 0x158]
call fcn.00476763
test al, al
je 0x47cd88
mov byte [esp + 0x1b8], 0xe
push ebx
push edi
lea ecx, [esp + 0x124]
call fcn.004043a7
mov byte [esp + 0x1b8], 8
push ebx
push edi
lea ecx, [esp + 0x140]
call fcn.004043a7
mov esi, dword [esp + 0x10]
jmp 0x47cb24