Function at 0x100047c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10060dfe
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x10077604]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov edx, dword [edi + 8]
mov ecx, dword [edi + 0x14]
sub ecx, dword [edi + 0x10]
lea eax, [edx + 1]
cmp eax, ecx
jbe 0x10004802
xor al, al
jmp 0x10004808
mov eax, dword [edi + 0x10]
mov al, byte [edx + eax]
inc edx
movzx eax, al
mov dword [edi + 8], edx
sub eax, 0xa3
je 0x10004b22
sub eax, 3
je 0x10004b17
sub eax, 4
jne 0x10004ba0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
mov ecx, dword [edi + 0x14]
lea eax, [edx + 2]
sub ecx, dword [edi + 0x10]
mov dword [ebp - 4], 1
cmp eax, ecx
jbe 0x10004851
xor ecx, ecx
jmp 0x10004858
mov eax, dword [edi + 0x10]
movzx ecx, word [edx + eax]
lea eax, [edx + 2]
mov edx, 0x3e8
cmp cx, dx
mov dword [edi + 8], eax
movzx eax, cx
cmova eax, edx
xor ecx, ecx
cmp cx, ax
jae 0x10004ba0
movzx eax, ax
mov dword [ebp - 0x44], eax
nop dword [eax]
mov edx, dword [edi + 8]
mov ecx, dword [edi + 0x14]
sub ecx, dword [edi + 0x10]
lea eax, [edx + 2]
cmp eax, ecx
jbe 0x10004894
xor ebx, ebx
jmp 0x1000489b
mov eax, dword [edi + 0x10]
movzx ebx, word [edx + eax]
add edx, 2
mov dword [edi + 8], edx
mov ecx, dword [edi + 0x14]
sub ecx, dword [edi + 0x10]
lea eax, [edx + 1]
cmp eax, ecx
jbe 0x100048b4
mov byte [ebp - 0x29], 0
jmp 0x100048bd
mov eax, dword [edi + 0x10]
mov al, byte [edx + eax]
mov byte [ebp - 0x29], al
lea eax, [edx + 1]
mov ecx, edi
mov dword [edi + 8], eax
lea eax, [ebp - 0x28]
push eax
call fcn.10004530
mov edx, eax
mov esi, dword [edx + 8]
mov ecx, dword [edx + 0x14]
sub ecx, dword [edx + 0x10]
lea eax, [esi + 1]
cmp eax, ecx
jbe 0x100048e6
mov byte [ebp - 0x40], 0
jmp 0x100048ef
mov eax, dword [edx + 0x10]
mov al, byte [esi + eax]
mov byte [ebp - 0x40], al
inc esi
mov dword [edx + 8], esi
mov ecx, dword [edx + 0x14]
sub ecx, dword [edx + 0x10]
lea eax, [esi + 1]
cmp eax, ecx
jbe 0x10004906
mov byte [ebp - 0x3c], 0
jmp 0x1000490f
mov eax, dword [edx + 0x10]
mov al, byte [esi + eax]
mov byte [ebp - 0x3c], al
inc esi
mov dword [edx + 8], esi
mov ecx, dword [edx + 0x14]
sub ecx, dword [edx + 0x10]
lea eax, [esi + 1]
cmp eax, ecx
jbe 0x10004926
mov byte [ebp - 0x38], 0
jmp 0x1000492f
mov eax, dword [edx + 0x10]
mov al, byte [esi + eax]
mov byte [ebp - 0x38], al
cmp byte [ebp - 0x29], 1
lea eax, [esi + 1]
mov dword [edx + 8], eax
mov ecx, 0x10078264
jne 0x10004a89
movzx eax, bx
mov edx, eax
mov dword [ebp - 0x48], eax
call fcn.10004bc0
test eax, eax
jne 0x10004b0b
push 0x1c
call fcn.1005f68b
mov esi, eax
add esp, 4
mov dword [ebp - 0x50], esi
mov byte [ebp - 4], 2
test esi, esi
je 0x100049b3
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x10004996
mov eax, dword [ecx]
jmp 0x10004998
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.100026e0
mov ecx, esi
call fcn.10004420
mov esi, eax
jmp 0x100049b5
xor esi, esi
push 0x1c
mov byte [ebp - 4], 1
call fcn.1005f68b
mov ebx, eax
add esp, 4
mov dword [ebp - 0x34], ebx
mov byte [ebp - 4], 3
test ebx, ebx
je 0x10004a11
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x100049f6
mov eax, dword [ecx]
jmp 0x100049f8
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.100026e0
mov ecx, ebx
call fcn.10004420
jmp 0x10004a13
xor eax, eax
mov edx, dword [ebp - 0x48]
mov ecx, 0x10078264
push eax
mov byte [ebp - 4], 1
call fcn.10004c70
test al, al
jne 0x10004b0b
test esi, esi
je 0x10004b0b
mov eax, dword [esi + 0x14]
cmp eax, 0x10
jb 0x10004a4b
push 1
inc eax
push eax
push dword [esi]
call fcn.10002610
add esp, 0xc
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x10004a74
mov eax, dword [esi]
push 0x1c
push esi
mov byte [eax], 0
call fcn.1005f6f2
add esp, 8
jmp 0x10004b0b
mov eax, esi
push 0x1c
push esi
mov byte [eax], 0
call fcn.1005f6f2
add esp, 8
jmp 0x10004b0b
movzx esi, bx
mov edx, esi
call fcn.10004bc0
test eax, eax
je 0x10004b0b
cmp dword [eax + 0x14], 0x10
mov dword [eax + 0x10], 0
jb 0x10004aa8
mov ecx, dword [eax]
jmp 0x10004aaa
mov ecx, eax
mov byte [ecx], 0
mov edx, esi
mov ecx, 0x10078264
mov word [eax + 0x18], 0xffff
mov byte [eax + 0x1a], 0xff
call fcn.100046c0
push 1
push ebx
call fcn.1001c880
mov esi, eax
add esp, 8
test esi, esi
je 0x10004b0b
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10004b0b
cmp dword [esi + 0x760], eax
je 0x10004b0b
mov ecx, dword [esi + 0x3a8]
mov dword [esi + 0x760], eax
test ecx, ecx
je 0x10004b0b
mov eax, dword [ecx]
push 1
mov eax, dword [eax]
call eax
mov dword [esi + 0x3a8], 0
sub dword [ebp - 0x44], 1
jne 0x10004880
jmp 0x10004b89
push edi
call fcn.10004dc0
add esp, 4
jmp 0x10004ba0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.10004530
cmp dword [ebp - 0x14], 0x10
lea esi, [ebp - 0x28]
push 1
cmovae esi, dword [ebp - 0x28]
mov ah, 0x70
push 0
mov al, 0x1f
mov byte [ebp - 0x34], ah
xor al, ah
mov byte [ebp - 0x2f], 0
push 0
xor cl, cl
mov byte [ebp - 0x33], al
mov dl, 0x15
mov bl, 0x1e
xor cl, ah
xor dl, ah
xor bl, ah
mov byte [ebp - 0x32], cl
push esi
lea eax, [ebp - 0x33]
mov byte [ebp - 0x31], dl
push eax
push 0
mov byte [ebp - 0x30], bl
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x10004ba0
push 1
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10002610
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005f6be
mov esp, ebp
pop ebp
ret