Function at 0x10089640
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 0x100d9608
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
push esi
push edi
mov eax, dword [0x10106040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1010de68]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1011aa48]
cmp eax, dword [ecx + 4]
jle 0x100896ec
push 0x1011aa48
call fcn.100a9d9f
add esp, 4
cmp dword [0x1011aa48], 0xffffffff
jne 0x100896ec
push 0x100db130
mov dword [0x1011aa4c], 0
mov dword [0x1011aa50], 0
mov dword [0x1011aa54], 0
call fcn.100aa21d
add esp, 4
push 0x1011aa48
call fcn.100a9d4e
add esp, 4
mov ecx, dword [0x1011aa50]
mov edi, dword [0x1011aa4c]
mov dword [ebp - 0x1c], ecx
cmp edi, ecx
je 0x1008975c
sub ecx, edi
mov eax, 0x92492493
imul ecx
xor esi, esi
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x18], eax
je 0x1008975c
nop dword [eax + eax]
cmp dword [ebx + 0x1c], 0xf
lea eax, [ebx + 8]
mov ecx, edi
cmova eax, dword [ebx + 8]
cmp dword [edi + 0x14], 0xf
jbe 0x10089735
mov ecx, dword [edi]
push dword [ebx + 0x18]
mov edx, dword [edi + 0x10]
push eax
call fcn.10059710
add esp, 8
test eax, eax
je 0x10089753
inc esi
add edi, 0x1c
cmp esi, dword [ebp - 0x18]
jb 0x10089720
jmp 0x1008975c
cmp esi, 0xffffffff
jne 0x1008981c
lea eax, [ebx + 8]
push eax
lea ecx, [ebp - 0x38]
call fcn.10058110
mov word [ebp - 0x20], 0
mov byte [ebp - 4], 1
mov eax, dword [0x1011aa50]
cmp eax, dword [0x1011aa54]
je 0x100897b0
movups xmm0, xmmword [ebp - 0x38]
mov ecx, 0xf
mov byte [ebp - 0x38], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x28]
movq qword [eax + 0x10], xmm0
mov word [eax + 0x18], 0
mov edi, dword [0x1011aa50]
add edi, 0x1c
mov dword [0x1011aa50], edi
jmp 0x100897c3
lea ecx, [ebp - 0x38]
push ecx
push eax
call fcn.1008a760
mov ecx, dword [ebp - 0x24]
mov edi, dword [0x1011aa50]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x100897fe
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100897ee
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10089b0f
push ecx
push edx
call fcn.100aa232
mov edi, dword [0x1011aa50]
add esp, 8
mov ecx, edi
mov eax, 0x92492493
sub ecx, dword [0x1011aa4c]
imul ecx
add edx, ecx
sar edx, 4
mov esi, edx
shr esi, 0x1f
dec esi
add esi, edx
jmp 0x1008981f
mov edi, dword [ebp - 0x1c]
sub edi, dword [0x1011aa4c]
mov eax, 0x92492493
imul edi
xor ecx, ecx
mov byte [ebp - 0x11], 0
add edx, edi
sar edx, 4
mov edi, edx
shr edi, 0x1f
add edi, edx
je 0x10089863
mov eax, dword [0x1011aa4c]
add eax, 0x19
cmp esi, ecx
je 0x1008985b
cmp byte [eax - 1], 0
jne 0x10089857
cmp byte [eax], 0
je 0x1008985b
mov byte [ebp - 0x11], 1
inc ecx
add eax, 0x1c
cmp ecx, edi
jb 0x10089848
cmp dword [ebx + 0x1c], 0xf
lea eax, [ebx + 8]
cmova eax, dword [ebx + 8]
push eax
call fcn.1002aff0
add esp, 4
cmp byte [ebp - 0x11], 0
jne 0x10089ac9
mov edx, dword [0x1010e648]
cmp byte [edx + 0x1b2f], 0
mov ecx, dword [edx + 0x19b4]
je 0x100898bc
cmp byte [edx + 0x1b2e], 0
jne 0x100898bc
mov eax, dword [edx + 0x1ad0]
test eax, eax
je 0x100898b5
cmp eax, dword [ecx + 0x108]
je 0x1008994f
xor cl, cl
jmp 0x10089951
test byte [ecx + 0x10c], 1
jne 0x100898cc
xor cl, cl
jmp 0x10089951
mov edi, dword [ecx + 0x2fc]
cmp dword [edx + 0x19bc], edi
je 0x100898de
xor cl, cl
jmp 0x10089951
mov eax, dword [edx + 0x19e8]
test eax, eax
je 0x10089902
cmp eax, dword [ecx + 0x108]
je 0x10089902
cmp byte [edx + 0x19f5], 0
jne 0x10089902
cmp eax, dword [ecx + 0x48]
je 0x10089902
xor cl, cl
jmp 0x10089951
mov eax, dword [edx + 0x1acc]
test eax, eax
je 0x1008992d
mov eax, dword [eax + 0x2fc]
test eax, eax
je 0x1008992d
cmp byte [eax + 0x7b], 0
je 0x1008992d
cmp eax, edi
je 0x1008992d
test dword [eax + 8], 0xc000000
je 0x1008992d
xor cl, cl
jmp 0x10089951
test byte [ecx + 0x16c], 4
je 0x1008993a
xor cl, cl
jmp 0x10089951
mov eax, dword [ecx + 0x108]
cmp eax, dword [ecx + 0x48]
jne 0x1008994f
cmp byte [ecx + 0x7c], 0
je 0x1008994f
xor cl, cl
jmp 0x10089951
mov cl, 1
mov eax, dword [0x1011aa4c]
lea edi, [esi*8]
sub edi, esi
mov byte [eax + edi*4 + 0x18], cl
mov eax, dword [0x1011aa4c]
cmp byte [eax + edi*4 + 0x18], 0
mov eax, dword [edx + 0x19b4]
je 0x10089abb
mov dword [edx + 0x1d2c], 7
or dword [eax + 8], 4
movss xmm0, dword [edx + 0x3f4]
ucomiss xmm0, dword [0x100f59c4]
lahf
test ah, 0x44
jp 0x10089a69
cmp byte [edx + 0x1b2f], 0
mov ecx, dword [edx + 0x19b4]
je 0x100899da
cmp byte [edx + 0x1b2e], 0
jne 0x100899da
mov eax, dword [edx + 0x1ad0]
test eax, eax
je 0x100899ce
cmp eax, dword [ecx + 0x108]
jne 0x100899ce
mov al, 1
jmp 0x100899d0
xor al, al
test al, al
je 0x10089a69
jmp 0x10089a56
test byte [ecx + 0x10c], 1
je 0x10089a69
mov edi, dword [ecx + 0x2fc]
cmp dword [edx + 0x19bc], edi
jne 0x10089a69
mov eax, dword [edx + 0x19e8]
test eax, eax
je 0x10089a15
cmp eax, dword [ecx + 0x108]
je 0x10089a15
cmp byte [edx + 0x19f5], 0
jne 0x10089a15
cmp eax, dword [ecx + 0x48]
jne 0x10089a69
mov eax, dword [edx + 0x1acc]
test eax, eax
je 0x10089a3c
mov eax, dword [eax + 0x2fc]
test eax, eax
je 0x10089a3c
cmp byte [eax + 0x7b], 0
je 0x10089a3c
cmp eax, edi
je 0x10089a3c
test dword [eax + 8], 0xc000000
jne 0x10089a69
test byte [ecx + 0x16c], 4
jne 0x10089a69
mov eax, dword [ecx + 0x108]
cmp eax, dword [ecx + 0x48]
jne 0x10089a56
cmp byte [ecx + 0x7c], 0
jne 0x10089a69
mov eax, dword [0x1011aa4c]
lea ecx, [esi*8]
sub ecx, esi
mov byte [eax + ecx*4 + 0x19], 1
mov eax, dword [0x1011aa4c]
lea ecx, [esi*8]
sub ecx, esi
cmp byte [eax + ecx*4 + 0x19], 0
je 0x10089ac9
cmp byte [edx + 0x3e2], 0
je 0x10089ac9
cmp dword [ebx + 0x1c], 0xf
lea eax, [ebx + 8]
push 5
cmova eax, dword [ebx + 8]
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [0x1011aa4c]
lea ecx, [esi*8]
sub ecx, esi
mov byte [eax + ecx*4 + 0x19], 0
jmp 0x10089ac9
and dword [eax + 8], 0xfffffffb
mov eax, dword [0x1011aa4c]
mov byte [eax + edi*4 + 0x19], 0
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0xf
jbe 0x10089af9
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10089aef
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10089b0f
push ecx
push edx
call fcn.100aa232
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x18
call fcn.100bb9d8
int3