Function at 0x10081250
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10187467
mov eax, dword fs:[0]
push eax
sub esp, 0x344
mov eax, dword [0x101dd594]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x284], eax
xor esi, esi
mov dword [ebp - 0x26c], esi
mov dword [ebp - 0x274], esi
call fcn.1007e160
mov ebx, dword [0x101e7cf4]
mov eax, dword [0x101e7cf8]
mov dword [ebp - 0x2a8], ebx
mov dword [ebp - 0x288], eax
cmp ebx, eax
je 0x10081dc2
nop dword [eax + eax]
push dword [ebx + 4]
lea eax, [ebp - 0x254]
mov dword [ebp - 0x254], 0
push eax
call fcn.10081f50
push dword [ebx + 4]
lea eax, [ebp - 0x250]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x250], 0
call fcn.10081fe0
push 0x208
lea eax, [ebp - 0x244]
mov byte [ebp - 4], 1
push 0
push eax
mov dword [ebp - 0x264], 1
call fcn.10150460
add esp, 0x1c
mov dword [ebp - 0x260], 0x104
call fcn.1001b540
mov ecx, eax
test ecx, ecx
je 0x10081f31
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x268], edi
mov ebx, 0x1019a4f0
mov byte [ebp - 4], 2
shr ebx, 0x10
test ebx, ebx
jne 0x1008136a
mov eax, 0x1019a4f0
lea ecx, [ebp - 0x268]
movzx eax, ax
push eax
call fcn.100183a0
jmp 0x100813e7
push 0
push 0
push 0xffffffffffffffff
push 0x1019a4f0
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea esi, [eax - 1]
test esi, esi
jle 0x100813d6
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, esi
or eax, ecx
jge 0x100813a9
push esi
lea ecx, [ebp - 0x268]
call fcn.10018550
mov edi, dword [ebp - 0x268]
push esi
push edi
push 0xffffffffffffffff
push 0x1019a4f0
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp esi, dword [edi - 8]
jg 0x10081f3b
mov dword [edi - 0xc], esi
xor eax, eax
mov word [edi + esi*2], ax
mov esi, dword [ebp - 0x26c]
jmp 0x100813ed
lea ecx, [ebp - 0x268]
call fcn.1001e3f0
mov esi, dword [ebp - 0x26c]
mov edi, dword [ebp - 0x268]
mov eax, dword [ebp - 0x254]
mov byte [ebp - 4], 4
mov dword [ebp - 0x248], 0
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x10081411
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x10081425
call fcn.1001b540
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
test eax, eax
je 0x10081f31
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
push dword [edi - 0xc]
add eax, 0x10
or esi, 4
mov dword [ebp - 0x248], eax
mov eax, dword [ebp - 0x254]
push edi
mov dword [ebp - 0x26c], esi
mov dword [ebp - 0x274], esi
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.1001d4c0
mov esi, dword [ebp - 0x248]
lea eax, [ebp - 0x260]
add esp, 0x14
push eax
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x264]
push eax
push str.ProgId
push esi
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x26c]
setne byte [ebp - 0x26d]
and eax, 0xfffffffb
mov dword [ebp - 0x26c], eax
add esi, 0xfffffff0
mov dword [ebp - 0x274], eax
mov dword [ebp - 0x2ac], eax
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100814cd
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x100814e9
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x26d], 0
je 0x1008169a
call fcn.1001b540
mov ecx, eax
test ecx, ecx
je 0x10081f31
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x268], edi
mov byte [ebp - 4], 5
test ebx, ebx
jne 0x10081531
mov eax, 0x1019a4f0
lea ecx, [ebp - 0x268]
movzx eax, ax
push eax
call fcn.100183a0
jmp 0x100815a0
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push 0xffffffffffffffff
push 0x1019a4f0
push 0
push 3
call ebx
lea esi, [eax - 1]
test esi, esi
jle 0x10081595
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, esi
or eax, ecx
jge 0x10081572
push esi
lea ecx, [ebp - 0x268]
call fcn.10018550
mov edi, dword [ebp - 0x268]
push esi
push edi
push 0xffffffffffffffff
push 0x1019a4f0
push 0
push 3
call ebx
cmp esi, dword [edi - 8]
jg 0x10081f3b
xor eax, eax
mov dword [edi - 0xc], esi
mov word [edi + esi*2], ax
jmp 0x100815a6
lea ecx, [ebp - 0x268]
call fcn.1001e3f0
mov edi, dword [ebp - 0x268]
mov eax, dword [ebp - 0x250]
mov byte [ebp - 4], 7
mov dword [ebp - 0x248], 0
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x100815ca
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x100815de
call fcn.1001b540
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
test eax, eax
je 0x10081f31
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
push dword [edi - 0xc]
mov ecx, dword [ebp - 0x26c]
add eax, 0x10
mov dword [ebp - 0x248], eax
or ecx, 8
mov eax, dword [ebp - 0x250]
push edi
mov dword [ebp - 0x274], ecx
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.1001d4c0
mov esi, dword [ebp - 0x248]
lea eax, [ebp - 0x260]
add esp, 0x14
push eax
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x264]
push eax
push str.ProgId
push esi
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x2ac]
setne bl
and eax, 0xfffffff7
mov dword [ebp - 0x26c], eax
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10081676
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x10081692
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
jne 0x10081c37
push ecx
mov esi, esp
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x2b0], esi
call fcn.1001b540
mov ecx, eax
test ecx, ecx
je 0x10081f31
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x244]
mov byte [ebp - 4], 0xb
test eax, 0xffff0000
jne 0x100816e4
movzx eax, ax
mov ecx, esi
push eax
call fcn.100183a0
jmp 0x1008170e
lea ecx, [ebp - 0x244]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100816f0
sub ecx, edx
lea eax, [ebp - 0x244]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.10020080
mov ecx, dword [ebp - 0x284]
lea eax, [ebp - 0x258]
push eax
mov byte [ebp - 4], 1
call fcn.1007ff90
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x25c], 0
call fcn.1001b540
mov ecx, eax
test ecx, ecx
je 0x10081f31
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x280], eax
mov eax, 0x10193fcc
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x280]
test eax, 0xffff0000
jne 0x10081770
movzx eax, ax
push eax
call fcn.100183a0
jmp 0x1008177c
push 0
push 0x10193fcc
call fcn.10020080
mov ebx, dword [ebp - 0x2a8]
lea esi, [ebp - 0x12]
mov byte [ebp - 4], 0xe
mov ecx, dword [ebx]
test ecx, ecx
jns 0x100817c0
neg ecx
mov eax, 0xcccccccd
sub esi, 2
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
add ecx, 0x30
mov word [esi], cx
mov ecx, edx
test ecx, ecx
jne 0x10081791
add esi, 0xfffffffe
mov eax, 0x2d
mov word [esi], ax
jmp 0x100817e0
mov eax, 0xcccccccd
sub esi, 2
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
add ecx, 0x30
mov word [esi], cx
mov ecx, edx
test ecx, ecx
jne 0x100817c0
xor ecx, ecx
mov dword [ebp - 0x290], 0
mov word [ebp - 0x2a0], cx
mov eax, 7
lea ecx, [ebp - 0x12]
mov dword [ebp - 0x28c], eax
cmp esi, ecx
je 0x1008181e
mov eax, ecx
lea ecx, [ebp - 0x2a0]
sub eax, esi
sar eax, 1
push eax
push esi
call fcn.1001ba50
mov eax, dword [ebp - 0x28c]
mov ecx, dword [ebp - 0x26c]
or ecx, 0x30
mov dword [ebp - 0x26c], ecx
mov dword [ebp - 0x274], ecx
cmp eax, 8
mov byte [ebp - 4], 0xf
lea esi, [ebp - 0x2a0]
cmovae esi, dword [ebp - 0x2a0]
call fcn.1001b540
mov ecx, eax
test ecx, ecx
je 0x10081f31
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x27c], eax
mov byte [ebp - 4], 0x10
test esi, esi
je 0x100818a1
test esi, 0xffff0000
jne 0x10081885
movzx eax, si
lea ecx, [ebp - 0x27c]
push eax
call fcn.100183a0
jmp 0x100818b0
mov ecx, esi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10081890
sub ecx, edx
sar ecx, 1
jmp 0x100818a3
xor ecx, ecx
push ecx
push esi
lea ecx, [ebp - 0x27c]
call fcn.10020080
mov byte [ebp - 4], 0x11
call fcn.1001b540
mov ecx, eax
test ecx, ecx
je 0x10081f31
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x278], eax
mov esi, str.RightsPlugin
mov byte [ebp - 4], 0x12
shr esi, 0x10
lea ecx, [ebp - 0x278]
test esi, esi
jne 0x100818f7
mov edi, str.RightsPlugin
movzx eax, di
push eax
call fcn.100183a0
jmp 0x10081908
push 0xc
push str.RightsPlugin
call fcn.10020080
mov edi, str.RightsPlugin
lea eax, [ebp - 0x2b4]
mov byte [ebp - 4], 0x13
push eax
call fcn.10096540
push eax
lea eax, [ebp - 0x280]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x25c]
push eax
call fcn.100c9c20
add esp, 0x18
mov edx, dword [ebp - 0x2b4]
or eax, 0xffffffff
mov byte [ebp - 4], 0x16
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10081963
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x278]
or eax, 0xffffffff
mov byte [ebp - 4], 0x17
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10081985
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x27c]
or eax, 0xffffffff
mov byte [ebp - 4], 0x18
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100819a7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x28c]
mov byte [ebp - 4], 0x19
cmp edx, 8
jb 0x100819eb
mov ecx, dword [ebp - 0x2a0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100819e1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10081f45
push edx
push ecx
call fcn.10127e1e
add esp, 8
xor eax, eax
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], 7
mov word [ebp - 0x2a0], ax
mov edx, dword [ebp - 0x280]
or eax, 0xffffffff
mov byte [ebp - 4], 0x1a
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10081a2a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x25c]
cmp dword [eax - 0xc], 0
jne 0x10081b8c
mov eax, dword [ebp - 0x258]
cmp dword [eax - 0xc], 0
je 0x10081b8c
push dword [ebx]
lea eax, [ebp - 0x2c]
push eax
call fcn.10033c50
add esp, 8
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0x1b
jb 0x10081a64
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x2a4]
call fcn.10016670
mov byte [ebp - 4], 0x1c
call fcn.1001b540
mov ecx, eax
test ecx, ecx
je 0x10081f31
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24c], eax
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x24c]
test esi, esi
jne 0x10081aaa
movzx eax, di
push eax
call fcn.100183a0
jmp 0x10081ab6
push 0xc
push str.RightsPlugin
call fcn.10020080
lea eax, [ebp - 0x2b8]
mov byte [ebp - 4], 0x1e
push eax
call fcn.10096540
push eax
lea eax, [ebp - 0x258]
mov byte [ebp - 4], 0x1f
push eax
lea eax, [ebp - 0x2a4]
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.100c9ea0
mov edx, dword [ebp - 0x2b8]
add esp, 0x14
mov byte [ebp - 4], 0x1e
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10081b0a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x24c]
or eax, 0xffffffff
mov byte [ebp - 4], 0x1c
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10081b2c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x2a4]
or eax, 0xffffffff
mov byte [ebp - 4], 0x1b
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10081b4e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov byte [ebp - 4], 0x1a
cmp edx, 8
jb 0x10081b8c
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10081b82
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10081f45
push edx
push ecx
call fcn.10127e1e
add esp, 8
mov edx, dword [ebp - 0x25c]
or eax, 0xffffffff
mov byte [ebp - 4], 0xc
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10081bae
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x258]
or eax, 0xffffffff
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10081bd0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x250]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10081bf2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x254]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10081c17
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 8
mov dword [ebp - 0x2a8], ebx
cmp ebx, dword [ebp - 0x288]
je 0x10081dc2
mov esi, dword [ebp - 0x26c]
jmp 0x100812c0
call fcn.100d1170
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10081d7b
push 0x66
push str.d:jenkins.jenkinsworkspacemultiplugin_nativemultiplugin_rightsplugindefaultappdefaultappmgr.cpp
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], al
call fcn.10019000
push 3
push 0x10193e24
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 8
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], 0xf
mov byte [ebp - 0x2a0], 0
call fcn.10019000
mov byte [ebp - 4], 9
call fcn.100d1170
mov edi, eax
lea ecx, [ebp - 0x350]
push 0x25
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x2a0]
push eax
call fcn.100167c0
mov esi, eax
push str.UserChoice
push esi
mov byte [ebp - 4], 0xa
call fcn.100174d0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x350]
call fcn.10017580
mov edx, dword [ebp - 0x28c]
mov byte [ebp - 4], 8
cmp edx, 0x10
jb 0x10081d28
mov ecx, dword [ebp - 0x2a0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10081d1e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10081f45
push edx
push ecx
call fcn.10127e1e
add esp, 8
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], 0xf
mov byte [ebp - 0x2a0], 0
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x10081d7b
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10081d71
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10081f4a
push edx
push ecx
call fcn.10127e1e
add esp, 8
mov edx, dword [ebp - 0x250]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10081d9d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x254]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10081dc2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x101e7cf8]
mov esi, dword [0x101e7cf4]
mov dword [ebp - 0x288], eax
cmp esi, eax
je 0x10081f13
add esi, 4
nop
push dword [esi]
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x24c], 0
push eax
call fcn.10081f50
push dword [esi]
lea eax, [ebp - 0x248]
mov dword [ebp - 4], 0x20
push eax
mov dword [ebp - 0x248], 0
call fcn.10081fe0
mov edi, dword [ebp - 0x24c]
sub esp, 8
mov edx, esp
mov byte [ebp - 4], 0x21
mov ecx, edi
xor eax, eax
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
lea ebx, [ecx + 2]
mov word [edx], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10081e40
sub ecx, ebx
sar ecx, 1
push ecx
push edi
mov ecx, edx
call fcn.1001ba50
mov eax, dword [ebp - 0x284]
push SysReAllocString
mov ecx, dword [eax]
call fcn.10079ba0
mov edi, dword [ebp - 0x248]
sub esp, 0x18
mov edx, esp
mov ecx, edi
xor eax, eax
mov dword [edx + 0x10], 0
lea ebx, [ecx + 2]
mov dword [edx + 0x14], 7
mov word [edx], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10081e90
sub ecx, ebx
sar ecx, 1
push ecx
push edi
mov ecx, edx
call fcn.1001ba50
mov eax, dword [ebp - 0x284]
push SysReAllocString
mov ecx, dword [eax]
call fcn.10079ba0
mov edx, dword [ebp - 0x248]
or eax, 0xffffffff
mov byte [ebp - 4], 0x20
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10081edc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x24c]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10081f01
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 8
lea eax, [esi - 4]
cmp eax, dword [ebp - 0x288]
jne 0x10081de0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10128191
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10017a40
push 0x80070057
call fcn.10017a40
call fcn.10153963
call fcn.10153963
int3