Function at 0x10003f80
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006473e
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x10078014]
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 esi, ecx
mov edx, dword [esi + 8]
mov ecx, dword [esi + 0x14]
sub ecx, dword [esi + 0x10]
lea eax, [edx + 1]
cmp eax, ecx
jbe 0x10003fc1
xor al, al
jmp 0x10003fc7
mov eax, dword [esi + 0x10]
mov al, byte [edx + eax]
inc edx
movzx eax, al
mov dword [esi + 8], edx
sub eax, 0xa3
je 0x1000429c
sub eax, 3
je 0x10004290
sub eax, 4
jne 0x1000431d
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
mov dword [ebp - 4], 1
lea eax, [edx + 2]
mov ecx, dword [esi + 0x14]
sub ecx, dword [esi + 0x10]
cmp eax, ecx
jbe 0x10004010
xor ecx, ecx
jmp 0x10004017
mov eax, dword [esi + 0x10]
movzx ecx, word [edx + eax]
lea eax, [edx + 2]
mov edx, 0x3e8
cmp cx, dx
mov dword [esi + 8], eax
movzx eax, cx
cmova eax, edx
xor ecx, ecx
cmp cx, ax
jae 0x1000431d
movzx eax, ax
mov dword [ebp - 0x44], eax
nop dword [eax]
mov edx, dword [esi + 8]
mov ecx, dword [esi + 0x14]
sub ecx, dword [esi + 0x10]
lea eax, [edx + 2]
cmp eax, ecx
jbe 0x10004054
xor edi, edi
jmp 0x1000405b
mov eax, dword [esi + 0x10]
movzx edi, word [edx + eax]
add edx, 2
mov dword [esi + 8], edx
mov ecx, dword [esi + 0x14]
sub ecx, dword [esi + 0x10]
lea eax, [edx + 1]
cmp eax, ecx
jbe 0x10004074
mov byte [ebp - 0x29], 0
jmp 0x1000407d
mov eax, dword [esi + 0x10]
mov al, byte [edx + eax]
mov byte [ebp - 0x29], al
lea eax, [edx + 1]
mov ecx, esi
mov dword [esi + 8], eax
lea eax, [ebp - 0x28]
push eax
call fcn.10004f50
mov edx, eax
mov ebx, dword [edx + 8]
mov ecx, dword [edx + 0x14]
sub ecx, dword [edx + 0x10]
lea eax, [ebx + 1]
cmp eax, ecx
jbe 0x100040a6
mov byte [ebp - 0x40], 0
jmp 0x100040af
mov eax, dword [edx + 0x10]
mov al, byte [ebx + eax]
mov byte [ebp - 0x40], al
inc ebx
mov dword [edx + 8], ebx
mov ecx, dword [edx + 0x14]
sub ecx, dword [edx + 0x10]
lea eax, [ebx + 1]
cmp eax, ecx
jbe 0x100040c6
mov byte [ebp - 0x3c], 0
jmp 0x100040cf
mov eax, dword [edx + 0x10]
mov al, byte [ebx + eax]
mov byte [ebp - 0x3c], al
inc ebx
mov dword [edx + 8], ebx
mov ecx, dword [edx + 0x14]
sub ecx, dword [edx + 0x10]
lea eax, [ebx + 1]
cmp eax, ecx
jbe 0x100040e6
mov byte [ebp - 0x38], 0
jmp 0x100040ef
mov eax, dword [edx + 0x10]
mov al, byte [ebx + eax]
mov byte [ebp - 0x38], al
lea eax, [ebx + 1]
movzx ebx, di
mov dword [edx + 8], eax
mov edx, ebx
call fcn.10004470
cmp byte [ebp - 0x29], 1
jne 0x100041e3
test eax, eax
jne 0x10004284
push 0x1c
call fcn.10063076
mov edi, eax
add esp, 4
mov dword [ebp - 0x4c], edi
push dword [ebp - 0x38]
mov byte [ebp - 4], 2
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 0x1000414a
mov eax, dword [ecx]
jmp 0x1000414c
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.10002480
mov ecx, edi
call fcn.10004df0
push 0x1c
mov edi, eax
mov byte [ebp - 4], 1
call fcn.10063076
add esp, 4
mov dword [ebp - 0x48], eax
push dword [ebp - 0x38]
mov byte [ebp - 4], 3
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 0x100041a0
mov eax, dword [ecx]
jmp 0x100041a2
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.10002480
mov ecx, dword [ebp - 0x48]
call fcn.10004df0
push eax
mov edx, ebx
mov byte [ebp - 4], 1
call fcn.10004530
test al, al
jne 0x10004284
test edi, edi
je 0x10004284
push ecx
mov ecx, edi
call fcn.10004340
jmp 0x10004284
test eax, eax
je 0x10004284
cmp dword [eax + 0x14], 0x10
mov dword [eax + 0x10], 0
jb 0x100041fc
mov ecx, dword [eax]
jmp 0x100041fe
mov ecx, eax
mov byte [ecx], 0
mov edx, ebx
mov ecx, 0x1007a86c
mov word [eax + 0x18], 0xffff
mov byte [eax + 0x1a], 0xff
call fcn.100043a0
test di, di
jle 0x10004284
mov ecx, 0xd78c98
call fcn.10015280
mov ebx, eax
test ebx, ebx
je 0x10004284
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10004284
push 1
movsx eax, di
mov ecx, ebx
push eax
call dword [0x1006ec7c]
mov edi, eax
test edi, edi
je 0x10004284
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10004284
cmp dword [edi + 0x760], eax
je 0x10004284
mov ecx, dword [edi + 0x3a8]
mov dword [edi + 0x760], eax
test ecx, ecx
je 0x10004284
mov eax, dword [ecx]
push 1
mov eax, dword [eax]
call eax
mov dword [edi + 0x3a8], 0
sub dword [ebp - 0x44], 1
jne 0x10004040
jmp 0x10004307
mov ecx, esi
call fcn.100050f0
jmp 0x1000431d
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, esi
call fcn.10004f50
cmp dword [ebp - 0x14], 0x10
lea esi, [ebp - 0x28]
push 1
cmovae esi, dword [ebp - 0x28]
mov ah, 0x46
push 0
mov al, 0x29
mov byte [ebp - 0x34], ah
xor al, ah
mov byte [ebp - 0x2f], 0
push 0
mov cl, 0x36
mov byte [ebp - 0x33], al
mov dl, 0x23
mov byte [ebp - 0x2f], 0
mov bl, 0x28
xor cl, ah
xor dl, ah
mov byte [ebp - 0x32], cl
xor bl, ah
mov byte [ebp - 0x31], dl
push esi
lea eax, [ebp - 0x33]
mov byte [ebp - 0x30], bl
push eax
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x1000431d
mov ecx, dword [ebp - 0x28]
inc edx
push 1
call fcn.10002790
add esp, 4
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.10063065
mov esp, ebp
pop ebp
ret