Function at 0x10023820
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 0x1008aad7
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2f0
mov eax, dword [0x100a70c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x2a0], ecx
mov dword [ebp - 4], 1
cmp dword [ebx + 0x18], 0
je 0x10023de6
cmp dword [ebx + 0x1c], 7
lea edx, [ebx + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x228], 0
cmova edx, dword [ebx + 8]
mov ecx, edx
mov dword [ebp - 0x224], 0
movups xmmword [ebp - 0x238], xmm0
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100238b0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x238]
call fcn.10003c00
cmp dword [ebp - 0x224], 7
lea eax, [ebp - 0x238]
push 0
cmova eax, dword [ebp - 0x238]
push eax
call fcn.10073ca6
add esp, 8
test eax, eax
je 0x100238fb
mov byte [ebp - 0x299], 1
cmp eax, 0xd
jne 0x10023902
mov byte [ebp - 0x299], 0
mov ecx, dword [ebp - 0x224]
cmp ecx, 7
jbe 0x10023942
mov edx, dword [ebp - 0x238]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10023938
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10023e95
push ecx
push edx
call fcn.10063694
add esp, 8
cmp byte [ebp - 0x299], 0
jne 0x10023de6
test esi, esi
je 0x1002396b
cmp dword [ebx + 0x1c], 7
lea ecx, [ebx + 8]
cmova ecx, dword [ebx + 8]
call fcn.10025c90
test eax, eax
je 0x10023de6
push 0x40
lea eax, [ebp - 0x2fc]
mov dword [ebp - 0x300], 0x44
push 0
push eax
call fcn.10065930
mov eax, 1
mov dword [ebp - 0x2d4], 1
push 0x208
mov word [ebp - 0x2d0], ax
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.10065930
add esp, 0x18
lea edx, [ebx + 8]
cmp dword [ebx + 0x1c], 7
lea ecx, [ebp - 0x220]
mov eax, ecx
cmova edx, dword [ebx + 8]
sub edx, eax
nop word [eax + eax]
movzx eax, word [ecx + edx]
lea ecx, [ecx + 2]
mov word [ecx - 2], ax
test ax, ax
jne 0x100239d0
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov dword [ebp - 0x240], 0
xorps xmm0, xmm0
mov dword [ebp - 0x23c], 0
movups xmmword [ebp - 0x250], xmm0
test eax, eax
jne 0x10023a17
push eax
push 0x10097c68
jmp 0x10023a37
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10023a20
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x250]
call fcn.10003c00
mov byte [ebp - 4], 2
mov eax, 0x7ffffffe
mov ecx, dword [ebx + 0x18]
sub eax, ecx
cmp eax, 1
jb 0x10023e9a
cmp dword [ebx + 0x1c], 7
lea eax, [ebx + 8]
push ecx
cmova eax, dword [ebx + 8]
push eax
push 1
push 0x10098948
push ecx
push dword [ebp - 0x2a4]
lea ecx, [ebp - 0x298]
call fcn.10026740
push 1
push 0x10098948
lea ecx, [ebp - 0x298]
mov byte [ebp - 4], 3
call fcn.1001d220
mov dword [ebp - 0x228], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x238], xmm0
mov dword [ebp - 0x224], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x238], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x228], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 1
push 0x10097cb8
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 4
call fcn.1001d220
mov dword [ebp - 0x270], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x280], xmm0
mov dword [ebp - 0x26c], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x280], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x270], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 5
lea eax, [ebx + 0x20]
cmp dword [ebx + 0x34], 7
lea ecx, [ebp - 0x280]
push dword [ebx + 0x30]
cmova eax, dword [ebx + 0x20]
push eax
call fcn.1001d220
mov dword [ebp - 0x258], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x268], xmm0
mov dword [ebp - 0x254], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x268], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x258], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [ebp - 0x26c]
cmp ecx, 7
jbe 0x10023be1
mov edx, dword [ebp - 0x280]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10023bd7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10023e9f
push ecx
push edx
call fcn.10063694
add esp, 8
mov ecx, dword [ebp - 0x224]
xor eax, eax
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x26c], 7
mov word [ebp - 0x280], ax
cmp ecx, 7
jbe 0x10023c3e
mov edx, dword [ebp - 0x238]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10023c34
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10023e9f
push ecx
push edx
call fcn.10063694
add esp, 8
mov ecx, dword [ebp - 0x284]
xor eax, eax
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
cmp ecx, 7
jbe 0x10023c9b
mov edx, dword [ebp - 0x298]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10023c91
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10023e9f
push ecx
push edx
call fcn.10063694
add esp, 8
cmp dword [ebp - 0x23c], 7
lea edx, [ebp - 0x2b4]
push edx
lea edx, [ebp - 0x300]
push edx
lea eax, [ebp - 0x250]
cmova eax, dword [ebp - 0x250]
lea ecx, [ebp - 0x268]
cmp dword [ebp - 0x254], 7
push eax
cmova ecx, dword [ebp - 0x268]
push 0
push 0x8000000
push 0
push 0
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov eax, dword [ebp - 0x2b4]
test eax, eax
jne 0x10023cfa
mov byte [ebp - 0x299], al
jmp 0x10023d2a
cmp dword [ebp - 0x2a0], 0
je 0x10023d12
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x2b4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
push dword [ebp - 0x2b0]
call esi
mov byte [ebp - 0x299], 1
mov ecx, dword [ebp - 0x254]
cmp ecx, 7
jbe 0x10023d6a
mov edx, dword [ebp - 0x268]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10023d60
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10023ea4
push ecx
push edx
call fcn.10063694
add esp, 8
mov ecx, dword [ebp - 0x23c]
xor eax, eax
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 7
mov word [ebp - 0x268], ax
cmp ecx, 7
jbe 0x10023dc7
mov edx, dword [ebp - 0x250]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10023dbd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10023ea4
push ecx
push edx
call fcn.10063694
add esp, 8
xor eax, eax
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
jmp 0x10023ded
mov byte [ebp - 0x299], 0
mov ecx, dword [ebx + 0x1c]
cmp ecx, 7
jbe 0x10023e27
mov edx, dword [ebx + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10023e1d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10023ea4
push ecx
push edx
call fcn.10063694
add esp, 8
mov ecx, dword [ebx + 0x34]
xor eax, eax
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 7
mov word [ebx + 8], ax
cmp ecx, 7
jbe 0x10023e71
mov edx, dword [ebx + 0x20]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10023e67
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10023ea4
push ecx
push edx
call fcn.10063694
add esp, 8
mov al, byte [ebp - 0x299]
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.10063337
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1006dd3f
call fcn.10002b20
call fcn.1006dd3f
call fcn.1006dd3f
int3