Function at 0x43ccbf
Capabilities:
Encode data using xor
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
push ecx
mov edi, edx
mov dword [ebp - 8], ecx
push 3
push 0x48f4a4
mov ecx, edi
mov dword [ebp - 0x18], edi
call fcn.0043a719
mov esi, eax
test esi, esi
je 0x43d4c3
mov ecx, dword [esi + 4]
test ecx, ecx
jne 0x43ccf5
mov ecx, 0x491414
push 0x5c
push ecx
call dword [sym.imp.SHLWAPI.dll_StrChrW]
mov ebx, eax
test ebx, ebx
je 0x43d4c3
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], 0x2001f
cmp dword [eax + 0x10], 0
je 0x43cd4e
push ecx
push 5
push str.Wow64
mov ecx, edi
call fcn.0043a719
test eax, eax
je 0x43cd4e
mov eax, dword [eax + 4]
test eax, eax
jne 0x43cd37
mov eax, 0x491414
push 0x48f7a0
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x43cd4e
mov dword [ebp - 0x10], 0x2021f
and dword [ebp - 4], 0
mov ecx, dword [esi + 4]
mov eax, ecx
test ecx, ecx
jne 0x43cd62
mov eax, 0x491414
mov ecx, eax
mov edx, ebx
sub edx, eax
sar edx, 1
call fcn.0041f0df
mov edx, dword [ebp - 8]
lea ecx, [ebp - 4]
push 0
push ecx
push dword [ebp - 0x10]
mov edx, dword [edx + 0x48]
lea ecx, [ebx + 2]
push ecx
push eax
push edx
mov esi, dword [edx]
call dword [esi + 0x10]
mov ebx, eax
test ebx, ebx
jne 0x43d4b7
push ecx
push 4
push 0x48f600
mov ecx, edi
call fcn.0043a719
mov dword [ebp - 0x20], eax
test eax, eax
je 0x43d4b7
push ecx
push 5
push str.Value
mov ecx, edi
call fcn.0043a719
mov ebx, eax
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x43cdd8
push ecx
push 4
push str.Data
mov ecx, edi
call fcn.0043a719
mov esi, eax
test esi, esi
jne 0x43cde2
mov ebx, 0x80004005
jmp 0x43d4b7
mov eax, dword [esi + 4]
mov edi, eax
test eax, eax
jne 0x43cee9
and dword [ebp - 0xc], 0
mov edi, 0x491414
mov esi, dword [ebp - 0x18]
push ecx
push 3
push 0x4988f0
mov ecx, esi
call fcn.0043a719
mov dword [ebp - 0x1c], eax
call fcn.0043c5cd
push eax
lea ecx, [ebp - 0x14]
call fcn.0043ac50
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x43ce85
mov eax, dword [eax + 4]
test eax, eax
jne 0x43ce2e
mov eax, 0x491414
push 0x48f7a0
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x43ce85
lea eax, [ebp - 0x14]
push eax
push ecx
mov ecx, esp
push 0x491414
call fcn.0043b487
mov ecx, dword [ebp - 8]
mov edx, edi
call fcn.0043db72
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x43d4ac
mov edi, dword [ebp - 0x14]
cmp dword [edi - 4], 1
jle 0x43ce7c
push dword [edi - 0xc]
lea ecx, [ebp - 0x14]
call fcn.0043c727
mov edi, dword [ebp - 0x14]
mov eax, dword [edi - 0xc]
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
push ecx
push 8
push str.Operator
mov ecx, esi
call fcn.0043a719
mov ecx, dword [ebp - 0x20]
mov esi, eax
mov dword [ebp - 0x24], esi
mov ecx, dword [ecx + 4]
test ecx, ecx
jne 0x43cea8
mov ecx, 0x491414
call fcn.0043cc06
sub eax, 1
je 0x43d494
sub eax, 1
je 0x43d475
sub eax, 1
je 0x43d216
sub eax, 1
je 0x43d0e4
sub eax, 3
je 0x43d0c8
sub eax, 4
je 0x43cef4
mov ebx, 0x80004002
jmp 0x43d4ac
mov esi, dword [esi + 0xc]
mov dword [ebp - 0xc], esi
jmp 0x43cdf8
push 0x10
push 0
push edi
call dword [sym.imp.msvcrt.dll__wcstoui64]
mov edi, eax
add esp, 0xc
mov eax, edx
mov dword [ebp - 0xc], eax
test esi, esi
je 0x43d09a
mov eax, dword [esi + 4]
test eax, eax
jne 0x43cf1d
mov eax, 0x491414
push 0x49890c
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
je 0x43d097
mov eax, dword [ebx + 4]
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
test eax, eax
jne 0x43cf45
mov eax, 0x491414
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 8
push ecx
lea ecx, [ebp - 0x28]
push ecx
push edx
push 0x40
push eax
push edx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov ebx, eax
test ebx, ebx
je 0x43cfbf
cmp ebx, 2
jne 0x43d4ac
push ecx
mov ecx, dword [ebp - 0x18]
push 7
push str.Default
call fcn.0043a719
test eax, eax
jne 0x43cf9f
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 4]
test eax, eax
jne 0x43cf94
mov eax, 0x491414
push eax
push 0x498910
jmp 0x43d069
mov eax, dword [eax + 4]
test eax, eax
jne 0x43cfab
mov eax, 0x491414
push 0x10
push 0
push eax
call dword [sym.imp.msvcrt.dll__wcstoui64]
add esp, 0xc
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
mov eax, dword [esi + 4]
test eax, eax
jne 0x43cfcb
mov eax, 0x491414
mov ebx, dword [sym.imp.SHLWAPI.dll_StrCmpW]
push 0x491410
push eax
call ebx
test eax, eax
jne 0x43cfeb
mov eax, dword [ebp - 0xc]
or edi, dword [ebp - 0x28]
or eax, dword [ebp - 0x24]
jmp 0x43d09a
mov eax, dword [esi + 4]
test eax, eax
jne 0x43cff7
mov eax, 0x491414
push 0x49894c
push eax
call ebx
test eax, eax
jne 0x43d011
mov eax, dword [ebp - 0xc]
and edi, dword [ebp - 0x28]
and eax, dword [ebp - 0x24]
jmp 0x43d09a
mov eax, dword [esi + 4]
test eax, eax
jne 0x43d01d
mov eax, 0x491414
push 0x498950
push eax
call ebx
test eax, eax
jne 0x43d034
mov eax, dword [ebp - 0xc]
xor edi, dword [ebp - 0x28]
xor eax, dword [ebp - 0x24]
jmp 0x43d09a
mov eax, dword [esi + 4]
test eax, eax
jne 0x43d040
mov eax, 0x491414
push 0x498954
push eax
call ebx
test eax, eax
jne 0x43d057
add edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0xc]
adc eax, dword [ebp - 0x24]
jmp 0x43d09a
mov eax, dword [esi + 4]
test eax, eax
jne 0x43d063
mov eax, 0x491414
push eax
push 0x498958
lea eax, [ebp - 0x20]
push eax
call fcn.00449eea
add esp, 0xc
push dword [eax]
push 0x498940
push 1
call dword [sym.imp.CBSHost.dll_DismWriteLog]
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.0043c924
push 0x57
pop ebx
jmp 0x43d4ac
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 4]
test ecx, ecx
jne 0x43d0a9
mov ecx, 0x491414
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
push 8
push eax
mov dword [ebp - 0x28], edi
push 0xb
push 0
push ecx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x43d4aa
mov ecx, dword [ebx + 4]
test ecx, ecx
jne 0x43d0d4
mov ecx, 0x491414
mov eax, dword [ebp - 0xc]
lea eax, [eax*2 + 2]
push eax
push edi
push 7
jmp 0x43d0b7
push 0x10
push 0
push edi
call dword [sym.imp.msvcrt.dll_wcstoul]
add esp, 0xc
mov edi, eax
test esi, esi
je 0x43d1f9
mov eax, dword [esi + 4]
test eax, eax
jne 0x43d108
mov eax, 0x491414
push 0x49890c
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
je 0x43d1f9
and dword [ebp - 8], 0
mov edx, dword [ebx + 4]
test edx, edx
jne 0x43d12c
mov edx, 0x491414
mov ecx, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
call fcn.0044cc98
mov ebx, eax
pop ecx
test ebx, ebx
je 0x43d17d
cmp ebx, 2
jne 0x43d4ac
push ecx
mov ecx, dword [ebp - 0x18]
push 7
push str.Default
call fcn.0043a719
test eax, eax
je 0x43cf85
mov eax, dword [eax + 4]
test eax, eax
jne 0x43d16c
mov eax, 0x491414
push 0x10
push 0
push eax
call dword [sym.imp.msvcrt.dll_wcstoul]
add esp, 0xc
mov dword [ebp - 8], eax
mov eax, dword [esi + 4]
test eax, eax
jne 0x43d189
mov eax, 0x491414
mov ebx, dword [sym.imp.SHLWAPI.dll_StrCmpW]
push 0x491410
push eax
call ebx
test eax, eax
jne 0x43d1a0
or edi, dword [ebp - 8]
jmp 0x43d1f9
mov eax, dword [esi + 4]
test eax, eax
jne 0x43d1ac
mov eax, 0x491414
push 0x49894c
push eax
call ebx
test eax, eax
jne 0x43d1bd
and edi, dword [ebp - 8]
jmp 0x43d1f9
mov eax, dword [esi + 4]
test eax, eax
jne 0x43d1c9
mov eax, 0x491414
push 0x498950
push eax
call ebx
test eax, eax
jne 0x43d1da
xor edi, dword [ebp - 8]
jmp 0x43d1f9
mov eax, dword [esi + 4]
test eax, eax
jne 0x43d1e6
mov eax, 0x491414
push 0x498954
push eax
call ebx
test eax, eax
jne 0x43d057
add edi, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
test edx, edx
jne 0x43d208
mov edx, 0x491414
mov ecx, dword [ebp - 4]
push edi
call fcn.0044cc81
jmp 0x43d4a9
mov edx, edi
lea ecx, [ebp - 0xc]
call fcn.0044a153
test esi, esi
je 0x43d432
mov eax, dword [esi + 4]
mov edi, 0x491414
test eax, eax
jne 0x43d236
mov eax, edi
push 0x49890c
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
je 0x43d432
call fcn.0043c5cd
push eax
lea ecx, [ebp - 8]
call fcn.0043ac50
mov edx, dword [ebx + 4]
test edx, edx
jne 0x43d261
mov edx, edi
mov ecx, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0044cf2f
mov esi, dword [ebp - 0xc]
pop ecx
pop ecx
test eax, eax
je 0x43d302
push ecx
mov ecx, dword [ebp - 0x18]
push 7
push str.Default
call fcn.0043a719
test eax, eax
jne 0x43d2cb
mov eax, dword [ebx + 4]
test eax, eax
jne 0x43d29b
mov eax, edi
push eax
lea eax, [ebp - 0x20]
push 0x498910
push eax
call fcn.00449eea
add esp, 0xc
push dword [eax]
push 0x498940
push 1
call dword [sym.imp.CBSHost.dll_DismWriteLog]
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.0043c924
push 0x57
jmp 0x43d30a
mov edx, dword [eax + 4]
test edx, edx
jne 0x43d2d4
mov edx, edi
lea ecx, [ebp - 0x20]
call fcn.0044a153
push eax
lea ecx, [ebp - 8]
call fcn.0043a66e
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.0043c924
mov edi, dword [ebp - 8]
mov eax, dword [edi - 0xc]
cmp eax, dword [esi - 0xc]
je 0x43d312
push 0xb
jmp 0x43d427
cmp dword [ebp - 0x1c], 3
je 0x43d2f0
push 0xb
mov edi, dword [ebp - 8]
jmp 0x43d427
cmp dword [esi - 4], 1
jle 0x43d326
push dword [esi - 0xc]
lea ecx, [ebp - 0xc]
call fcn.0043abd1
mov esi, dword [ebp - 0xc]
cmp dword [edi - 4], 1
jle 0x43d33a
push dword [edi - 0xc]
lea ecx, [ebp - 8]
call fcn.0043abd1
mov edi, dword [ebp - 8]
mov ebx, dword [ebp - 0x24]
mov eax, dword [edi - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 4]
test eax, eax
jne 0x43d34f
mov eax, 0x491414
push 0x491410
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x43d379
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x43d3e3
mov ebx, edi
mov edx, esi
sub ebx, esi
mov al, byte [ebx + edx]
or byte [edx], al
inc edx
sub ecx, 1
jne 0x43d36c
jmp 0x43d3e3
mov eax, dword [ebx + 4]
test eax, eax
jne 0x43d385
mov eax, 0x491414
push 0x49894c
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x43d3af
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x43d3e3
mov ebx, edi
mov edx, esi
sub ebx, esi
mov al, byte [edx + ebx]
and byte [edx], al
inc edx
sub ecx, 1
jne 0x43d3a2
jmp 0x43d3e3
mov eax, dword [ebx + 4]
test eax, eax
jne 0x43d3bb
mov eax, 0x491414
push 0x498950
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x43d3ed
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x43d3e3
mov ebx, edi
mov edx, esi
sub ebx, esi
mov al, byte [edx + ebx]
xor byte [edx], al
inc edx
sub ecx, 1
jne 0x43d3d8
lea ecx, [edi - 0x10]
call fcn.0043c924
jmp 0x43d435
mov eax, dword [ebx + 4]
test eax, eax
jne 0x43d3f9
mov eax, 0x491414
push eax
lea eax, [ebp - 0x24]
push 0x498958
push eax
call fcn.00449eea
add esp, 0xc
push dword [eax]
push 0x498940
push 1
call dword [sym.imp.CBSHost.dll_DismWriteLog]
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.0043c924
push 0x57
pop ebx
lea ecx, [edi - 0x10]
call fcn.0043c924
jmp 0x43d46b
mov esi, dword [ebp - 0xc]
cmp dword [esi - 4], 1
mov edi, dword [esi - 0xc]
jle 0x43d44a
push edi
lea ecx, [ebp - 0xc]
call fcn.0043abd1
mov esi, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 4]
test eax, eax
jne 0x43d459
mov eax, 0x491414
push edi
push esi
push 3
push 0
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
lea ecx, [esi - 0x10]
call fcn.0043c924
jmp 0x43d4ac
mov ecx, dword [ebx + 4]
test ecx, ecx
jne 0x43d481
mov ecx, 0x491414
mov eax, dword [ebp - 0xc]
lea eax, [eax*2 + 2]
push eax
push edi
push 2
jmp 0x43d0b7
mov edx, dword [ebx + 4]
test edx, edx
jne 0x43d4a0
mov edx, 0x491414
mov ecx, dword [ebp - 4]
push edi
call fcn.0044cd7d
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0043c924
lea ecx, [ebp - 4]
call fcn.0043a910
mov eax, ebx
jmp 0x43d4c8
mov eax, 0x80004005
pop edi
pop esi
pop ebx
leave
ret