Function at 0x10004360
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007e673
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x50
mov eax, dword [0x10091040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x58], edx
mov esi, dword [edx + 8]
mov eax, dword [edx + 0x14]
mov ecx, dword [edx + 0x10]
sub eax, ecx
lea edi, [esi + 1]
cmp edi, eax
jbe 0x100043b9
xor al, al
jmp 0x100043bc
mov al, byte [ecx + esi]
movzx eax, al
mov dword [edx + 8], edi
sub eax, 0xa3
je 0x100046f7
sub eax, 3
je 0x100046eb
sub eax, 4
jne 0x1000479f
xorps xmm0, xmm0
mov dword [ebp - 0x1c], eax
mov esi, 0xf
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], esi
mov byte [ebp - 0x2c], al
lea eax, [edi + 2]
mov dword [ebp - 4], 1
mov dword [ebp - 0x38], eax
mov eax, dword [edx + 0x14]
sub eax, ecx
cmp dword [ebp - 0x38], eax
jbe 0x10004416
mov eax, dword [ebp - 0x38]
mov dword [edx + 8], eax
jmp 0x100046b4
movzx ecx, word [ecx + edi]
lea eax, [edi + 2]
mov edi, 0x3e8
mov dword [edx + 8], eax
mov eax, ecx
cmp cx, di
jbe 0x10004431
mov dword [ebp - 0x54], edi
jmp 0x1000443f
mov dword [ebp - 0x54], ecx
xor ecx, ecx
cmp cx, ax
jae 0x100046b4
mov dword [ebp - 0x50], 0
mov edi, dword [edx + 8]
mov eax, dword [edx + 0x14]
mov ecx, dword [edx + 0x10]
sub eax, ecx
lea esi, [edi + 2]
cmp esi, eax
jbe 0x1000445c
xor edi, edi
jmp 0x10004460
movzx edi, word [ecx + edi]
movzx eax, di
mov dword [ebp - 0x4c], eax
lea eax, [esi + 1]
mov dword [ebp - 0x34], eax
mov dword [edx + 8], esi
mov eax, dword [edx + 0x14]
sub eax, ecx
cmp dword [ebp - 0x34], eax
jbe 0x1000447f
mov byte [ebp - 0x2d], 0
jmp 0x10004485
mov al, byte [ecx + esi]
mov byte [ebp - 0x2d], al
mov eax, dword [ebp - 0x34]
mov ecx, edx
mov dword [edx + 8], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.10005490
mov ecx, eax
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x34], eax
lea esi, [eax + 1]
mov eax, dword [ecx + 0x14]
sub eax, edx
cmp esi, eax
jbe 0x100044b3
mov byte [ebp - 0x48], 0
jmp 0x100044bc
mov eax, dword [ebp - 0x34]
mov al, byte [edx + eax]
mov byte [ebp - 0x48], al
mov dword [ecx + 8], esi
inc esi
mov eax, dword [ecx + 0x14]
sub eax, edx
cmp esi, eax
jbe 0x100044cf
mov byte [ebp - 0x38], 0
jmp 0x100044d9
mov eax, dword [ebp - 0x34]
mov al, byte [edx + eax + 1]
mov byte [ebp - 0x38], al
lea eax, [esi + 1]
mov dword [ecx + 8], esi
mov dword [ebp - 0x34], eax
mov eax, dword [ecx + 0x14]
sub eax, edx
cmp dword [ebp - 0x34], eax
jbe 0x100044f2
mov byte [ebp - 0x44], 0
jmp 0x100044f8
mov al, byte [edx + esi]
mov byte [ebp - 0x44], al
mov eax, dword [ebp - 0x34]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x4c]
movzx esi, ax
mov edx, esi
call fcn.100048b0
cmp byte [ebp - 0x2d], 1
jne 0x100045fc
test eax, eax
jne 0x1000469d
push 0x1c
call fcn.1007d0b2
mov esi, eax
add esp, 4
mov dword [ebp - 0x5c], esi
push dword [ebp - 0x44]
mov edi, dword [ebp - 0x48]
lea eax, [ebp - 0x2c]
push dword [ebp - 0x38]
mov byte [ebp - 4], 2
push edi
sub esp, 0x18
mov ecx, esp
push eax
call fcn.10005180
mov ecx, esi
call fcn.10005270
push 0x1c
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 1
call fcn.1007d0b2
mov esi, eax
add esp, 4
mov dword [ebp - 0x60], esi
push dword [ebp - 0x44]
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
push dword [ebp - 0x38]
push edi
sub esp, 0x18
mov ecx, esp
push eax
call fcn.10005180
mov ecx, esi
call fcn.10005270
push eax
mov eax, dword [ebp - 0x4c]
movzx edx, ax
mov byte [ebp - 4], 1
call fcn.10004940
test al, al
jne 0x1000469d
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x1000469d
mov ecx, dword [esi + 0x14]
cmp ecx, 0xf
jbe 0x100045db
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x100045d1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100046e5
mov eax, edx
push ecx
push eax
call fcn.1007d105
add esp, 8
push 0x1c
push esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
call fcn.1007d105
add esp, 8
jmp 0x1000469d
test eax, eax
je 0x1000469d
mov dword [eax + 0x10], 0
mov ecx, eax
cmp dword [eax + 0x14], 0xf
jbe 0x10004615
mov ecx, dword [eax]
mov byte [ecx], 0
mov edx, esi
mov ecx, 0x10092678
mov word [eax + 0x18], 0xffff
mov byte [eax + 0x1a], 0xff
call fcn.100047c0
test di, di
jle 0x1000469d
mov ecx, 0xd78c98
call fcn.10014f70
mov esi, eax
test esi, esi
je 0x1000469d
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1000469d
mov edx, dword [0x10088ba8]
mov ecx, esi
push 1
movsx eax, di
push eax
call edx
mov esi, eax
test esi, esi
je 0x1000469d
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1000469d
cmp dword [esi + 0x760], eax
je 0x1000469d
mov ecx, dword [esi + 0x3a8]
mov dword [esi + 0x760], eax
test ecx, ecx
je 0x1000469d
mov eax, dword [ecx]
push 1
mov eax, dword [eax]
call eax
mov dword [esi + 0x3a8], 0
mov eax, dword [ebp - 0x50]
mov edx, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x50], eax
cmp ax, word [ebp - 0x54]
jb 0x10004446
mov esi, dword [ebp - 0x18]
cmp esi, 0xf
jbe 0x1000479f
mov edx, dword [ebp - 0x2c]
lea ecx, [esi + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x10004795
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10004795
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov ecx, edx
call fcn.100055c0
jmp 0x1000479f
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
mov ecx, edx
call fcn.10005490
cmp dword [ebp - 0x18], 0xf
lea esi, [ebp - 0x2c]
push 1
cmova esi, dword [ebp - 0x2c]
mov ch, 0x18
push 0
mov al, 0x77
mov byte [ebp - 0x3b], 0
mov ah, 0x76
mov byte [ebp - 0x40], ch
xor al, ch
mov byte [ebp - 0x3b], 0
xor ah, ch
mov byte [ebp - 0x3f], al
push 0
mov byte [ebp - 0x3c], ah
mov cl, 0x68
push esi
lea eax, [ebp - 0x3f]
mov dl, 0x7d
push eax
xor cl, ch
xor dl, ch
push 0
mov byte [ebp - 0x3e], cl
mov byte [ebp - 0x3d], dl
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x1000479f
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10004795
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10004795
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1007d105
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1007d0a4
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret