Function at 0x100041f0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003a674
mov eax, dword fs:[0]
push eax
sub esp, 0x104
mov eax, dword [0x1004a258]
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 dword [ebp - 0xd8], ecx
mov eax, dword [ebp + 0xc]
push str.PCAPro
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0xf0], eax
call fcn.10001ac0
mov esi, eax
mov edx, dword [0x1004a118]
mov ecx, 0x1004a118
mov dword [ebp - 4], 0
call dword [edx + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0xc8], edi
push str.Software_
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0xf8]
push eax
mov byte [ebp - 4], 1
call fcn.10003c50
push esi
push eax
lea eax, [ebp - 0xe4]
push eax
mov byte [ebp - 4], 2
call fcn.10003b90
add esp, 0x18
mov edx, dword [ebp - 0xf8]
add edx, 0xfffffff0
or ebx, 0xffffffff
mov byte [ebp - 4], 4
lea ecx, [edx + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x100042b4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [edi - 0x10]
mov byte [ebp - 4], 5
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100042d1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xf4]
add edx, 0xfffffff0
mov byte [ebp - 4], 6
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100042f4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0xd8]
add edi, 0x4198
mov dword [ebp - 0xdc], 1
mov eax, dword [edi]
mov dword [ebp - 0xe0], 0x104
cmp dword [eax - 0xc], 0
mov dword [ebp - 0xd0], 0
jne 0x10004428
mov eax, dword [0x1004a118]
mov ecx, 0x1004a118
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0xcc], esi
mov edx, dword [ebp - 0xe0]
mov byte [ebp - 4], 7
test edx, edx
jns 0x10004358
push 0x80070057
call fcn.10003e70
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x1000437b
push edx
lea ecx, [ebp - 0xcc]
call fcn.10006cd0
mov esi, dword [ebp - 0xcc]
lea eax, [ebp - 0xe0]
push eax
push esi
lea eax, [ebp - 0xdc]
push eax
push dword [ebp - 0xf0]
push dword [ebp - 0xe4]
push connect
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push dword [esi - 8]
mov dword [ebp - 0xc8], eax
push esi
call fcn.1000d6a5
add esp, 8
test eax, eax
js 0x1000434e
cmp eax, dword [esi - 8]
jg 0x1000434e
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [ebp - 0xc8], ecx
je 0x100043d9
mov dword [ebp - 0xd0], 1
jmp 0x1000440b
push esi
push 0x1003cb68
push edi
call fcn.10005360
push dword [esi - 8]
push esi
call fcn.1000d6a5
add esp, 0x14
test eax, eax
js 0x1000434e
cmp eax, dword [esi - 8]
jg 0x1000434e
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
add esi, 0xfffffff0
mov byte [ebp - 4], 6
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10004428
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi]
cmp dword [eax - 0xc], 0xc
jl 0x100045ed
push 4
push 0
lea eax, [ebp - 0xd4]
push eax
mov ecx, edi
call fcn.10006c20
push 2
push 4
lea eax, [ebp - 0xcc]
push eax
mov ecx, edi
mov byte [ebp - 4], 8
call fcn.10006c20
push 2
push 6
lea eax, [ebp - 0x100]
push eax
mov ecx, edi
mov byte [ebp - 4], 9
call fcn.10006c20
push 2
push 8
lea eax, [ebp - 0xfc]
push eax
mov ecx, edi
mov byte [ebp - 4], 0xa
call fcn.10006c20
push 2
push 0xa
lea eax, [ebp - 0xc8]
push eax
mov ecx, edi
mov byte [ebp - 4], 0xb
call fcn.10006c20
mov esi, dword [ebp - 0xc8]
mov ebx, dword [sym.imp.SHLWAPI.dll_StrToIntW]
push 0xffffffffffffffff
push 0
push esi
mov byte [ebp - 4], 0xc
call ebx
mov edi, dword [ebp - 0xfc]
push eax
push edi
call ebx
mov ebx, dword [ebp - 0x100]
push eax
push ebx
call dword [sym.imp.SHLWAPI.dll_StrToIntW]
push eax
push dword [ebp - 0xcc]
call dword [sym.imp.SHLWAPI.dll_StrToIntW]
push eax
push dword [ebp - 0xd4]
call dword [sym.imp.SHLWAPI.dll_StrToIntW]
push eax
lea ecx, [ebp - 0x108]
call fcn.100031b0
push 0
call fcn.1000eb02
add esp, 4
lea ecx, [ebp - 0x110]
push 0
push dword [ebp + 8]
mov dword [ebp - 0xc8], eax
push 0
push 0
mov dword [ebp - 0xe8], edx
call fcn.100032b0
mov edx, dword [ebp - 0xc8]
sub edx, dword [eax]
mov ecx, dword [ebp - 0xe8]
sbb ecx, dword [eax + 4]
cmp ecx, dword [ebp - 0x104]
jl 0x1000454a
jg 0x10004540
cmp edx, dword [ebp - 0x108]
jbe 0x1000454a
mov dword [ebp - 0xd0], 1
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov byte [ebp - 4], 0xb
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x1000456a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [ebp - 4], 0xa
lea eax, [edi + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10004587
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebx - 0x10]
or ebx, 0xffffffff
mov byte [ebp - 4], 9
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100045a7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xcc]
add edx, 0xfffffff0
mov byte [ebp - 4], 8
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100045ca
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xd4]
add edx, 0xfffffff0
mov byte [ebp - 4], 6
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100045ed
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0xd0]
test edi, edi
je 0x1000488a
push 0
mov dword [ebp - 0xdc], 1
call fcn.1000eb02
mov dword [ebp - 0xec], eax
mov eax, dword [0x1004a118]
add esp, 4
mov ecx, 0x1004a118
mov dword [ebp - 0xe8], edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xc8], eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0xd
call fcn.10006120
test eax, eax
je 0x10004653
mov esi, dword [eax + 4]
mov dword [ebp - 0xd4], esi
jmp 0x1000465d
mov dword [ebp - 0xd4], 0xffffffff
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0xec]
call fcn.10006120
test eax, eax
je 0x1000467b
mov esi, dword [eax + 8]
mov dword [ebp - 0xcc], esi
jmp 0x10004685
mov dword [ebp - 0xcc], 0xffffffff
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0xec]
call fcn.10006120
test eax, eax
je 0x100046a0
mov edi, dword [eax + 0xc]
jmp 0x100046a2
xor edi, edi
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0xec]
call fcn.10006120
test eax, eax
je 0x100046bb
mov esi, dword [eax + 0x10]
inc esi
jmp 0x100046bd
xor esi, esi
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0xec]
call fcn.10006120
test eax, eax
je 0x100046dd
mov eax, dword [eax + 0x14]
add eax, 0x76c
jmp 0x100046df
xor eax, eax
push dword [ebp - 0xd4]
push dword [ebp - 0xcc]
push edi
push esi
push eax
lea eax, [ebp - 0xc8]
push str._4.4d_2.2d_2.2d_2.2d_2.2d
push eax
call fcn.10005360
mov edi, dword [ebp - 0xc8]
mov esi, dword [ebp - 0xd8]
push edi
lea eax, [esi + 0x4198]
push 0x1003cb68
push eax
call fcn.10005360
mov eax, dword [edi - 0xc]
add esp, 0x28
add eax, eax
push eax
push edi
push dword [ebp - 0xdc]
push dword [ebp - 0xf0]
push dword [ebp - 0xe4]
push connect
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
je 0x10004787
cmp dword [esi + 0x4194], 8
lea eax, [esi + 0x4180]
jb 0x10004759
mov eax, dword [eax]
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x10004841
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10004841
mov eax, dword [0x1004a118]
mov ecx, 0x1004a118
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0xd8], esi
mov ecx, dword [ebp - 0xe0]
mov byte [ebp - 4], 0xe
test ecx, ecx
jns 0x100047b5
push 0x80070057
call fcn.10003e70
mov eax, dword [esi - 8]
mov edx, 1
sub edx, dword [esi - 4]
sub eax, ecx
or eax, edx
jge 0x100047d8
push ecx
lea ecx, [ebp - 0xd8]
call fcn.10006cd0
mov esi, dword [ebp - 0xd8]
lea eax, [ebp - 0xe0]
push eax
push esi
lea eax, [ebp - 0xdc]
push eax
push dword [ebp - 0xf0]
push dword [ebp - 0xe4]
push connect
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push dword [esi - 8]
push esi
call fcn.1000d6a5
add esp, 8
test eax, eax
js 0x1000434e
cmp eax, dword [esi - 8]
jg 0x1000434e
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
add esi, 0xfffffff0
mov byte [ebp - 4], 0xd
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10004841
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push dword [edi - 8]
push edi
call fcn.1000d6a5
add esp, 8
test eax, eax
js 0x1000434e
cmp eax, dword [edi - 8]
jg 0x1000434e
mov dword [edi - 0xc], eax
xor ecx, ecx
mov word [edi + eax*2], cx
add edi, 0xfffffff0
mov byte [ebp - 4], 6
lea eax, [edi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10004884
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0xd0]
mov esi, dword [ebp - 0xe4]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x100048ae
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
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.1000eb51
mov esp, ebp
pop ebp
ret 8