Function at 0x42ab60
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cdec2
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x667ce0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x264], ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x258], 0
call fcn.005a2240
add esp, 0xc
mov dword [ebp - 0x238], 0
xor eax, eax
mov dword [ebp - 0x234], 7
lea ecx, [ebp - 0x248]
mov word [ebp - 0x248], ax
push 1
push 0x5d8354
call fcn.00403240
push 0x24
push 0x5d8358
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0
call fcn.00405a30
push 1
push 0x5d83a4
lea ecx, [ebp - 0x248]
call fcn.00405a30
cmp dword [ebp - 0x234], 8
lea ecx, [ebp - 0x24c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push 0
push ecx
push 0
push 0xf013f
push 0
push 0
push 0
push eax
push esi
call edi
test eax, eax
jne 0x42ada4
push 2
push 0x5d83a8
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.00403240
push 0xa
push str.BKStPDFCah
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 1
call fcn.00405a30
push 6
push str._Class
lea ecx, [ebp - 0x230]
call fcn.00405a30
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x230]
lea edx, [ebp - 0x218]
cmovae ecx, dword [ebp - 0x230]
sub edx, ecx
nop dword [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x42acf0
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42ad10
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0
push 0x656858
push dword [ebp - 0x24c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, 0x13
lea edi, [ebp - 0x218]
mov esi, str.1A00EC99_6FFA_46D7_B489_73E285C3B78D
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
movsw word es:[edi], word [esi]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42ad60
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0
push str.AppID
push dword [ebp - 0x24c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0
call fcn.00402fe0
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov eax, dword [ebp - 0x24c]
test eax, eax
je 0x42b251
push 0
lea ecx, [ebp - 0x250]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.InprocServer32
push eax
call edi
test eax, eax
jne 0x42aecd
mov esi, dword [ebp - 0x264]
lea ecx, [ebp - 0x230]
push esi
call fcn.00403d20
cmp dword [esi + 0x44], 8
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
jb 0x42adfa
mov ecx, dword [esi + 0x30]
push dword [esi + 0x40]
push ecx
lea ecx, [ebp - 0x230]
call fcn.00405a30
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x230]
lea edx, [ebp - 0x218]
cmovae ecx, dword [ebp - 0x230]
sub edx, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x42ae25
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42ae40
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0
push 0x656858
push dword [ebp - 0x250]
call esi
movups xmm0, xmmword [str.Apartment]
mov eax, dword [0x5d81c8]
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x208], eax
lea edx, [ecx + 2]
movups xmmword [ebp - 0x218], xmm0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42ae93
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0
push str.ThreadingModel
push dword [ebp - 0x250]
call esi
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0
call fcn.00402fe0
push 0
lea eax, [ebp - 0x254]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.ProgID
push dword [ebp - 0x24c]
call edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x42aff6
push 0xa
xor eax, eax
mov dword [ebp - 0x220], 0
push str.BKStPDFCah
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.00403240
push 1
push 0x5d6b30
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 3
call fcn.00405a30
push 2
push 0x5d83a8
lea ecx, [ebp - 0x230]
call fcn.00405a30
push 0xa
push str.BKStPDFCah
lea ecx, [ebp - 0x230]
call fcn.00405a30
push 2
push 0x5d8444
lea ecx, [ebp - 0x230]
call fcn.00405a30
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x230]
lea edx, [ebp - 0x218]
cmovae ecx, dword [ebp - 0x230]
sub edx, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x42af95
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42afb0
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0
push 0x656858
push dword [ebp - 0x254]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x254]
call esi
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0
call fcn.00402fe0
push 0
lea eax, [ebp - 0x260]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.Programmable
push dword [ebp - 0x24c]
call edi
push 0
lea eax, [ebp - 0x25c]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.TypeLib
push dword [ebp - 0x24c]
call edi
test eax, eax
jne 0x42b10e
push 1
push 0x5d8354
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.00403240
push 0x24
push str.38E7EB26_8E21_44E2_868D_79AB43659F97
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 4
call fcn.00405a30
push 1
push 0x5d83a4
lea ecx, [ebp - 0x230]
call fcn.00405a30
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x230]
lea edx, [ebp - 0x218]
cmovae ecx, dword [ebp - 0x230]
sub edx, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x42b0b1
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42b0d0
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0
push 0x656858
push dword [ebp - 0x25c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0
call fcn.00402fe0
push 0
lea eax, [ebp - 0x258]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.VersionIndependentProgID
push dword [ebp - 0x24c]
call edi
test eax, eax
jne 0x42b222
push 0xa
push str.BKStPDFCah
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.00403240
push 1
push 0x5d6b30
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 5
call fcn.00405a30
push 2
push 0x5d83a8
lea ecx, [ebp - 0x230]
call fcn.00405a30
push 0xa
push str.BKStPDFCah
lea ecx, [ebp - 0x230]
call fcn.00405a30
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x230]
lea edx, [ebp - 0x218]
cmovae ecx, dword [ebp - 0x230]
sub edx, ecx
nop dword [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ecx + edx - 2], ax
test ax, ax
jne 0x42b1c0
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42b1e0
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0
push 0x656858
push dword [ebp - 0x258]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x258]
call esi
lea ecx, [ebp - 0x230]
call fcn.00402fe0
mov eax, dword [ebp - 0x25c]
test eax, eax
je 0x42b22f
push eax
call esi
mov eax, dword [ebp - 0x260]
test eax, eax
je 0x42b23c
push eax
call esi
mov eax, dword [ebp - 0x250]
test eax, eax
je 0x42b249
push eax
call esi
push dword [ebp - 0x24c]
call esi
mov edx, dword [ebp - 0x234]
cmp edx, 8
jb 0x42b28d
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42b283
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42b2aa
push edx
push ecx
call fcn.0059c9cd
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0059cf09
mov esp, ebp
pop ebp
ret 4
call fcn.005a57f9
int3