Function at 0x438c40
Capabilities:
Delete registry value
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x78
push 0xffffffffffffffff
push 0x56194d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x620
mov al, byte [0x59ecda]
push ebx
push esi
push edi
sub esp, 0x18
mov byte [ebp + 0x74], al
mov ecx, esp
push 0x2d
push str.SoftwareMicrosoftWindowsCurrentVersionRun
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00424490
lea ecx, [ebp + 0x6c]
call fcn.00437680
add esp, 0x18
mov dword [ebp - 4], 0
mov edx, dword [eax]
mov ecx, edx
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x438cc1
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x24]
call fcn.00424490
mov byte [ebp - 4], 2
or ebx, 0xffffffff
mov edx, dword [ebp + 0x6c]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x438cfb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
sub esp, 0x18
mov ecx, esp
push 5
push str.PCApp
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00424490
lea ecx, [ebp + 0x54]
call fcn.00437680
add esp, 0x18
mov byte [ebp - 4], 3
mov edx, dword [eax]
mov ecx, edx
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x28], 0
mov dword [ebp + 0x2c], 0
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x438d50
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp + 0x18]
call fcn.00424490
mov byte [ebp - 4], 5
mov eax, ebx
mov edx, dword [ebp + 0x54]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x438d87
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x104
lea eax, [ebp - 0x22c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp + 0x58]
push eax
push 0xf003f
push 0
sub esp, 0x18
lea eax, [ebp - 0x24]
mov ecx, esp
push eax
call fcn.00424b70
lea ecx, [ebp + 0x6c]
call fcn.00437900
add esp, 0x18
push dword [eax]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edx, dword [ebp + 0x6c]
mov esi, eax
add edx, 0xfffffff0
mov ecx, ebx
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x438de8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
jne 0x439329
sub esp, 0x18
mov dword [ebp + 0x30], 0x200
lea eax, [ebp + 0x18]
mov ecx, esp
push eax
call fcn.00424b70
lea ecx, [ebp + 0x6c]
call fcn.00437900
add esp, 0x18
lea ecx, [ebp + 0x30]
push ecx
lea ecx, [ebp - 0x62c]
push ecx
push esi
push esi
push dword [eax]
push dword [ebp + 0x58]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp + 0x6c]
mov esi, eax
add edx, 0xfffffff0
mov ecx, ebx
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x438e44
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x4392da
cmp byte [ebp + 0x74], 0
je 0x43931c
sub esp, 0x18
mov ecx, esp
push 5
push 0x5773b8
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00424490
lea ecx, [ebp + 0x6c]
call fcn.00437680
add esp, 0x18
mov byte [ebp - 4], 6
mov edx, dword [eax]
mov ecx, edx
mov dword [ebp], 0
mov dword [ebp + 0x10], 0
mov dword [ebp + 0x14], 0
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x438ea6
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp]
call fcn.00424490
mov edx, dword [ebp + 0x6c]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x438ed9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 9
call fcn.00424e20
mov ecx, eax
test ecx, ecx
je 0x4393af
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0x6c], eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp + 0x34]
push 0
push 0x57ece0
mov dword [ebp + 0x34], 0
mov dword [ebp + 0x44], 0
mov dword [ebp + 0x48], 0
call fcn.00424490
lea ecx, [ebp + 0x34]
mov byte [ebp - 4], 0xb
call fcn.004393f0
test al, al
jne 0x439170
sub esp, 0x18
mov ecx, esp
push 7
push str.product
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00424490
lea ecx, [ebp + 0x54]
call fcn.00437680
mov ecx, esp
mov byte [ebp - 4], 0xc
push 0x11
push str.app_param_changed
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00424490
lea ecx, [ebp + 0x50]
call fcn.00437680
add esp, 0x18
mov byte [ebp - 4], 0xd
call fcn.00424e20
mov ecx, eax
test ecx, ecx
je 0x4393b9
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0x5c], eax
push 0x57ece0
lea ecx, [ebp + 0x5c]
mov byte [ebp - 4], 0xe
call fcn.00425090
test al, al
jne 0x438fd3
push 0
push 0x57ece0
lea ecx, [ebp + 0x5c]
call fcn.00425360
mov byte [ebp - 4], 0xf
call fcn.00424e20
mov ecx, eax
test ecx, ecx
je 0x4393c3
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0x60], eax
push 0x57ece0
lea ecx, [ebp + 0x60]
mov byte [ebp - 4], 0x10
call fcn.00425090
test al, al
jne 0x439015
push 0
push 0x57ece0
lea ecx, [ebp + 0x60]
call fcn.00425360
mov byte [ebp - 4], 0x11
call fcn.00424e20
mov ecx, eax
test ecx, ecx
je 0x4393cd
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0x64], eax
push 0x57ece0
lea ecx, [ebp + 0x64]
mov byte [ebp - 4], 0x12
call fcn.00425090
test al, al
jne 0x439057
push 0
push 0x57ece0
lea ecx, [ebp + 0x64]
call fcn.00425360
push ecx
mov byte [ebp - 4], 0x13
mov esi, esp
mov ecx, dword [ebp + 0x50]
mov dword [ebp + 0x68], esi
lea ecx, [ecx - 0x10]
call fcn.00425550
add eax, 0x10
lea ecx, [ebp + 0x70]
mov dword [esi], eax
call fcn.00437b50
mov edi, eax
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp + 0x54]
add ecx, 0xfffffff0
mov dword [ebp + 0x68], esi
call fcn.00425550
add eax, 0x10
lea ecx, [ebp + 0x4c]
mov dword [esi], eax
call fcn.00437b50
lea ecx, [ebp + 0x5c]
mov byte [ebp - 4], 0x15
push ecx
lea ecx, [ebp + 0x60]
mov edx, edi
push ecx
lea ecx, [ebp + 0x64]
push ecx
mov ecx, eax
call fcn.004470d0
mov edx, dword [ebp + 0x4c]
add esp, 0x10
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4390d0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0x70]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4390ea
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0x64]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x439104
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0x60]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43911e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0x5c]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x439138
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0x50]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x439152
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xb
mov eax, ebx
mov edx, dword [ebp + 0x54]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x439170
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp + 0x48], 8
lea esi, [ebp + 0x34]
lea eax, [ebp]
cmovae esi, dword [ebp + 0x34]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00424b70
lea ecx, [ebp + 0x70]
call fcn.00437900
push esi
mov byte [ebp - 4], 0x16
push dword [eax]
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp + 0x6c]
push str.__ws___ws__ws
push eax
call fcn.0041a6d0
mov byte [ebp - 4], 0xb
add esp, 0x2c
mov edx, dword [ebp + 0x70]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4391ce
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp + 0x6c]
mov edi, esi
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x4391d6
sub esp, 0x18
lea eax, [ebp + 0x18]
sub edi, ecx
mov ecx, esp
sar edi, 1
push eax
call fcn.00424b70
lea ecx, [ebp + 0x70]
call fcn.00437900
add esp, 0x18
lea ecx, [edi + edi]
push ecx
push esi
push 1
push 0
push dword [eax]
push dword [ebp + 0x58]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp + 0x70]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43922c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp + 0x48]
cmp ecx, 8
jb 0x439266
mov edx, dword [ebp + 0x34]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x43925c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4393d7
push ecx
push edx
call fcn.00532241
add esp, 8
xor eax, eax
mov dword [ebp + 0x44], 0
mov dword [ebp + 0x48], 7
add esi, 0xfffffff0
mov word [ebp + 0x34], ax
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x43928f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp + 0x14]
cmp ecx, 8
jb 0x43931c
mov edx, dword [ebp]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4392c3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4393d7
push ecx
push edx
call fcn.00532241
add esp, 8
push dword [ebp + 0x58]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, 1
jmp 0x43932b
cmp byte [ebp + 0x74], 0
jne 0x43931c
sub esp, 0x18
lea eax, [ebp + 0x18]
mov ecx, esp
push eax
call fcn.00424b70
lea ecx, [ebp + 0x70]
call fcn.00437900
add esp, 0x18
push dword [eax]
push dword [ebp + 0x58]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edx, dword [ebp + 0x70]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x43931c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp + 0x58]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, 1
jmp 0x43932b
xor bl, bl
mov ecx, dword [ebp + 0x2c]
cmp ecx, 8
jb 0x439365
mov edx, dword [ebp + 0x18]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x43935b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4393dc
push ecx
push edx
call fcn.00532241
add esp, 8
mov ecx, dword [ebp - 0x10]
cmp ecx, 8
jb 0x43939b
mov edx, dword [ebp - 0x24]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x439391
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4393dc
push ecx
push edx
call fcn.00532241
add esp, 8
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
lea esp, [ebp + 0x78]
pop ebp
ret
push 0x80004005
call fcn.00425520
push 0x80004005
call fcn.00425520
push 0x80004005
call fcn.00425520
push 0x80004005
call fcn.00425520
call fcn.005370ef
call fcn.005370ef
int3