Function at 0x100650a0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10087a05
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x24], 0
call fcn.10021470
xor edx, edx
mov ecx, eax
test ecx, ecx
setne dl
test edx, edx
jne 0x100650ee
push 0x80004005
call fcn.10021340
mov eax, dword [ecx]
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0
call fcn.10021470
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x1006511c
push 0x80004005
call fcn.10021340
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x20], edi
mov byte [ebp - 4], 1
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
call fcn.1002e0b0
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov dword [ebp - 0x50], eax
mov edx, eax
mov dword [ebp - 0x38], eax
cmp word [eax], 0
je 0x100654e4
nop
push edx
lea ecx, [ebp - 0x1c]
call fcn.10022bb0
push ecx
mov byte [ebp - 4], 3
mov ecx, esp
mov dword [ebp - 0x4c], esp
push str.CAMEYO_
call fcn.10022bb0
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x1c]
add esi, 0xfffffff0
push ecx
mov dword [ebp - 0x28], esp
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
mov ecx, eax
jl 0x100651ac
cmp ecx, dword [esi]
jne 0x100651ac
mov eax, 1
lock xadd dword [edx], eax
jmp 0x100651ee
mov eax, dword [ecx]
push 2
push dword [esi + 4]
call dword [eax]
mov edx, eax
mov dword [ebp - 0x30], edx
test edx, edx
je 0x1006553f
mov ecx, dword [esi + 4]
mov dword [edx + 4], ecx
mov ecx, dword [esi + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [edx + 0x10]
push eax
call fcn.1006b19c
mov esi, dword [ebp - 0x30]
add esp, 0x10
mov edx, dword [ebp - 0x28]
lea eax, [esi + 0x10]
mov ecx, 1
mov dword [edx], eax
mov byte [ebp - 4], 3
call fcn.1003ce10
add esp, 8
test eax, eax
je 0x10065495
push ecx
mov ecx, esp
mov dword [ebp - 0x4c], esp
push str.CAMEYO_RO_
call fcn.10022bb0
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x1c]
add esi, 0xfffffff0
push ecx
mov dword [ebp - 0x28], esp
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
mov ecx, eax
jl 0x1006524e
cmp ecx, dword [esi]
jne 0x1006524e
mov eax, 1
lock xadd dword [edx], eax
jmp 0x10065290
mov eax, dword [ecx]
push 2
push dword [esi + 4]
call dword [eax]
mov edx, eax
mov dword [ebp - 0x30], edx
test edx, edx
je 0x1006553f
mov ecx, dword [esi + 4]
mov dword [edx + 4], ecx
mov ecx, dword [esi + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [edx + 0x10]
push eax
call fcn.1006b19c
mov esi, dword [ebp - 0x30]
add esp, 0x10
mov edx, dword [ebp - 0x28]
lea eax, [esi + 0x10]
mov ecx, 1
mov dword [edx], eax
mov byte [ebp - 4], 3
call fcn.1003ce10
add esp, 8
test eax, eax
jne 0x10065495
push ecx
mov ecx, esp
mov dword [ebp - 0x4c], esp
push str.CAMEYO_PKGPROT
call fcn.10022bb0
push ecx
mov byte [ebp - 4], 6
mov esi, esp
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.100236e0
add eax, 0x10
mov ecx, 1
mov dword [esi], eax
mov byte [ebp - 4], 3
call fcn.1003ce10
add esp, 8
test eax, eax
jne 0x10065495
push 7
push eax
lea ecx, [ebp - 0x1c]
call fcn.10022cf0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push eax
push 0x10095bd8
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10029190
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.100236e0
add eax, 0x10
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x30]
push dword [ebp - 0x28]
push 0
call fcn.10022cf0
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x60]
call fcn.1003f5a0
mov esi, eax
cmp esi, dword [ebp - 0x60]
je 0x10065378
mov ecx, dword [esi + 0x10]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x100650e4
push ecx
push dword [ebp - 0x24]
call fcn.1006af63
add esp, 8
test eax, eax
sets al
test al, al
je 0x100653a1
lea eax, [ebp - 0x24]
push ecx
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push ecx
lea ecx, [ebp - 0x60]
call fcn.1002e0f0
push eax
add eax, 0x10
lea ecx, [ebp - 0x60]
push eax
push esi
lea eax, [ebp - 0x3c]
push eax
call fcn.1003f760
mov esi, dword [ebp - 0x3c]
mov ecx, dword [esi + 0x14]
lea eax, [esi + 0x14]
mov esi, dword [ebp - 0x30]
sub ecx, 0x10
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x44], ecx
lea edx, [esi - 0x10]
mov dword [ebp - 0x4c], edx
cmp edx, ecx
je 0x10065411
cmp dword [ecx + 0xc], 0
lea ebx, [ecx + 0xc]
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp - 0x14]
jl 0x10065406
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x10065403
mov ecx, edx
call fcn.100236e0
mov dword [ebp - 0x48], eax
or ecx, 0xffffffff
mov eax, dword [ebp - 0x40]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100653f6
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x48]
add eax, 0x10
mov dword [ecx], eax
jmp 0x10065411
mov eax, dword [ebp - 0x28]
push dword [esi - 0xc]
mov ecx, eax
push esi
call fcn.10023530
push esi
push dword [ebp - 0x24]
lea eax, [ebp - 0x34]
push dword [ebp - 0x1c]
push str.VirtIniSettings:_ENV_setting_found:__s___s_s
push eax
call fcn.1003a800
add esp, 0x14
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x34]
call fcn.100394f0
mov byte [ebp - 4], 8
or esi, 0xffffffff
mov edx, dword [ebp - 0x34]
mov ecx, esi
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10065458
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 7
mov ecx, esi
mov edx, dword [ebp - 0x4c]
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10065475
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
mov ecx, esi
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10065495
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
or ecx, 0xffffffff
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100654b6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x38]
mov ecx, edx
lea esi, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100654c0
sub ecx, esi
sar ecx, 1
lea edx, [edx + ecx*2]
add edx, 2
mov dword [ebp - 0x38], edx
cmp word [edx], ax
jne 0x10065160
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push str.AppID
lea ecx, [ebp - 0x1c]
call fcn.10022bb0
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x60]
mov esi, eax
mov edx, dword [eax + 4]
mov dword [ebp - 0x24], edx
cmp byte [edx + 0xd], 0
jne 0x10065554
lea ecx, [ecx]
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x100650e4
push eax
push dword [edx + 0x10]
call fcn.1006af63
mov edx, dword [ebp - 0x24]
add esp, 8
test eax, eax
sets al
test al, al
je 0x10065544
mov edx, dword [edx + 8]
jmp 0x10065548
call fcn.10023990
mov esi, edx
mov edx, dword [edx]
cmp byte [edx + 0xd], 0
mov dword [ebp - 0x24], edx
je 0x10065510
mov eax, dword [ebp - 0x60]
cmp esi, eax
je 0x10065585
mov ecx, dword [esi + 0x10]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x10065570
push 0x80004005
call fcn.10021340
push ecx
push dword [ebp - 0x1c]
call fcn.1006af63
add esp, 8
test eax, eax
sets al
test al, al
je 0x100655ae
lea eax, [ebp - 0x1c]
push ecx
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
push ecx
lea ecx, [ebp - 0x60]
call fcn.1002e0f0
push eax
add eax, 0x10
lea ecx, [ebp - 0x60]
push eax
push esi
lea eax, [ebp - 0x50]
push eax
call fcn.1003f760
mov esi, dword [ebp - 0x50]
mov eax, dword [ebp - 0x18]
mov edx, dword [esi + 0x14]
add eax, 4
mov dword [ebp - 0x28], eax
mov esi, dword [eax]
lea ecx, [edx - 0x10]
sub esi, 0x10
cmp ecx, esi
je 0x1006560a
cmp dword [esi + 0xc], 0
jl 0x100655fe
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x100655fe
call fcn.100236e0
mov dword [ebp - 0x50], eax
lea edx, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100655f4
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x28]
add eax, 0x10
mov dword [ecx], eax
jmp 0x1006560a
push dword [edx - 0xc]
mov ecx, dword [ebp - 0x28]
push edx
call fcn.10023530
mov byte [ebp - 4], 2
or ecx, 0xffffffff
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1006562b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.BaseDirName
lea ecx, [ebp - 0x1c]
call fcn.10022bb0
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x60]
mov esi, eax
mov edx, dword [eax + 4]
mov dword [ebp - 0x24], edx
cmp byte [edx + 0xd], 0
jne 0x1006568f
lea ecx, [ecx]
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x100650e4
push eax
push dword [edx + 0x10]
call fcn.1006af63
mov edx, dword [ebp - 0x24]
add esp, 8
test eax, eax
sets al
test al, al
je 0x1006567f
mov edx, dword [edx + 8]
jmp 0x10065683
mov esi, edx
mov edx, dword [edx]
cmp byte [edx + 0xd], 0
mov dword [ebp - 0x24], edx
je 0x10065650
mov eax, dword [ebp - 0x60]
cmp esi, eax
je 0x100656c0
mov ecx, dword [esi + 0x10]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x100656ab
push 0x80004005
call fcn.10021340
push ecx
push dword [ebp - 0x1c]
call fcn.1006af63
add esp, 8
test eax, eax
sets al
test al, al
je 0x100656e9
lea eax, [ebp - 0x1c]
push ecx
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
push ecx
lea ecx, [ebp - 0x60]
call fcn.1002e0f0
push eax
add eax, 0x10
lea ecx, [ebp - 0x60]
push eax
push esi
lea eax, [ebp - 0x50]
push eax
call fcn.1003f760
mov esi, dword [ebp - 0x50]
mov edx, dword [esi + 0x14]
lea esi, [ebx - 0x10]
lea ecx, [edx - 0x10]
cmp ecx, esi
je 0x1006573a
cmp dword [esi + 0xc], 0
jl 0x1006572e
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x1006572e
call fcn.100236e0
or ebx, 0xffffffff
mov dword [ebp - 0x50], eax
mov ecx, ebx
lea edx, [esi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10065726
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x50]
add eax, 0x10
mov dword [ebp - 0x14], eax
jmp 0x1006573d
push dword [edx - 0xc]
lea ecx, [ebp - 0x14]
push edx
call fcn.10023530
or ebx, 0xffffffff
mov byte [ebp - 4], 2
mov ecx, ebx
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1006575d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.DataDirName
lea ecx, [ebp - 0x1c]
call fcn.10022bb0
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x60]
mov esi, eax
mov edx, dword [eax + 4]
mov dword [ebp - 0x24], edx
cmp byte [edx + 0xd], 0
jne 0x100657bf
nop
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x100650e4
push eax
push dword [edx + 0x10]
call fcn.1006af63
mov edx, dword [ebp - 0x24]
add esp, 8
test eax, eax
sets al
test al, al
je 0x100657af
mov edx, dword [edx + 8]
jmp 0x100657b3
mov esi, edx
mov edx, dword [edx]
cmp byte [edx + 0xd], 0
mov dword [ebp - 0x24], edx
je 0x10065780
mov eax, dword [ebp - 0x60]
cmp esi, eax
je 0x100657f0
mov ecx, dword [esi + 0x10]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x100657db
push 0x80004005
call fcn.10021340
push ecx
push dword [ebp - 0x1c]
call fcn.1006af63
add esp, 8
test eax, eax
sets al
test al, al
je 0x10065819
lea eax, [ebp - 0x1c]
push ecx
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
push ecx
lea ecx, [ebp - 0x60]
call fcn.1002e0f0
push eax
add eax, 0x10
lea ecx, [ebp - 0x60]
push eax
push esi
lea eax, [ebp - 0x50]
push eax
call fcn.1003f760
mov esi, dword [ebp - 0x50]
mov edx, dword [esi + 0x14]
add edi, 0xfffffff0
lea ecx, [edx - 0x10]
cmp ecx, edi
je 0x10065867
cmp dword [edi + 0xc], 0
lea esi, [edi + 0xc]
jl 0x1006585b
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x1006585b
call fcn.100236e0
mov dword [ebp - 0x50], eax
mov ecx, ebx
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x10065853
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x50]
add eax, 0x10
mov dword [ebp - 0x20], eax
jmp 0x10065867
push dword [edx - 0xc]
lea ecx, [ebp - 0x20]
push edx
call fcn.10023530
mov byte [ebp - 4], 2
mov ecx, ebx
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10065887
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.StopInheritance
lea ecx, [ebp - 0x24]
call fcn.10022bb0
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x60]
mov esi, eax
mov edi, dword [eax + 4]
cmp byte [edi + 0xd], 0
jne 0x100658df
mov eax, dword [ebp - 0x24]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x100650e4
push eax
push dword [edi + 0x10]
call fcn.1006af63
add esp, 8
test eax, eax
sets al
test al, al
je 0x100658d2
mov edi, dword [edi + 8]
jmp 0x100658d6
mov esi, edi
mov edi, dword [edi]
cmp byte [edi + 0xd], 0
je 0x100658a6
mov eax, dword [ebp - 0x60]
cmp esi, eax
je 0x10065910
mov ecx, dword [esi + 0x10]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x100658fb
push 0x80004005
call fcn.10021340
push ecx
push dword [ebp - 0x24]
call fcn.1006af63
add esp, 8
test eax, eax
sets al
test al, al
je 0x10065939
lea eax, [ebp - 0x24]
push ecx
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
push ecx
lea ecx, [ebp - 0x60]
call fcn.1002e0f0
push eax
add eax, 0x10
lea ecx, [ebp - 0x60]
push eax
push esi
lea eax, [ebp - 0x50]
push eax
call fcn.1003f760
mov esi, dword [ebp - 0x50]
mov edi, dword [ebp - 0x18]
mov edx, dword [esi + 0x14]
mov esi, dword [edi + 8]
lea ecx, [edx - 0x10]
sub esi, 0x10
cmp ecx, esi
je 0x1006598d
cmp dword [esi + 0xc], 0
jl 0x10065981
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x10065981
call fcn.100236e0
mov dword [ebp - 0x50], eax
lea edx, [esi + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10065979
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x50]
add eax, 0x10
mov dword [edi + 8], eax
jmp 0x1006598d
push dword [edx - 0xc]
lea ecx, [edi + 8]
push edx
call fcn.10023530
mov byte [ebp - 4], 2
mov ecx, ebx
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100659ad
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.CloudPkgId
lea ecx, [ebp - 0x24]
call fcn.10022bb0
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x60]
mov esi, eax
mov edi, dword [eax + 4]
cmp byte [edi + 0xd], 0
jne 0x10065a09
lea esp, [esp]
mov eax, dword [ebp - 0x24]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x100650e4
push eax
push dword [edi + 0x10]
call fcn.1006af63
add esp, 8
test eax, eax
sets al
test al, al
je 0x100659fc
mov edi, dword [edi + 8]
jmp 0x10065a00
mov esi, edi
mov edi, dword [edi]
cmp byte [edi + 0xd], 0
je 0x100659d0
mov eax, dword [ebp - 0x60]
cmp esi, eax
je 0x10065a3a
mov ecx, dword [esi + 0x10]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x10065a25
push 0x80004005
call fcn.10021340
push ecx
push dword [ebp - 0x24]
call fcn.1006af63
add esp, 8
test eax, eax
sets al
test al, al
je 0x10065a63
lea eax, [ebp - 0x24]
push ecx
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
push ecx
lea ecx, [ebp - 0x60]
call fcn.1002e0f0
push eax
add eax, 0x10
lea ecx, [ebp - 0x60]
push eax
push esi
lea eax, [ebp - 0x50]
push eax
call fcn.1003f760
mov esi, dword [ebp - 0x50]
mov edi, dword [ebp - 0x18]
mov edx, dword [esi + 0x14]
mov esi, dword [edi + 0xc]
lea ecx, [edx - 0x10]
sub esi, 0x10
cmp ecx, esi
je 0x10065ab7
cmp dword [esi + 0xc], 0
jl 0x10065aab
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x10065aab
call fcn.100236e0
mov dword [ebp - 0x50], eax
lea edx, [esi + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10065aa3
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x50]
add eax, 0x10
mov dword [edi + 0xc], eax
jmp 0x10065ab7
push dword [edx - 0xc]
lea ecx, [edi + 0xc]
push edx
call fcn.10023530
mov byte [ebp - 4], 2
mov ecx, ebx
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10065ad7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.StartingDir
lea ecx, [ebp - 0x24]
call fcn.10022bb0
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x60]
mov esi, eax
mov edi, dword [eax + 4]
cmp byte [edi + 0xd], 0
jne 0x10065b2f
mov eax, dword [ebp - 0x24]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x100650e4
push eax
push dword [edi + 0x10]
call fcn.1006af63
add esp, 8
test eax, eax
sets al
test al, al
je 0x10065b22
mov edi, dword [edi + 8]
jmp 0x10065b26
mov esi, edi
mov edi, dword [edi]
cmp byte [edi + 0xd], 0
je 0x10065af6
mov eax, dword [ebp - 0x60]
cmp esi, eax
je 0x10065b60
mov ecx, dword [esi + 0x10]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x10065b4b
push 0x80004005
call fcn.10021340
push ecx
push dword [ebp - 0x24]
call fcn.1006af63
add esp, 8
test eax, eax
sets al
test al, al
je 0x10065b89
lea eax, [ebp - 0x24]
push ecx
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
push ecx
lea ecx, [ebp - 0x60]
call fcn.1002e0f0
push eax
add eax, 0x10
lea ecx, [ebp - 0x60]
push eax
push esi
lea eax, [ebp - 0x50]
push eax
call fcn.1003f760
mov esi, dword [ebp - 0x50]
mov edi, dword [ebp - 0x18]
mov edx, dword [esi + 0x14]
mov esi, dword [edi + 0x2c]
lea ecx, [edx - 0x10]
sub esi, 0x10
cmp ecx, esi
je 0x10065bdd
cmp dword [esi + 0xc], 0
jl 0x10065bd1
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x10065bd1
call fcn.100236e0
mov dword [ebp - 0x50], eax
lea edx, [esi + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10065bc9
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x50]
add eax, 0x10
mov dword [edi + 0x2c], eax
jmp 0x10065bdd
push dword [edx - 0xc]
lea ecx, [edi + 0x2c]
push edx
call fcn.10023530
mov byte [ebp - 4], 2
mov ecx, ebx
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10065bfd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.VirtMachineName
lea ecx, [ebp - 0x24]
call fcn.10022bb0
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x60]
mov esi, eax
mov edi, dword [eax + 4]
cmp byte [edi + 0xd], 0
jne 0x10065c59
lea esp, [esp]
mov eax, dword [ebp - 0x24]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x100650e4
push eax
push dword [edi + 0x10]
call fcn.1006af63
add esp, 8
test eax, eax
sets al
test al, al
je 0x10065c4c
mov edi, dword [edi + 8]
jmp 0x10065c50
mov esi, edi
mov edi, dword [edi]
cmp byte [edi + 0xd], 0
je 0x10065c20
mov eax, dword [ebp - 0x60]
cmp esi, eax
je 0x10065c8a
mov ecx, dword [esi + 0x10]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x10065c75
push 0x80004005
call fcn.10021340
push ecx
push dword [ebp - 0x24]
call fcn.1006af63
add esp, 8
test eax, eax
sets al
test al, al
je 0x10065cb3
lea eax, [ebp - 0x24]
push ecx
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
push ecx
lea ecx, [ebp - 0x60]
call fcn.1002e0f0
push eax
add eax, 0x10
lea ecx, [ebp - 0x60]
push eax
push esi
lea eax, [ebp - 0x50]
push eax
call fcn.1003f760
mov esi, dword [ebp - 0x50]
mov edi, dword [ebp - 0x18]
add esi, 0x14
push esi
lea ecx, [edi + 0x38]
call fcn.100232f0
mov byte [ebp - 4], 2
mov ecx, ebx
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10065ce2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.VirtUserName
lea ecx, [ebp - 0x38]
call fcn.10022bb0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x11
push eax
lea ecx, [ebp - 0x60]
call fcn.10066fd0
lea ecx, [edi + 0x3c]
push eax
call fcn.100232f0
mov byte [ebp - 4], 2
mov ecx, ebx
mov edx, dword [ebp - 0x38]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10065d28
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.RealComInject
lea ecx, [ebp - 0x38]
call fcn.10022bb0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0x60]
call fcn.10066fd0
lea ecx, [edi + 0x44]
push eax
call fcn.100232f0
mov byte [ebp - 4], 2
mov ecx, ebx
mov edx, dword [ebp - 0x38]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10065d6e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.UrlRedir
lea ecx, [ebp - 0x38]
call fcn.10022bb0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x13
push eax
lea ecx, [ebp - 0x60]
call fcn.10066fd0
lea ecx, [edi + 0x48]
push eax
call fcn.100232f0
mov byte [ebp - 4], 2
mov ecx, ebx
mov edx, dword [ebp - 0x38]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10065db4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.VirtualStorage
lea ecx, [ebp - 0x38]
call fcn.10022bb0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x14
push eax
lea ecx, [ebp - 0x60]
call fcn.10066fd0
lea ecx, [edi + 0x50]
push eax
call fcn.100232f0
mov byte [ebp - 4], 2
mov ecx, ebx
mov edx, dword [ebp - 0x38]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10065dfa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.StorageFileDialog
lea ecx, [ebp - 0x38]
call fcn.10022bb0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x15
push eax
lea ecx, [ebp - 0x60]
call fcn.10066fd0
mov ecx, ebx
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x38]
setne byte [ebp - 0xd]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10065e41
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xd], 0
je 0x10065e91
push str.StorageFileDialog
lea ecx, [ebp - 0x38]
call fcn.10022bb0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x16
push eax
lea ecx, [ebp - 0x60]
call fcn.10066fd0
push dword [eax]
call fcn.1006b9d4
mov byte [ebp - 4], 2
add esp, 4
mov edx, dword [ebp - 0x38]
mov ecx, ebx
add edx, 0xfffffff0
mov dword [edi + 0x54], eax
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10065e91
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.StorageFileDialogPaths
lea ecx, [ebp - 0x38]
call fcn.10022bb0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x17
push eax
lea ecx, [ebp - 0x60]
call fcn.10066fd0
lea ecx, [edi + 0x58]
push eax
call fcn.100232f0
mov byte [ebp - 4], 2
mov ecx, ebx
mov edx, dword [ebp - 0x38]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10065ed7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.MailslotVirt
lea ecx, [ebp - 0x38]
call fcn.10022bb0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x18
push eax
lea ecx, [ebp - 0x60]
call fcn.10066fd0
push dword [eax]
call fcn.1006b9d4
mov byte [ebp - 4], 2
add esp, 4
mov edx, dword [ebp - 0x38]
mov ecx, ebx
add edx, 0xfffffff0
mov dword [edi + 0x60], eax
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10065f21
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.ProcessHide
lea ecx, [ebp - 0x38]
call fcn.10022bb0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x19
push eax
lea ecx, [ebp - 0x60]
call fcn.10066fd0
lea ecx, [edi + 0x64]
push eax
call fcn.100232f0
mov byte [ebp - 4], 2
mov ecx, ebx
mov edx, dword [ebp - 0x38]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10065f67
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.DdeVirtualization
lea ecx, [ebp - 0x38]
call fcn.10022bb0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x1a
push eax
lea ecx, [ebp - 0x60]
call fcn.10066fd0
mov ecx, ebx
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x38]
setne byte [ebp - 0xd]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10065fae
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xd], 0
je 0x10065ffe
push str.DdeVirtualization
lea ecx, [ebp - 0x38]
call fcn.10022bb0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x1b
push eax
lea ecx, [ebp - 0x60]
call fcn.10066fd0
push dword [eax]
call fcn.1006b9d4
mov byte [ebp - 4], 2
add esp, 4
mov edx, dword [ebp - 0x38]
mov ecx, ebx
add edx, 0xfffffff0
mov dword [edi + 0x4c], eax
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10065ffe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.IsolationMode
lea ecx, [ebp - 0x38]
call fcn.10022bb0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x1c
push eax
lea ecx, [ebp - 0x60]
call fcn.10066fd0
mov ecx, ebx
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x38]
setne byte [ebp - 0xd]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10066045
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xd], 0
je 0x10066255
push str.IsolationMode
lea ecx, [ebp - 0x38]
call fcn.10022bb0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x1d
push eax
lea ecx, [ebp - 0x60]
call fcn.10066fd0
push str.Data
push dword [eax]
call fcn.1006af63
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x38]
test eax, eax
mov ecx, ebx
sete byte [ebp - 0xd]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100660a1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xd], 0
je 0x100660b3
mov dword [edi + 0x24], 3
jmp 0x10066255
push str.IsolationMode
lea ecx, [ebp - 0x34]
call fcn.10022bb0
mov eax, 1
mov byte [ebp - 4], 0x1e
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x60]
lea eax, [ebp - 0x34]
push eax
call fcn.10066fd0
push str.FullAccess
push dword [eax]
call fcn.1006af63
add esp, 8
test eax, eax
je 0x1006612a
push str.IsolationMode
lea ecx, [ebp - 0x38]
call fcn.10022bb0
mov eax, 3
mov dword [ebp - 4], 0x1f
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x60]
lea eax, [ebp - 0x38]
push eax
call fcn.10066fd0
push str.None
push dword [eax]
call fcn.1006af63
add esp, 8
mov byte [ebp - 0xd], 0
test eax, eax
jne 0x1006612e
mov byte [ebp - 0xd], 1
mov dword [ebp - 4], 0x1e
mov edx, dword [ebp - 0x24]
test dl, 2
je 0x10066162
mov esi, dword [ebp - 0x38]
and edx, 0xfffffffd
add esi, 0xfffffff0
mov dword [ebp - 0x24], edx
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10066162
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x24]
mov dword [ebp - 4], 2
test dl, 1
je 0x1006618a
mov edx, dword [ebp - 0x34]
mov ecx, ebx
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1006618a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xd], 0
je 0x1006619c
mov dword [edi + 0x24], 2
jmp 0x10066255
push str.IsolationMode
lea ecx, [ebp - 0x38]
call fcn.10022bb0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x20
push eax
lea ecx, [ebp - 0x60]
call fcn.10066fd0
push str.Isolated
push dword [eax]
call fcn.1006af63
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x38]
test eax, eax
mov ecx, ebx
sete byte [ebp - 0xd]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100661ee
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xd], 0
je 0x100661fd
mov dword [edi + 0x24], 1
jmp 0x10066255
push str.IsolationMode
lea ecx, [ebp - 0x38]
call fcn.10022bb0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x21
push eax
lea ecx, [ebp - 0x60]
call fcn.10066fd0
push ecx
mov ecx, esp
push dword [eax]
push str._UnpackUtils_ReadIniFile:_incorrect_IsolationMode_property_value:__s
push ecx
call fcn.1003a800
add esp, 0xc
call fcn.10021810
mov byte [ebp - 4], 2
add esp, 4
mov edx, dword [ebp - 0x38]
mov ecx, ebx
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10066255
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.Sandbox
lea ecx, [ebp - 0x38]
call fcn.10022bb0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x22
push eax
lea ecx, [ebp - 0x60]
call fcn.10066fd0
mov ecx, ebx
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x38]
setne byte [ebp - 0xd]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1006629c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xd], 0
je 0x100662e8
push str.Sandbox
lea ecx, [ebp - 0x38]
call fcn.10022bb0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x23
push eax
lea ecx, [ebp - 0x60]
call fcn.10066fd0
lea ecx, [edi + 0x28]
push eax
call fcn.100232f0
mov byte [ebp - 4], 2
mov ecx, ebx
mov edx, dword [ebp - 0x38]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100662e8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.EarlyInjection
lea ecx, [ebp - 0x38]
call fcn.10022bb0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x24
push eax
lea ecx, [ebp - 0x60]
call fcn.10066fd0
mov ecx, 0x1008f1e4
mov eax, dword [eax]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10066336
test dx, dx
je 0x10066332
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10066336
add eax, 4
add ecx, 4
test dx, dx
jne 0x10066310
xor eax, eax
jmp 0x1006633b
sbb eax, eax
or eax, 1
test eax, eax
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x38]
mov ecx, ebx
sete byte [ebp - 0xd]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10066361
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xd], 0
je 0x100663a7
push str.Disabling_EarlyInjection
lea ecx, [ebp - 0x38]
call fcn.10022bb0
mov byte [ebp - 4], 0x25
mov edx, dword [ebp - 0x38]
call fcn.100394f0
mov byte [ebp - 4], 2
mov ecx, ebx
mov edx, dword [ebp - 0x38]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100663a0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [edi + 0x10], 0
push str.AllowDbgMsgBox
lea ecx, [ebp - 0x38]
call fcn.10022bb0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x26
push eax
lea ecx, [ebp - 0x60]
call fcn.10066fd0
mov ecx, 0x1008f1e4
mov eax, dword [eax]
jmp 0x100663d0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100663f6
test dx, dx
je 0x100663f2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100663f6
add eax, 4
add ecx, 4
test dx, dx
jne 0x100663d0
xor eax, eax
jmp 0x100663fb
sbb eax, eax
or eax, 1
test eax, eax
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x38]
mov ecx, ebx
sete byte [ebp - 0xd]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10066421
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xd], 0
je 0x1006642e
mov dword [edi + 0x40], 0
push str.VirtEngine
lea ecx, [ebp - 0x38]
call fcn.10022bb0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x27
push eax
lea ecx, [ebp - 0x60]
call fcn.10066fd0
mov ecx, 0x1008f1e4
mov eax, dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10066478
test dx, dx
je 0x10066474
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10066478
add eax, 4
add ecx, 4
test dx, dx
jne 0x10066452
xor eax, eax
jmp 0x1006647d
sbb eax, eax
or eax, 1
test eax, eax
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x38]
mov ecx, ebx
sete byte [ebp - 0xd]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100664a3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xd], 0
je 0x100664b0
mov dword [edi + 0x30], 0
push dword [edi + 0x30]
lea eax, [ebp - 0x38]
push str.VirtEngine_d
push eax
call fcn.1003a800
add esp, 0xc
mov byte [ebp - 4], 0x28
mov edx, dword [ebp - 0x38]
call fcn.100394f0
mov byte [ebp - 4], 2
mov ecx, ebx
mov edx, dword [ebp - 0x38]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100664f0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.AppVirtDllAdHocMode
lea ecx, [ebp - 0x38]
call fcn.10022bb0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x29
push eax
lea ecx, [ebp - 0x60]
call fcn.10066fd0
mov ecx, str.SessionOpener
mov eax, dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1006653a
test dx, dx
je 0x10066536
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1006653a
add eax, 4
add ecx, 4
test dx, dx
jne 0x10066514
xor eax, eax
jmp 0x1006653f
sbb eax, eax
or eax, 1
test eax, eax
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x38]
mov ecx, ebx
sete byte [ebp - 0xd]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10066565
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xd], 0
je 0x10066572
mov dword [edi + 0x34], 0x10
push dword [edi + 0x34]
lea eax, [ebp - 0x38]
push str.AppVirtDllAdHocMode_d
push eax
call fcn.1003a800
add esp, 0xc
mov byte [ebp - 4], 0x2a
mov edx, dword [ebp - 0x38]
call fcn.100394f0
mov byte [ebp - 4], 2
mov ecx, ebx
mov edx, dword [ebp - 0x38]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100665b2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.CustomDynPaths
lea ecx, [ebp - 0x38]
call fcn.10022bb0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x2b
push eax
lea ecx, [ebp - 0x60]
call fcn.10066fd0
mov ecx, ebx
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x38]
setne byte [ebp - 0xd]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100665f9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xd], 0
je 0x1006689d
push str.CustomDynPaths
lea ecx, [ebp - 0x38]
call fcn.10022bb0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x2c
push eax
lea ecx, [ebp - 0x60]
call fcn.10066fd0
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.100236e0
mov dword [ebp - 0x1c], eax
add eax, 0x10
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 0x2e
mov ecx, ebx
mov edx, dword [ebp - 0x38]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10066653
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x34], 0
lea ebx, [ebx]
lea eax, [ebp - 0x34]
push eax
push 0x10090c5c
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x50]
call fcn.10029190
mov ecx, eax
mov byte [ebp - 4], 0x2f
call fcn.100231c0
mov ecx, eax
call fcn.10023240
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.100236e0
lea esi, [eax + 0x10]
mov dword [ebp - 0x30], esi
mov byte [ebp - 4], 0x31
mov ecx, ebx
mov edx, dword [ebp - 0x4c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100666b7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x34], 0xffffffff
je 0x10066863
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push eax
push 0x10093540
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x30]
call fcn.10029190
mov ecx, eax
mov byte [ebp - 4], 0x32
call fcn.100231c0
mov ecx, eax
call fcn.10023240
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.100236e0
lea ebx, [eax + 0x10]
mov dword [ebp - 0x54], ebx
mov byte [ebp - 4], 0x34
or ecx, 0xffffffff
mov edx, dword [ebp - 0x48]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10066720
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x24]
push eax
push 0x10093540
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x30]
call fcn.10029190
mov ecx, eax
mov byte [ebp - 4], 0x35
call fcn.100231c0
mov ecx, eax
call fcn.10023240
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.100236e0
lea edi, [eax + 0x10]
mov dword [ebp - 0x58], edi
mov byte [ebp - 4], 0x37
or ecx, 0xffffffff
mov edx, dword [ebp - 0x44]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10066778
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x24], 0xffffffff
je 0x10066825
push ecx
lea eax, [edi - 0x10]
mov dword [ebp - 0x24], esp
mov ecx, eax
mov dword [ebp - 0x40], esp
mov dword [ebp - 0x3c], eax
call fcn.100236e0
mov ecx, esp
add eax, 0x10
mov dword [ecx], eax
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 0x38
push ecx
mov ecx, eax
mov dword [ebp - 0x40], eax
mov edi, esp
call fcn.100236e0
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 0x37
call fcn.1002a5e0
mov byte [ebp - 4], 0x34
or ebx, 0xffffffff
mov edx, dword [ebp - 0x3c]
add esp, 8
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100667e2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x40]
mov ecx, ebx
mov byte [ebp - 4], 0x31
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100667ff
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0x2e
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10066660
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x10066660
add edi, 0xfffffff0
mov byte [ebp - 4], 0x34
or ecx, 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10066843
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebx - 0x10]
mov byte [ebp - 4], 0x31
or ebx, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10066863
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0x2e
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10066880
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov ecx, ebx
mov edx, dword [ebp - 0x1c]
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1006689d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ecx]
cmp dword [eax - 0xc], 0
jne 0x100668b5
push str.VirtPlaceholder
call fcn.10037fd0
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jne 0x100668fc
push ecx
mov edx, str._AppData_VOS_
lea ecx, [ebp - 0x50]
call fcn.10022f40
add esp, 4
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x39
call fcn.100232f0
mov byte [ebp - 4], 2
mov ecx, ebx
mov edx, dword [ebp - 0x50]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100668fc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x14]
call fcn.1002abf0
mov esi, dword [ebp - 0x14]
push ecx
mov edi, esp
lea ecx, [esi - 0x10]
call fcn.100236e0
add eax, 0x10
lea ecx, [ebp - 0x2c]
mov edx, 1
mov dword [edi], eax
call fcn.1002bb70
add esp, 4
mov byte [ebp - 4], 0x3a
mov eax, dword [ebp - 0x2c]
cmp dword [eax - 0xc], 0
je 0x100669e4
cmp dword [esi - 0xc], 0
jle 0x10066956
push 0x5c
push esi
call fcn.1006ade1
add esp, 8
test eax, eax
je 0x10066956
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jne 0x10066959
mov eax, dword [esi - 0xc]
push eax
push 0
lea ecx, [ebp - 0x14]
call fcn.10022cf0
push ecx
mov ecx, esp
mov dword [ebp - 0x58], esp
push 0x1008fa70
call fcn.10022bb0
push ecx
mov byte [ebp - 4], 0x3b
mov esi, esp
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov dword [ebp - 0x54], esp
call fcn.100236e0
add eax, 0x10
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 0x3c
mov esi, esp
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.100236e0
add eax, 0x10
lea ecx, [ebp - 0x50]
mov dword [esi], eax
mov byte [ebp - 4], 0x3a
call fcn.1003a550
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x3d
call fcn.100232f0
mov byte [ebp - 4], 0x3a
mov ecx, ebx
mov edx, dword [ebp - 0x50]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100669e1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
cmp dword [eax - 0xc], 0
jne 0x10066a63
push ecx
mov ecx, esp
mov dword [ebp - 0x58], esp
push 0x1008fa70
call fcn.10022bb0
push ecx
mov byte [ebp - 4], 0x3e
mov ecx, esp
mov dword [ebp - 0x54], esp
push str.CHANGES
call fcn.10022bb0
push ecx
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 0x3f
mov edi, esp
call fcn.100236e0
add eax, 0x10
lea ecx, [ebp - 0x50]
mov dword [edi], eax
mov byte [ebp - 4], 0x3a
call fcn.1003a550
add esp, 0xc
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x40
call fcn.100232f0
mov byte [ebp - 4], 0x3a
mov ecx, ebx
mov edx, dword [ebp - 0x50]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10066a6b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x10066a6b
lea ecx, [ebp - 0x20]
call fcn.1002abf0
mov edi, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
add edi, 0x14
push eax
mov ecx, edi
call fcn.100232f0
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [eax + 0x18]
call fcn.100232f0
push 2
lea eax, [ebp - 0x50]
mov ecx, edi
push eax
call fcn.10022df0
mov ecx, 0x10092cf8
mov eax, dword [eax]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10066ac6
test dx, dx
je 0x10066ac2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10066ac6
add eax, 4
add ecx, 4
test dx, dx
jne 0x10066aa0
xor eax, eax
jmp 0x10066acb
sbb eax, eax
or eax, 1
mov edx, dword [ebp - 0x50]
test eax, eax
mov ecx, ebx
sete byte [ebp - 0xd]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10066aed
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xd], 0
je 0x10066b6b
push 2
lea eax, [ebp - 0x4c]
mov ecx, edi
push eax
call fcn.1003ed70
mov byte [ebp - 4], 0x41
push dword [eax]
lea eax, [ebp - 0x50]
push str.__UNC_sPROG_
push eax
call fcn.1003a800
add esp, 0xc
push dword [eax]
call fcn.1006c1a9
mov edx, dword [ebp - 0x50]
add esp, 4
add edx, 0xfffffff0
mov dword [str.__C:UsersUserNameVOSAppIDPROG_], eax
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10066b42
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x3a
mov ecx, ebx
mov edx, dword [ebp - 0x4c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10066b62
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [edi]
push str.__UNC_s_
jmp 0x10066bb0
push dword [edi]
lea eax, [ebp - 0x50]
push str.___sPROG_
push eax
call fcn.1003a800
add esp, 0xc
push dword [eax]
call fcn.1006c1a9
mov edx, dword [ebp - 0x50]
add esp, 4
add edx, 0xfffffff0
mov dword [str.__C:UsersUserNameVOSAppIDPROG_], eax
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10066ba9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [edi]
push str.___s_
lea eax, [ebp - 0x50]
push eax
call fcn.1003a800
add esp, 0xc
push dword [eax]
call fcn.1006c1a9
mov edx, dword [ebp - 0x50]
mov ecx, ebx
add edx, 0xfffffff0
mov dword [str.C:UsersUserNameVOSAppID_], eax
add esp, 4
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10066be7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x50]
push 2
push eax
lea ecx, [ecx + 0x18]
call fcn.10022df0
mov ecx, 0x10092cf8
mov eax, dword [eax]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10066c26
test dx, dx
je 0x10066c22
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10066c26
add eax, 4
add ecx, 4
test dx, dx
jne 0x10066c00
xor eax, eax
jmp 0x10066c2b
sbb eax, eax
or eax, 1
mov edx, dword [ebp - 0x50]
test eax, eax
mov ecx, ebx
sete byte [ebp - 0xd]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10066c4d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xd], 0
mov ecx, dword [ebp - 0x18]
je 0x10066caf
push 2
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ecx + 0x18]
call fcn.1003ed70
mov byte [ebp - 4], 0x42
push dword [eax]
lea eax, [ebp - 0x50]
push str.__UNC_s_
push eax
call fcn.1003a800
add esp, 0xc
push dword [eax]
call fcn.1006c1a9
mov edx, dword [ebp - 0x50]
add esp, 4
add edx, 0xfffffff0
mov dword [str.__C:UsersUserNameVOSAppIDCHANGES_], eax
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10066ca6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x3a
mov edx, dword [ebp - 0x4c]
jmp 0x10066cd5
push dword [ecx + 0x18]
lea eax, [ebp - 0x50]
push str.___s_
push eax
call fcn.1003a800
add esp, 0xc
push dword [eax]
call fcn.1006c1a9
mov edx, dword [ebp - 0x50]
add esp, 4
mov dword [str.__C:UsersUserNameVOSAppIDCHANGES_], eax
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10066cee
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [edi]
lea eax, [ebp - 0x50]
push str._sPROG_
push eax
call fcn.1003a800
add esp, 0xc
push dword [eax]
call fcn.1006c1a9
mov edx, dword [ebp - 0x50]
add esp, 4
add edx, 0xfffffff0
mov dword [str.C:UsersUserNameVOSAppIDPROG_], eax
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10066d2c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [edi]
lea eax, [ebp - 0x50]
push 0x100a3524
push eax
call fcn.1003a800
add esp, 0xc
push dword [eax]
call fcn.1006c1a9
mov edx, dword [ebp - 0x50]
add esp, 4
add edx, 0xfffffff0
mov dword [str.__C:UsersUserNameVOSAppID_], eax
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10066d6a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x50]
push dword [ecx + 0x18]
push 0x100a3524
push eax
call fcn.1003a800
add esp, 0xc
push dword [eax]
call fcn.1006c1a9
mov edx, dword [ebp - 0x50]
add esp, 4
add edx, 0xfffffff0
mov dword [str.C:UsersUserNameVOSAppIDCHANGES_], eax
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10066dac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [str.C:UsersUserNameVOSAppIDPROG_]
test edx, edx
jne 0x10066dba
xor ecx, ecx
jmp 0x10066dcf
mov ecx, edx
lea edi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10066dc0
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, 0x100b2f74
call fcn.10023530
cmp dword [0x100b0f78], 0
jne 0x10066df1
cmp dword [0x100b0f74], 0
jne 0x10066df1
xor eax, eax
jmp 0x10066df6
mov eax, 1
push eax
push 1
xor edx, edx
mov ecx, 0x100b2f74
call fcn.1002a6f0
mov edx, dword [str.__C:UsersUserNameVOSAppID_]
add esp, 8
test edx, edx
jne 0x10066e16
xor ecx, ecx
jmp 0x10066e2f
mov ecx, edx
lea edi, [ecx + 2]
jmp 0x10066e20
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10066e20
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, 0x100b2f80
call fcn.10023530
cmp dword [0x100b0f78], 0
jne 0x10066e51
cmp dword [0x100b0f74], 0
jne 0x10066e51
xor eax, eax
jmp 0x10066e56
mov eax, 1
push eax
push 1
xor edx, edx
mov ecx, 0x100b2f80
call fcn.1002a6f0
mov edx, dword [str.C:UsersUserNameVOSAppIDCHANGES_]
add esp, 8
test edx, edx
jne 0x10066e76
xor ecx, ecx
jmp 0x10066e8f
mov ecx, edx
lea edi, [ecx + 2]
jmp 0x10066e80
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10066e80
sub ecx, edi
sar ecx, 1
push ecx
push edx
mov ecx, 0x100b2f7c
call fcn.10023530
cmp dword [0x100b0f78], 0
jne 0x10066eb1
cmp dword [0x100b0f74], 0
jne 0x10066eb1
xor eax, eax
jmp 0x10066eb6
mov eax, 1
push eax
push 1
xor edx, edx
mov ecx, 0x100b2f7c
call fcn.1002a6f0
push 0x10
call fcn.1006b29d
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x58], edi
mov byte [ebp - 4], 0x43
test edi, edi
je 0x10066f00
mov ecx, edi
mov dword [edi], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 4], 0
call fcn.1003fd50
jmp 0x10066f02
xor edi, edi
mov eax, dword [ebp - 0x18]
mov ecx, ebx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
mov dword [eax + 0x20], edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10066f28
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x60]
lea ecx, [ebp - 0x60]
push eax
push dword [eax]
lea eax, [ebp - 0x58]
push eax
call fcn.1002d790
push dword [ebp - 0x60]
call fcn.1006abf8
mov byte [ebp - 4], 0
add esp, 4
mov edx, dword [ebp - 0x20]
mov ecx, ebx
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10066f65
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x10066f83
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret