Function at 0x48f5f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cccb8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x504c94]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
call fcn.0049d1fb
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x48f639
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x18], ebx
mov ecx, str.RegistryMACHINESOFTWAREClasses_
mov byte [ebp - 4], 1
test ecx, 0xffff0000
jne 0x48f729
mov edx, ecx
movzx esi, dx
push esi
call fcn.004a5121
mov edi, eax
test edi, edi
je 0x48f744
mov eax, esi
shr eax, 4
inc eax
movzx ecx, ax
push 6
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x48f744
push esi
push eax
push edi
call fcn.004216fe
mov edi, eax
add esp, 0xc
test edi, edi
je 0x48f744
movzx esi, word [edi]
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, esi
or eax, ecx
jge 0x48f6c2
push esi
lea ecx, [ebp - 0x18]
call fcn.0042151d
mov ebx, dword [ebp - 0x18]
movzx eax, word [edi]
add edi, 2
mov dword [ebp - 0x3c], edi
cmp eax, 0xffffffff
jne 0x48f6da
push edi
call fcn.004ab8ea
add esp, 4
inc eax
lea edx, [eax + eax]
mov eax, dword [ebp - 0x3c]
push edx
push eax
lea edi, [esi + esi]
push edi
push ebx
call fcn.004ab372
add esp, 0x10
cmp eax, 0x50
ja case.0x48f8fc.1
movzx ecx, byte [eax + 0x49040c]
jmp dword [ecx*4 + 0x4903fc]
call fcn.0049d763
test esi, esi
jl 0x48f71f
cmp esi, dword [ebx - 8]
jg 0x48f71f
xor edx, edx
mov dword [ebx - 0xc], esi
mov word [edi + ebx], dx
jmp 0x48f744
push 0x80070057
call fcn.00421000
push str.RegistryMACHINESOFTWAREClasses_
call fcn.004ab8ea
add esp, 4
push eax
push str.RegistryMACHINESOFTWAREClasses_
lea ecx, [ebp - 0x18]
call fcn.00423f13
mov ebx, dword [ebp + 0x10]
mov byte [ebp - 4], 2
movsx esi, word [ebx + 0x4c]
mov dword [ebp - 0x38], 0
shr esi, 1
call fcn.0049d1fb
push eax
push esi
lea edi, [ebx + 0x50]
push edi
lea ecx, [ebp - 0x20]
call fcn.00423e2d
mov byte [ebp - 4], 3
movsx eax, word [ebx + 0x4c]
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.00490700
mov byte [ebp - 4], 4
call fcn.0049d1fb
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x48f79b
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 5
test byte [ebx + 6], 0x20
mov edx, dword [ebp - 0x20]
lea esi, [eax - 0x10]
je 0x48f7bd
mov edx, dword [ebp - 0x1c]
lea ecx, [edx - 0x10]
cmp ecx, esi
je 0x48f809
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x48f7fc
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x48f7fc
push ecx
call fcn.00423f84
or ecx, 0xffffffff
mov ebx, eax
add esp, 4
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x48f7f4
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [ebp - 0x10], ebx
jmp 0x48f809
mov eax, dword [edx - 0xc]
push eax
push edx
lea ecx, [ebp - 0x10]
call fcn.00423f13
cmp dword [ebp + 0x18], 0
jle 0x48fa07
push ecx
mov ebx, esp
mov dword [ebp - 0x50], esp
mov dword [ebp - 0x4c], ebx
call fcn.0049d1fb
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x48f836
push 0x80004005
call fcn.00421000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebx], eax
mov ecx, 0x4d9c3c
mov byte [ebp - 4], 6
test ecx, 0xffff0000
jne 0x48f92b
mov edx, ecx
movzx esi, dx
push esi
call fcn.004a5121
mov edi, eax
test edi, edi
je 0x48f945
mov eax, esi
shr eax, 4
inc eax
movzx ecx, ax
push 6
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x48f945
push esi
push eax
push edi
call fcn.004216fe
mov edi, eax
add esp, 0xc
test edi, edi
je 0x48f945
mov eax, dword [ebx]
movzx esi, word [edi]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, esi
or eax, ecx
jge 0x48f8bf
push esi
mov ecx, ebx
call fcn.0042151d
movzx eax, word [edi]
mov edx, dword [ebx]
add edi, 2
mov dword [ebp - 0x3c], edx
cmp eax, 0xffffffff
jne 0x48f8d9
push edi
call fcn.004ab8ea
add esp, 4
inc eax
add eax, eax
push eax
lea ecx, [esi + esi]
push edi
push ecx
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.004ab372
add esp, 0x10
cmp eax, 0x50
ja case.0x48f8fc.1
movzx edx, byte [eax + 0x490470]
jmp dword [edx*4 + 0x490460]
call fcn.0049d79b
test esi, esi
jl 0x48f71f
mov eax, dword [ebx]
cmp esi, dword [eax - 8]
jg 0x48f71f
mov edx, dword [ebp - 0x34]
mov dword [eax - 0xc], esi
mov eax, dword [ebx]
xor ecx, ecx
mov word [edx + eax], cx
jmp 0x48f945
push 0x4d9c3c
call fcn.004ab8ea
add esp, 4
push eax
push 0x4d9c3c
mov ecx, ebx
call fcn.00423f13
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x10]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x4c], esp
mov esi, esp
push eax
call fcn.00423f84
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 8
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 0x48], esp
mov esi, esp
push eax
call fcn.00423f84
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea edi, [ebp - 0x30]
mov byte [ebp - 4], 5
call fcn.00466550
add esp, 0xc
mov byte [ebp - 4], 9
mov ecx, dword [eax]
mov esi, dword [ebp + 8]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x48f9e4
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x48f9d7
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x48f9d7
push eax
call fcn.00423f84
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x48f9cf
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [ebp + 8], ebx
jmp 0x48f9e4
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp + 8]
call fcn.00423f13
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48fa07
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
cmp eax, 2
jne 0x48fb62
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebx + 0x30]
cmp byte [esi + edi + 4], 0x73
jne 0x4900d6
cmp byte [esi + edi + 5], 0x6b
jne 0x4900d6
cmp dword [esi + edi + 0xc], esi
jne 0x48fb22
cmp dword [esi + edi + 8], esi
jne 0x48fb22
push ecx
mov ecx, esp
mov dword [ebp + 0x10], esp
push str.RegDatFileWalker:_all_good
call fcn.0042341f
call fcn.0048f580
add esp, 4
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48fa81
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48faa4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48fac7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48faea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48fb10
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
push ecx
mov ecx, esp
mov dword [ebp - 0x50], esp
push edx
push eax
push str._RegDatFileWalker:_fixing_sec_in__s___s_
push ecx
call fcn.00466a00
add esp, 0x10
call fcn.0048f580
mov ecx, dword [ebx + 0x30]
mov eax, dword [ebp + 0x1c]
mov dword [esi + edi + 0xc], ecx
mov edx, dword [ebx + 0x30]
mov dword [esi + edi + 8], edx
add esp, 4
mov dword [eax], 1
jmp 0x4900d6
cmp eax, 1
jne 0x48fb90
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x20]
push 0
lea ecx, [ebp - 0x38]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4900d6
mov ecx, dword [ebp + 0x10]
cmp dword [ecx + 0x28], 0
mov dword [ebp - 0x34], 0
jbe 0x4900c8
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x48fbbc
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4900c5
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x2c]
mov ecx, dword [ebp - 0x34]
lea edx, [eax + ecx*4 + 4]
mov ecx, dword [ebp + 0xc]
mov edi, dword [edx + ecx]
add edi, ecx
test dword [edi + 8], 0x80000000
mov edx, dword [edi + 0xc]
lea eax, [edi + 0xc]
lea ecx, [edx + ecx + 4]
mov dword [ebp - 0x24], ecx
je 0x48fbea
mov dword [ebp - 0x24], eax
movsx esi, word [edi + 6]
shr esi, 1
lea ebx, [edi + 0x18]
call fcn.0049d1fb
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x48f62f
test ebx, ebx
jne 0x48fc13
test esi, esi
jne 0x48f71f
mov edx, dword [eax]
push 2
mov ecx, eax
mov eax, dword [edx]
push esi
call eax
test eax, eax
je 0x4901ef
lea ebx, [eax + 0x10]
mov dword [ebp - 0x50], ebx
test esi, esi
jl 0x48f71f
cmp esi, dword [ebx - 8]
jg 0x48f71f
mov dword [ebx - 0xc], esi
add esi, esi
push esi
lea eax, [edi + 0x18]
push eax
xor ecx, ecx
push esi
push ebx
mov word [esi + ebx], cx
call fcn.004ab372
add esp, 0x10
mov byte [ebp - 4], 0xa
movsx edx, word [edi + 6]
push edx
lea eax, [edi + 0x18]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00490700
mov byte [ebp - 4], 0xb
call fcn.0049d1fb
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x48f62f
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ecx, [eax + 0x10]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 0xc
test byte [edi + 0x14], 1
lea esi, [ecx - 0x10]
je 0x48fcf1
mov edx, dword [ebp - 0x3c]
lea eax, [edx - 0x10]
cmp eax, esi
je 0x48fd3d
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x48fcea
mov ecx, dword [eax]
cmp ecx, dword [esi]
jne 0x48fcea
push eax
call fcn.00423f84
add esp, 4
mov dword [ebp - 0x2c], eax
or edx, 0xffffffff
lock xadd dword [ebx], edx
dec edx
test edx, edx
jg 0x48fcdf
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, dword [ebp - 0x2c]
add eax, 0x10
mov dword [ebp - 0x14], eax
jmp 0x48fd3d
mov eax, dword [edx - 0xc]
push eax
push edx
jmp 0x48fd35
lea eax, [ebx - 0x10]
cmp eax, esi
je 0x48fd3d
cmp dword [esi + 0xc], 0
jl 0x48fd30
mov ecx, dword [eax]
cmp ecx, dword [esi]
jne 0x48fd30
push eax
call fcn.00423f84
mov ebx, eax
add esp, 4
lea eax, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [eax], edx
dec edx
test edx, edx
jg 0x48fd28
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
add ebx, 0x10
mov dword [ebp - 0x14], ebx
jmp 0x48fd3d
mov eax, dword [ebx - 0xc]
push eax
push ebx
lea ecx, [ebp - 0x14]
call fcn.00423f13
mov esi, dword [edi + 8]
mov edi, dword [edi + 0x10]
mov eax, dword [ebp - 0x24]
and esi, 0xfffffff
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x28], 0
cmp esi, 0x3fd8
jbe 0x48fe02
mov ecx, dword [ebp + 0xc]
mov edi, eax
mov eax, dword [edi + 4]
lea edx, [eax + ecx + 4]
push esi
mov dword [ebp - 0x40], edx
call fcn.004ac152
mov dword [ebp - 0x28], eax
xor eax, eax
add esp, 4
xor ebx, ebx
cmp ax, word [edi + 2]
jge 0x48fdfc
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, 0x3fd8
sub eax, edi
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x2c], esi
jae 0x48fdfc
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + ebx*4]
mov eax, dword [ebp + 0xc]
lea ecx, [edx + eax + 4]
mov edx, dword [ebp - 0x44]
lea eax, [edi + edx]
cmp eax, esi
jae 0x48fdba
mov eax, 0x3fd8
jmp 0x48fdd8
mov eax, 0xa0643f
mul esi
mov eax, esi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0xd
mov edx, eax
imul edx, edx, 0x3fd8
mov eax, esi
sub eax, edx
push eax
push ecx
push edi
call fcn.004abb70
mov eax, dword [ebp - 0x24]
movsx ecx, word [eax + 2]
add dword [ebp - 0x2c], 0x3fd8
inc ebx
add esp, 0xc
add edi, 0x3fd8
cmp ebx, ecx
jl 0x48fd97
mov eax, dword [ebp - 0x28]
mov edi, dword [ebp - 0x48]
mov ecx, dword [ebp + 0x14]
cmp ecx, 1
jne 0x48fe76
mov edx, dword [ebp - 0x38]
push esi
mov esi, dword [ebp - 0x14]
push eax
push edi
push 0
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x48fe48
push ecx
mov ecx, dword [ebp + 8]
mov eax, esp
mov dword [ebp - 0x48], esp
push esi
push ecx
push edi
push str.Preparing_RegValue__d_:__s:__s
push eax
call fcn.00466a00
add esp, 0x14
call fcn.0048f580
add esp, 4
jmp 0x490039
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
mov edx, esp
mov dword [ebp - 0x48], esp
push eax
mov eax, dword [ebp + 8]
push esi
push eax
push edi
push str._Failed_setting_RegValue__d_:__s:__s__LE_d
push edx
call fcn.00466a00
add esp, 0x18
call fcn.0048f580
add esp, 4
jmp 0x490039
test ecx, ecx
jne 0x490039
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
push ecx
push edx
push edi
lea eax, [ebp - 0x30]
push str.__.2d___ws:__ws
push eax
call fcn.00466a00
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x4c]
push 0x4da130
push edx
mov byte [ebp - 4], 0xe
call fcn.004236c3
add esp, 0x20
mov byte [ebp - 4], 0xf
mov ebx, dword [eax]
call fcn.0049d1fb
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x48f62f
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x24], edi
mov byte [ebp - 4], 0x10
test ebx, ebx
je 0x48ff6c
test ebx, 0xffff0000
jne 0x48ff0e
movzx esi, bx
push esi
call fcn.004a5121
test eax, eax
je 0x48ffb9
push esi
push eax
lea ecx, [ebp - 0x24]
call fcn.00424abe
mov edi, dword [ebp - 0x24]
jmp 0x48ffb9
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
dec esi
test esi, esi
jle 0x48ff6c
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, esi
or eax, ecx
jge 0x48ff47
push esi
lea ecx, [ebp - 0x24]
call fcn.00424b6c
mov edi, dword [ebp - 0x24]
push 0
push 0
push esi
push edi
push 0xffffffffffffffff
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp esi, dword [edi - 8]
jg 0x48f71f
mov dword [edi - 0xc], esi
mov byte [esi + edi], 0
jmp 0x48ffb9
cmp dword [edi - 0xc], 0
mov esi, dword [edi - 0x10]
lea eax, [edi - 0x10]
je 0x48ffb9
cmp dword [eax + 0xc], 0
lea ecx, [eax + 0xc]
jge 0x48ff97
cmp dword [edi - 8], 0
jl 0x48f71f
mov dword [edi - 0xc], 0
mov byte [edi], 0
jmp 0x48ffb9
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48ffad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
lea edi, [eax + 0x10]
push edi
mov byte [ebp - 4], 0xf
call fcn.004b0ea4
add edi, 0xfffffff0
add esp, 4
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48ffe2
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x490005
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x30]
push ecx
push str.RegDump
call fcn.004643c0
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
add esp, 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x490039
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x490049
push eax
call fcn.004ac035
add esp, 4
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49006c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x49008f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x50]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4900b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp + 0x10]
inc eax
mov dword [ebp - 0x34], eax
cmp eax, dword [ecx + 0x28]
jb 0x48fba4
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x4900d6
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x20]
cmp eax, 0xffffffff
je 0x48fa5e
add eax, edi
xor ecx, ecx
xor edx, edx
cmp dx, word [eax + 6]
mov dword [ebp + 0x10], eax
mov dword [ebp - 0x28], ecx
jge 0x48fa5e
add eax, 8
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x49011c
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x48fa5e
mov eax, dword [ebp - 0x2c]
mov ebx, dword [eax]
mov esi, dword [ebp + 0x10]
add ebx, dword [ebp + 0xc]
add esi, 4
call fcn.0049d1fb
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x48f62f
test esi, esi
je 0x48f71f
mov edx, dword [eax]
push 1
mov ecx, eax
mov eax, dword [edx]
push 2
call eax
test eax, eax
je 0x4903f7
cmp dword [eax + 8], 2
lea edi, [eax + 0x10]
mov dword [ebp - 0x3c], edi
jl 0x48f71f
push 2
push esi
push 2
mov dword [edi - 0xc], 2
push edi
mov byte [edi + 2], 0
call fcn.004ab372
add esp, 0x10
mov ecx, dword [ebp + 0x10]
mov byte [ebp - 4], 0x11
mov al, byte [ecx + 5]
cmp al, 0x66
je 0x4902b2
cmp al, 0x68
je 0x4902b2
push 0x4f2184
push edi
call fcn.004b112a
xor ecx, ecx
add esp, 8
cmp eax, ecx
sete al
test al, al
jne 0x4902b2
xor edx, edx
cmp dx, word [ebx + 6]
mov dword [ebp - 0x34], ecx
jge 0x4903b4
mov dword [ebp - 0x30], ecx
lea esp, [esp]
mov eax, dword [ebp - 0x3c]
push 0x4f21a0
push eax
call fcn.004b112a
add esp, 8
test eax, eax
sete al
test al, al
je 0x4901f4
mov eax, dword [ebp - 0x30]
jmp 0x4901fb
call fcn.00421588
mov eax, dword [ebp - 0x34]
add eax, eax
add eax, eax
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x20]
mov esi, dword [ebp + 8]
push ecx
mov ecx, dword [ebp + 0x1c]
push edx
mov edx, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp + 0x18]
inc ecx
push ecx
mov ecx, dword [ebx + eax + 8]
mov eax, dword [ebp + 0xc]
push edx
add ecx, eax
push ecx
push eax
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
mov dword [ebp - 0x50], esp
mov dword [ebp - 0x50], esp
call eax
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
jl 0x49024c
cmp eax, dword [esi]
jne 0x49024c
mov edi, esi
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x490283
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x4901ef
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.004ab372
add esp, 0x10
mov ecx, dword [ebp - 0x50]
add edi, 0x10
mov dword [ecx], edi
call fcn.0048f5f0
mov eax, dword [ebp - 0x34]
movsx edx, word [ebx + 6]
add dword [ebp - 0x30], 8
inc eax
add esp, 0x20
cmp eax, edx
mov dword [ebp - 0x34], eax
jl 0x4901d0
mov edi, dword [ebp - 0x3c]
jmp 0x4903b4
push 0x4f2184
push edi
call fcn.004b112a
add esp, 8
test eax, eax
sete al
test al, al
je 0x4902f2
mov eax, dword [ebp + 0x10]
movsx ecx, word [eax + 6]
mov eax, dword [ebp - 0x28]
push ecx
mov edx, esp
mov dword [ebp - 0x50], esp
push ecx
push eax
push edi
push str._hs:__d__d
push edx
call fcn.00466a00
add esp, 0x14
call fcn.0048f580
add esp, 4
push 0x4f2184
push edi
call fcn.004b112a
add esp, 8
test eax, eax
sete al
test al, al
je 0x490312
mov eax, dword [ebp - 0x28]
add eax, eax
add eax, eax
jmp 0x490315
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x20]
mov esi, dword [ebp + 8]
push ecx
mov ecx, dword [ebp + 0x1c]
push edx
mov edx, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 0x14]
inc edx
push edx
mov edx, dword [ebp + 0x10]
push ecx
mov ecx, dword [edx + eax + 8]
mov eax, dword [ebp + 0xc]
add ecx, eax
push ecx
push eax
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
mov dword [ebp - 0x50], esp
mov dword [ebp - 0x50], esp
call eax
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
jl 0x490369
cmp eax, dword [esi]
jne 0x490369
mov ebx, esi
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x4903a4
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x4901ef
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.004ab372
add esp, 0x10
mov ecx, dword [ebp - 0x50]
add ebx, 0x10
mov dword [ecx], ebx
call fcn.0048f5f0
add esp, 0x20
add edi, 0xfffffff0
mov byte [ebp - 4], 5
lea edx, [edi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x4903d4
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x28]
movsx edx, word [ecx + 6]
add dword [ebp - 0x2c], 4
add dword [ebp - 0x24], 8
inc eax
cmp eax, edx
mov dword [ebp - 0x28], eax
jl 0x490104
jmp 0x48fa5e
call fcn.00421588
or esi, edi
dec eax
add byte [esi], al
test dword [eax], case.0x48f8fc.1
add edi, ecx
dec eax
add byte [eax], al
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ecx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [eax]
lea ecx, [ecx]
or cl, bh
dec eax
add byte [esi], al
test dword [eax], case.0x48f8fc.1
add edi, ecx
dec eax
add byte [eax], al
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ecx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [eax]
int3