Function at 0x10044500
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.100c8100
push 0xffffffffffffffff
push 0x100e8818
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x10144930]
xor eax, ebp
mov dword [ebp + 0x1000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x100c]
mov dword [ebp - 0x30], eax
mov edi, dword [ebp + 0x1010]
mov byte [ebp + 0x1014], 0
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], 0x400
mov dword [ebp - 0x2c], edx
mov dword [ebp - 4], edx
cmp eax, edx
je 0x100447bd
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, dx
jne 0x10044576
sub eax, esi
sar eax, 1
je 0x100447bd
lea esi, [ebp - 0x6c]
call fcn.1004abb0
mov byte [ebp - 4], 1
cmp byte [eax + 0x18], 0
sete bl
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.1004ac90
test bl, bl
je 0x100445b4
mov byte [ebp + 0x1014], 0
test edi, edi
jne 0x100445bd
mov edi, reloc.WSOCK32.dll_bind
mov ebx, dword [ebp - 0x30]
push ebx
push edi
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100446e8
mov dword [ebp - 0x40], 0xf003f
lea eax, [ebp - 0x18]
push eax
push 0xf003f
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10044605
mov dword [ebp - 0x3c], eax
push 0x1012ac78
lea ecx, [ebp - 0x3c]
push ecx
call fcn.100c80ad
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x1c]
push edx
push 0
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1004463f
mov dword [ebp - 0x38], eax
push 0x1012ac78
lea ecx, [ebp - 0x38]
push ecx
call fcn.100c80ad
mov esi, dword [ebp - 0x1c]
add esi, 0xffffffff
mov dword [ebp - 0x24], esi
test esi, esi
jl 0x100446b8
push 0x800
push 0
lea edx, [ebp]
push edx
call fcn.100c7d20
add esp, 0xc
mov dword [ebp - 0x20], 0x800
lea eax, [ebp - 0x50]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp]
push edx
push esi
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x100446b3
push eax
mov ecx, dword [ebp - 0x18]
push ecx
lea edx, [ebp]
push edx
call fcn.10044500
add esp, 0xc
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100446b3
mov dword [ebp - 0x34], eax
push 0x1012ac78
lea eax, [ebp - 0x34]
push eax
call fcn.100c80ad
sub esi, 1
jmp 0x10044645
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100446cd
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], 0
xor eax, eax
je 0x100446dd
push eax
push 0x100
push ebx
push edi
call eax
jmp 0x100446e5
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [ebp - 0x14], eax
push 0x800
push 0
lea ecx, [ebp + 0x800]
push ecx
call fcn.100c7d20
push ebx
push 0x400
lea edx, [ebp + 0x800]
push edx
call fcn.100c6466
add esp, 0x18
mov ebx, dword [sym.imp.SHLWAPI.dll_SHDeleteEmptyKeyW]
mov esi, dword [ebp + 0x1014]
lea esp, [esp]
push 0x5c
lea eax, [ebp + 0x800]
push eax
call fcn.100c747a
add esp, 8
test eax, eax
je 0x10044772
mov word [eax], 0
push esi
push edi
lea edx, [ebp + 0x800]
call fcn.10044e60
add esp, 8
test al, al
je 0x10044772
xor eax, eax
je 0x10044764
push eax
push 0x100
lea ecx, [ebp + 0x800]
push ecx
push edi
call eax
jmp 0x1004476e
lea edx, [ebp + 0x800]
push edx
push edi
call ebx
test eax, eax
je 0x10044720
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10044787
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x10044795
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1000]
xor ecx, ebp
call fcn.100c59be
add ebp, 0x1004
mov esp, ebp
pop ebp
ret
mov eax, 0x57
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], eax
push 0x1012ac78
lea eax, [ebp - 0x28]
push eax
call fcn.100c80ad
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, 0x100447e9
ret