Function at 0x473db0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d5ea0
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x6619c4]
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 edi, edx
mov dword [ebp - 0x7c], edi
push str..pdf
lea ecx, [ebp - 0x74]
call fcn.00406970
push eax
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 0
call fcn.0046f1b0
add esp, 4
mov byte [ebp - 4], 2
or eax, 0xffffffff
mov edx, dword [ebp - 0x74]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x473e1f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x473e24
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push edi
push 1
push 0x62f864
push dword [ebp - 0x78]
push reloc.WS2_32.dll_accept
call esi
call fcn.00473a80
test eax, eax
je 0x473e5f
mov edx, edi
call fcn.00473cc0
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x473e64
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push edi
push 1
push 0x62f864
push dword [ebp - 0x78]
push reloc.WS2_32.dll_accept
call esi
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
mov byte [ebp - 4], 3
test edi, edi
je 0x473eb3
lea eax, [ebp - 0x70]
mov edx, edi
push eax
call fcn.00496cd0
add esp, 4
call fcn.00402bb0
mov ecx, eax
test ecx, ecx
jne 0x473ec8
push 0x80004005
call fcn.00402480
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 4
mov ebx, 0x631720
nop dword [eax]
push str..pdf
push dword [ebx]
lea eax, [ebp - 0x74]
push eax
call fcn.00408880
mov esi, dword [ebp - 0x74]
add esp, 8
mov edx, esi
call fcn.004709e0
xor eax, eax
mov dword [ebp - 0x44], 7
add esp, 4
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
cmp word [edi], ax
jne 0x473f1d
xor ecx, ecx
jmp 0x473f31
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x473f22
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x58]
call fcn.00407250
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
push 6
xor eax, eax
mov dword [ebp - 0x2c], 7
push str.ProgId
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00407250
mov byte [ebp - 4], 6
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [esi], ax
jne 0x473f83
xor ecx, ecx
jmp 0x473f9f
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x473f90
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.00407250
push ecx
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x40]
push eax
lea edx, [ebp - 0x28]
call fcn.00470d80
mov eax, dword [ebp - 0x14]
add esp, 0xc
cmp eax, 8
jb 0x473fd6
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004086c0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x473fff
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004086c0
xor eax, eax
mov byte [ebp - 4], 4
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x47402c
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004086c0
cmp dword [ebp - 0x5c], 8
lea edx, [ebp - 0x70]
mov dword [ebp - 0x44], 7
cmovae edx, dword [ebp - 0x70]
xor eax, eax
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
cmp word [edx], ax
jne 0x474054
xor ecx, ecx
jmp 0x474072
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x474060
sub ecx, edi
mov edi, dword [ebp - 0x7c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.00407250
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28]
push 4
xor eax, eax
mov dword [ebp - 0x14], 7
push str.Hash
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00407250
mov byte [ebp - 4], 9
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp word [esi], ax
jne 0x4740c4
xor ecx, ecx
jmp 0x4740df
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4740d0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.00407250
push ecx
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x28]
push eax
lea edx, [ebp - 0x40]
call fcn.00470d80
mov eax, dword [ebp - 0x2c]
add esp, 0xc
cmp eax, 8
jb 0x474116
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004086c0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x47413f
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004086c0
xor eax, eax
mov byte [ebp - 4], 4
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x47416c
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004086c0
xor eax, eax
mov dword [ebp - 0x44], 7
add ebx, 4
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
cmp ebx, 0x631730
jl 0x473ee0
or ebx, 0xffffffff
mov byte [ebp - 4], 3
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4741ad
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x4741c2
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.004086c0
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x5c], 7
add edx, 0xfffffff0
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4741f5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.0058995a
mov esp, ebp
pop ebp
ret