Function at 0x100086d0
Capabilities:
Check if file exists
Create directory
Set registry value

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 0x100805c5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2f0
mov eax, dword [0x100a1040]
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, ecx
mov dword [ebp - 0x2e0], esi
mov dword [ebp - 4], 0
mov eax, dword [0x100a3b98]
mov dword [ebp - 0x228], eax
call fcn.10004070
mov ecx, eax
test ecx, ecx
je 0x100094ea
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x278], edi
push 0
push 0xa
mov ecx, esi
call fcn.1000abd0
mov eax, dword [ebp - 0x228]
xorps xmm0, xmm0
mov dword [esi + 0x17c], eax
xor eax, eax
movups xmmword [ebp - 0x25c], xmm0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 7
mov word [ebp - 0x25c], ax
movups xmmword [ebp - 0x244], xmm0
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x230], 7
mov word [ebp - 0x244], ax
push ecx
lea ecx, [esi + 4]
mov byte [ebp - 4], 3
call fcn.1000cf80
lea ecx, [esi + 0x124]
call fcn.10012670
xorps xmm0, xmm0
mov dword [ebp - 0x264], 0
xor eax, eax
mov dword [ebp - 0x260], 7
movups xmmword [ebp - 0x274], xmm0
mov word [ebp - 0x274], ax
mov byte [ebp - 4], 4
call fcn.10031c00
mov eax, dword [0x100a40c8]
push 0x208
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.10055b90
add esp, 0xc
lea ecx, [esi + 0x124]
cmp dword [esi + 0x138], 7
jbe 0x1000882e
mov ecx, dword [esi + 0x124]
push ecx
lea eax, [ebp - 0x220]
push 0x10092f90
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov ecx, str.ISShellPicExts32.dll
cmp dword [ebp - 0x228], 0
mov eax, str.ISShellPicExts64.dll
cmove eax, ecx
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x2f8]
call fcn.1000c060
mov ecx, dword [ebp - 0x260]
cmp ecx, 7
jbe 0x100088b8
mov edx, dword [ebp - 0x274]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100088ae
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100094f4
push ecx
push edx
call fcn.10053bf1
add esp, 8
movups xmm1, xmmword [ebp - 0x2f8]
lea ecx, [ebp - 0x274]
movq xmm0, qword [ebp - 0x2e8]
movq qword [ebp - 0x264], xmm0
cmp dword [ebp - 0x260], 7
movd eax, xmm1
movups xmmword [ebp - 0x274], xmm1
cmova ecx, eax
call fcn.10033750
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x260]
cmp ecx, 7
jbe 0x10008933
mov edx, dword [ebp - 0x274]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10008929
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100094f4
push ecx
push edx
call fcn.10053bf1
add esp, 8
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esi + 0x138], 7
lea eax, [esi + 0x124]
jbe 0x1000894f
mov eax, dword [eax]
push ecx
push 1
push eax
call fcn.1000d2d0
lea eax, [ebp - 0x224]
mov ecx, esi
push eax
call fcn.1000b2a0
mov dword [ebp - 0x2dc], eax
test eax, eax
js 0x100093a4
cmp dword [ebx + 0x28], 0
je 0x1000897f
call fcn.1000ac40
push 1
push 0x1e
mov ecx, esi
call fcn.1000abd0
mov eax, dword [esi + 0xb0]
mov ecx, dword [esi + 0xac]
sub eax, ecx
sar eax, 6
mov dword [ebp - 0x228], 0
test eax, eax
je 0x10008ab0
xor eax, eax
mov dword [ebp - 0x22c], eax
add eax, ecx
mov dword [ebp - 0x2dc], eax
add eax, 4
mov dword [ebp - 0x2d4], eax
mov ecx, eax
cmp dword [eax + 0x14], 7
jbe 0x100089d0
mov ecx, dword [eax]
lea eax, [esi + 0x10c]
push 0x10092c74
push ecx
mov dword [ebp - 0x224], eax
call fcn.1006204d
add esp, 8
test eax, eax
jne 0x100089fe
mov eax, dword [ebp - 0x224]
cmp dword [eax + 0x14], 7
jbe 0x10008a5a
mov eax, dword [eax]
jmp 0x10008a5a
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.10055b90
mov eax, dword [ebp - 0x224]
add esp, 0xc
cmp dword [eax + 0x14], 7
jbe 0x10008a22
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x220]
push 0x104
push eax
call fcn.10061eeb
mov eax, dword [ebp - 0x2d4]
add esp, 0xc
cmp dword [eax + 0x14], 7
jbe 0x10008a45
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x220]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x220]
push dword [esi + 0x17c]
push eax
mov eax, dword [ebp - 0x2dc]
push dword [eax]
call fcn.1001b680
mov dword [ebp - 0x2dc], eax
test eax, eax
js 0x100093a4
mov eax, dword [esi + 0xb0]
mov edx, dword [ebp - 0x228]
mov ecx, dword [esi + 0xac]
inc edx
add dword [ebp - 0x22c], 0x40
sub eax, ecx
sar eax, 6
mov dword [ebp - 0x228], edx
cmp edx, eax
jae 0x10008ab0
mov eax, dword [ebp - 0x22c]
jmp 0x100089b5
push 3
push 0x32
mov ecx, esi
mov dword [ebp - 0x2dc], 0
call fcn.1000abd0
cmp dword [esi + 0x138], 7
lea eax, [esi + 0x124]
jbe 0x10008ad6
mov eax, dword [eax]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push str.Install_x64
lea edx, [esi + 0x10c]
lea ecx, [ebp - 0x2f8]
call fcn.1000c700
lea ecx, [ebp - 0x25c]
mov dword [ebp - 0x2d4], eax
add esp, 4
cmp ecx, eax
je 0x10008b95
mov ecx, dword [ebp - 0x248]
cmp ecx, 7
jbe 0x10008b54
mov edx, dword [ebp - 0x25c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10008b44
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100094f9
push ecx
push edx
call fcn.10053bf1
mov eax, dword [ebp - 0x2d4]
add esp, 8
mov dword [ebp - 0x24c], 0
xor ecx, ecx
mov dword [ebp - 0x248], 7
mov word [ebp - 0x25c], cx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x25c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x24c], xmm0
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [ebp - 0x2e4]
cmp ecx, 7
jbe 0x10008bd5
mov edx, dword [ebp - 0x2f8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10008bcb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100094f9
push ecx
push edx
call fcn.10053bf1
add esp, 8
push str.Install_x86
lea edx, [esi + 0x10c]
lea ecx, [ebp - 0x2f8]
call fcn.1000c700
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x2d4], eax
add esp, 4
cmp ecx, eax
je 0x10008c89
mov ecx, dword [ebp - 0x230]
cmp ecx, 7
jbe 0x10008c48
mov edx, dword [ebp - 0x244]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10008c38
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100094fe
push ecx
push edx
call fcn.10053bf1
mov eax, dword [ebp - 0x2d4]
add esp, 8
mov dword [ebp - 0x234], 0
xor ecx, ecx
mov dword [ebp - 0x230], 7
mov word [ebp - 0x244], cx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x244], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x234], xmm0
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [ebp - 0x2e4]
cmp ecx, 7
jbe 0x10008cc9
mov edx, dword [ebp - 0x2f8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10008cbf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100094fe
push ecx
push edx
call fcn.10053bf1
add esp, 8
call fcn.10031c00
cmp dword [0x100a40c8], 0
lea ecx, [esi + 0x124]
je 0x10008cfb
cmp dword [ecx + 0x14], 7
jbe 0x10008ce5
mov ecx, dword [ecx]
cmp dword [ebp - 0x248], 7
lea eax, [ebp - 0x25c]
cmova eax, dword [ebp - 0x25c]
jmp 0x10008d17
cmp dword [ecx + 0x14], 7
jbe 0x10008d03
mov ecx, dword [ecx]
cmp dword [ebp - 0x230], 7
lea eax, [ebp - 0x244]
cmova eax, dword [ebp - 0x244]
push ecx
push eax
call fcn.1000db30
cmp dword [ebp - 0x248], 7
lea eax, [ebp - 0x25c]
push ecx
cmova eax, dword [ebp - 0x25c]
push 0
push eax
call fcn.1000d2d0
cmp dword [ebp - 0x230], 7
lea eax, [ebp - 0x244]
push ecx
cmova eax, dword [ebp - 0x244]
push 0
push eax
call fcn.1000d2d0
lea ecx, [esi + 0x10c]
cmp dword [ecx + 0x14], 7
lea eax, [ecx + 0x14]
mov dword [ebp - 0x2d4], eax
jbe 0x10008d6f
mov ecx, dword [ecx]
cmp dword [esi + 0x138], 7
lea eax, [esi + 0x124]
jbe 0x10008d80
mov eax, dword [eax]
push eax
push ecx
call fcn.1000db30
mov ecx, dword [ebp - 0x2d4]
lea eax, [esi + 0x10c]
cmp dword [ecx], 7
jbe 0x10008d9a
mov eax, dword [eax]
push ecx
push 0
push eax
call fcn.1000d2d0
push 2
push 0x3c
mov ecx, esi
call fcn.1000abd0
cmp dword [ebx + 0x18], 0
je 0x10008dee
push ecx
mov ecx, dword [ebx + 0x10]
mov esi, esp
add ecx, 0xfffffff0
mov dword [ebp - 0x2d8], esi
call fcn.10007880
add eax, 0x10
mov dword [esi], eax
mov esi, dword [ebp - 0x2e0]
push ecx
mov ecx, esi
call fcn.1000a420
mov dword [ebp - 0x2dc], eax
test eax, eax
js 0x100093a4
jmp 0x10008f54
call fcn.10013bc0
cmp dword [ebx + 0x3c], 0
je 0x10008f54
lea eax, [ebp - 0x120]
push eax
lea ecx, [esi + 4]
call fcn.1000e430
cmp dword [ebp - 0x94], 7
lea eax, [ebp - 0xa8]
mov dword [ebp - 0x224], 0
cmova eax, dword [ebp - 0xa8]
mov dword [ebp - 0x2d8], eax
mov eax, dword [0x100a4098]
mov dword [ebp - 0x22c], eax
test eax, eax
je 0x10008e4e
lock inc dword [eax + 4]
mov eax, dword [0x100a4098]
mov dword [ebp - 0x22c], eax
mov ecx, dword [0x100a4094]
mov dword [ebp - 0x300], ecx
mov dword [ebp - 0x2fc], eax
mov byte [ebp - 4], 6
lea edx, [ebp - 0x2d4]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x30]
call eax
lea ecx, [ebp - 0x224]
push ecx
push 0xf003f
push 0
push dword [eax]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edx, dword [ebp - 0x2d4]
or ecx, 0xffffffff
mov dword [ebp - 0x228], eax
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x10008eb1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x22c]
test ecx, ecx
je 0x10008ede
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x10008ede
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x22c]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x10008ede
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x228], 0
jne 0x10008f2d
mov edx, dword [ebp - 0x2d8]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x2d8], eax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10008f00
sub ecx, dword [ebp - 0x2d8]
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push edx
push 1
push 0
push str.DisplayVersion
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 3
call fcn.10009530
mov eax, dword [ebp - 0x2dc]
mov dword [ebp - 0x2dc], eax
cmp dword [ebx + 0x38], 0
je 0x10008f5f
call fcn.10013e10
push 4
push 0x41
mov ecx, esi
call fcn.1000abd0
cmp dword [ebx + 0x1c], 0
je 0x10008f77
mov ecx, esi
call fcn.10009bf0
push 5
push 0x46
mov ecx, esi
call fcn.1000abd0
cmp dword [ebx + 0x20], 0
je 0x10008f8f
mov ecx, esi
call fcn.1000aa40
push 8
push 0x46
mov ecx, esi
call fcn.1000abd0
cmp dword [ebx + 0x34], 0
je 0x10009139
xor eax, eax
mov dword [ebp - 0x2d0], 0
xorps xmm0, xmm0
mov dword [ebp - 0x2bc], 0
movups xmmword [ebp - 0x2cc], xmm0
mov dword [ebp - 0x2b8], 7
movups xmmword [ebp - 0x2b4], xmm0
mov word [ebp - 0x2cc], ax
movups xmmword [ebp - 0x29c], xmm0
mov dword [ebp - 0x2a4], eax
mov dword [ebp - 0x2a0], 7
mov word [ebp - 0x2b4], ax
mov dword [ebp - 0x28c], eax
mov dword [ebp - 0x288], 7
mov word [ebp - 0x29c], ax
mov dword [ebp - 0x284], eax
mov dword [ebp - 0x280], 1
mov dword [ebp - 0x27c], 1
mov byte [ebp - 4], 7
mov ecx, esi
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x2d0]
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.10009e70
mov byte [ebp - 4], 8
call fcn.10004070
mov ecx, eax
test ecx, ecx
je 0x10009503
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x22c], eax
mov byte [ebp - 4], 9
call fcn.10004070
mov ecx, eax
test ecx, ecx
je 0x1000950d
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x224], eax
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x224]
mov esi, dword [ebp - 0x228]
lea edx, [ebp - 0x22c]
push eax
mov ecx, esi
call fcn.10019f70
add esp, 4
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.1000b110
mov byte [ebp - 4], 9
or eax, 0xffffffff
mov edx, dword [ebp - 0x224]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100090e6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
or eax, 0xffffffff
mov edx, dword [ebp - 0x22c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10009108
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 7
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10009124
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x2d0]
mov byte [ebp - 4], 3
call fcn.100098e0
mov esi, dword [ebp - 0x2e0]
push 6
push 0x50
mov ecx, esi
call fcn.1000abd0
cmp dword [ebx + 0x24], 0
je 0x10009151
mov ecx, esi
call fcn.100099d0
cmp dword [ebx + 0x30], 0
je 0x10009161
push dword [ebx + 0x34]
mov ecx, esi
call fcn.1000b990
push 9
push 0x5f
mov ecx, esi
call fcn.1000abd0
cmp dword [ebx + 0x2c], 0
je 0x100093a4
mov eax, dword [0x100a4098]
mov dword [ebp - 0x228], eax
test eax, eax
je 0x10009194
lock inc dword [eax + 4]
mov eax, dword [0x100a4098]
mov dword [ebp - 0x228], eax
mov ecx, dword [0x100a4094]
mov dword [ebp - 0x300], ecx
mov dword [ebp - 0x2fc], eax
mov byte [ebp - 4], 0xf
lea edx, [ebp - 0x2d4]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x48]
call eax
mov byte [ebp - 4], 0x10
mov eax, dword [eax]
push 0x208
mov dword [ebp - 0x2d8], eax
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.10055b90
add esi, 0x124
add esp, 0xc
cmp dword [esi + 0x14], 7
jbe 0x100091e8
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x220]
push 0x10092f90
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x220]
push dword [ebp - 0x2d8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x2f8]
call fcn.1000c060
mov byte [ebp - 4], 0x11
lea esi, [ebp - 0x2f8]
cmp dword [ebp - 0x2e4], 7
cmova esi, dword [ebp - 0x2f8]
call fcn.10004070
mov ecx, eax
test ecx, ecx
je 0x10009517
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x224], eax
push esi
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 0x12
call fcn.10007ac0
test al, al
jne 0x1000929c
test esi, esi
jne 0x10009276
xor ecx, ecx
jmp 0x1000928f
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10009280
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x224]
call fcn.10007d40
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x2e4]
cmp ecx, 7
jbe 0x100092e0
mov edx, dword [ebp - 0x2f8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100092d6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009521
push ecx
push edx
call fcn.10053bf1
add esp, 8
xor eax, eax
mov dword [ebp - 0x2e8], 0
mov dword [ebp - 0x2e4], 7
mov word [ebp - 0x2f8], ax
mov byte [ebp - 4], 0x15
or eax, 0xffffffff
mov edx, dword [ebp - 0x2d4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000931f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x16
mov esi, dword [ebp - 0x228]
test esi, esi
je 0x1000934e
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x1000934e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x1000934e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 0x224]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10009382
push ecx
lea ecx, [esi - 0x10]
mov dword [ebp - 0x2d8], esp
call fcn.10007880
mov ecx, esp
add eax, 0x10
mov dword [ecx], eax
mov ecx, 1
call fcn.1002fd80
add esp, 4
mov byte [ebp - 4], 3
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1000939e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x2e0]
push 0x1008f490
push 0x1008f6a8
push str.install
call fcn.1002dec0
add esp, 0xc
mov ecx, esi
push 0xa
push 0x64
call fcn.1000abd0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x230]
cmp ecx, 7
jbe 0x1000940a
mov edx, dword [ebp - 0x244]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10009400
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009526
push ecx
push edx
call fcn.10053bf1
add esp, 8
xor eax, eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x248]
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 7
mov word [ebp - 0x244], ax
cmp ecx, 7
jbe 0x1000946b
mov edx, dword [ebp - 0x25c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10009461
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009526
push ecx
push edx
call fcn.10053bf1
add esp, 8
xor eax, eax
mov dword [ebp - 0x24c], 0
or esi, 0xffffffff
mov word [ebp - 0x25c], ax
mov byte [ebp - 4], al
add edi, 0xfffffff0
mov dword [ebp - 0x248], 7
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x100094a5
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebx + 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x100094c4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x2dc]
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.100535a4
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x38
push 0x80004005
call fcn.10001410
call fcn.10058b57
call fcn.10058b57
call fcn.10058b57
push 0x80004005
call fcn.10001410
push 0x80004005
call fcn.10001410
push 0x80004005
call fcn.10001410
call fcn.10058b57
call fcn.10058b57
int3