Function at 0x438ae0
Capabilities:
Delete registry key
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59c71c
mov eax, dword fs:[0]
push eax
sub esp, 0x870
mov eax, dword [0x6102d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.0056f980
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.0056f980
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x868]
add esp, 0x18
mov dword [ebp - 0x868], 0
mov dword [ebp - 0x864], 0
push eax
push 0xf003f
push 0
push str.SoftWare
push reloc.WS2_32.dll_bind
call edi
test eax, eax
jne 0x438be9
push eax
lea eax, [ebp - 0x864]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x5a1790
push dword [ebp - 0x868]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x438be9
lea eax, [ebp - 0x86c]
mov dword [ebp - 0x86c], 0x104
push eax
lea eax, [ebp - 0x628]
push eax
push 0
push 0
push str.e78cc
push dword [ebp - 0x864]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x864]
test eax, eax
je 0x438bd8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x868]
test eax, eax
je 0x438be9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x628]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x438bf2
sub ecx, edx
sar ecx, 1
je 0x438c11
lea eax, [ebp - 0x628]
mov ecx, esi
push eax
call fcn.00439a80
call fcn.00427670
test eax, eax
je 0x438c2b
mov edx, dword [eax]
lea ecx, [ebp - 0x830]
push ecx
mov ecx, eax
call dword [edx + 0x90]
lea ecx, [ebp - 0x830]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x438c34
sub ecx, edx
sar ecx, 1
je 0x438c53
lea eax, [ebp - 0x830]
mov ecx, esi
push eax
call fcn.00439a80
lea eax, [ebp - 0x870]
mov dword [ebp - 0x870], 0
push eax
push 9
push 0
push str.SYSTEMCurrentControlSet_services_
push reloc.WS2_32.dll_bind
call edi
test eax, eax
je 0x438c7f
xor eax, eax
jmp 0x439022
xor esi, esi
xor eax, eax
xor edi, edi
mov dword [ebp - 0x868], esi
mov dword [ebp - 0x87c], esi
mov dword [ebp - 0x878], edi
mov dword [ebp - 0x864], eax
mov dword [ebp - 0x874], eax
push 0x5a178c
lea ecx, [ebp - 0x860]
mov dword [ebp - 4], eax
mov dword [ebp - 0x850], eax
mov dword [ebp - 0x84c], 7
mov word [ebp - 0x860], ax
call fcn.0041e7b0
push 0x1f4
lea eax, [ebp - 0x204]
mov byte [ebp - 4], 1
push edi
push eax
call fcn.0056f980
push 0x208
lea eax, [ebp - 0x420]
push edi
push eax
call fcn.0056f980
mov eax, dword [0x5a17a0]
movups xmm0, xmmword [0x5a1790]
mov dword [ebp - 0x208], eax
lea eax, [ebp - 0x218]
push eax
movups xmmword [ebp - 0x218], xmm0
call fcn.0057cd41
lea ecx, [ebp - 0x218]
add esp, 0x1c
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x438d26
sub ecx, edx
sar ecx, 1
cmp ecx, 3
jb 0x438f85
push 0x104
lea eax, [ebp - 0x420]
xor esi, esi
push eax
push esi
push dword [ebp - 0x870]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x438e6d
xor eax, eax
mov dword [ebp - 0x838], 0
mov word [ebp - 0x848], ax
lea ecx, [ebp - 0x848]
lea eax, [ebp - 0x420]
mov dword [ebp - 0x834], 7
push eax
call fcn.0041e7b0
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 2
push eax
call fcn.0057cd41
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.0056e7eb
add esp, 0xc
test eax, eax
je 0x438df9
lea eax, [ebp - 0x848]
push eax
cmp dword [ebp - 0x864], edi
je 0x438ddb
mov ecx, edi
call fcn.0040cde0
add edi, 0x18
mov dword [ebp - 0x878], edi
jmp 0x438df9
push edi
lea ecx, [ebp - 0x87c]
call fcn.0040ee90
mov eax, dword [ebp - 0x874]
mov edi, dword [ebp - 0x878]
mov dword [ebp - 0x864], eax
mov edx, dword [ebp - 0x834]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x438e3d
mov ecx, dword [ebp - 0x848]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x438e33
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43903d
push edx
push ecx
call fcn.0045ec62
add esp, 8
push 0x104
lea eax, [ebp - 0x420]
inc esi
push eax
push esi
push dword [ebp - 0x870]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x438d61
mov esi, dword [ebp - 0x87c]
mov dword [ebp - 0x868], esi
jmp 0x438e6f
xor esi, esi
push dword [ebp - 0x870]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, edi
je 0x438f7f
xor eax, eax
mov dword [ebp - 0x838], 0
push str.SYSTEMCurrentControlSet_services_
lea ecx, [ebp - 0x848]
mov dword [ebp - 0x834], 7
mov word [ebp - 0x848], ax
call fcn.0041e7b0
cmp dword [esi + 0x14], 8
mov edx, esi
mov byte [ebp - 4], 3
jb 0x438ebe
mov edx, dword [esi]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x86c], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x438ed0
sub ecx, dword [ebp - 0x86c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x848]
call fcn.004114b0
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
cmovae eax, dword [ebp - 0x848]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp dword [ebp - 0x834], 8
lea eax, [ebp - 0x848]
cmovae eax, dword [ebp - 0x848]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov edx, dword [ebp - 0x834]
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x438f74
mov ecx, dword [ebp - 0x848]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x438f6a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43903d
push edx
push ecx
call fcn.0045ec62
add esp, 8
add esi, 0x18
cmp esi, edi
jne 0x438e83
mov esi, dword [ebp - 0x868]
mov edx, dword [ebp - 0x84c]
cmp edx, 8
jb 0x438fc5
mov ecx, dword [ebp - 0x860]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x438fbb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43903d
push edx
push ecx
call fcn.0045ec62
add esp, 8
test esi, esi
je 0x43901d
lea eax, [ebp - 0x87c]
push eax
push edi
push esi
call fcn.0040ee20
mov ecx, dword [ebp - 0x864]
mov eax, 0x2aaaaaab
sub ecx, esi
add esp, 0xc
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x439013
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x439042
push ecx
push esi
call fcn.0045ec62
add esp, 8
mov eax, 1
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.0045ef18
mov esp, ebp
pop ebp
ret
call fcn.00572b79
call fcn.00572b79
int3