Function at 0x10043640
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x100ace26
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x100d3020]
xor eax, esp
mov dword [esp + 0x258], eax
push ebp
push esi
push edi
mov eax, dword [0x100d3020]
xor eax, esp
push eax
lea eax, [esp + 0x26c]
mov dword fs:[0], eax
xor edi, edi
mov eax, 7
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], edi
mov word [esp + 0x34], di
mov dword [esp + 0x274], edi
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], edi
mov word [esp + 0x50], di
lea eax, [esp + 0x10]
mov byte [esp + 0x274], 1
push eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], edi
call fcn.10043560
test al, al
lea ebp, [edi + 8]
je 0x10043832
lea ecx, [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x14]
call fcn.10043470
push 0x35
push 0x100b8138
lea esi, [esp + 0x38]
call fcn.10002660
lea eax, [esp + 0x68]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x100436f0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x6c]
push edx
lea ecx, [esp + 0x38]
call fcn.10023f10
push 0xffffffffffffffff
push edi
lea eax, [esp + 0x38]
lea ecx, [esp + 0x54]
call fcn.10002570
cmp dword [esp + 0x64], ebp
mov ecx, dword [esp + 0x50]
jae 0x1004372c
lea ecx, [esp + 0x50]
lea esi, [esp + 0x18]
call fcn.100433d0
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
call fcn.100431f0
test eax, eax
je 0x100437ed
cmp dword [esp + 0x48], ebp
mov eax, dword [esp + 0x34]
jae 0x1004375d
lea eax, [esp + 0x34]
push edi
lea ecx, [esp + 0x20]
push ecx
push eax
push 0x80000001
mov ecx, ebx
call fcn.100430b0
push 5
push str.Data
lea ecx, [esp + 0x38]
call fcn.10023f10
cmp dword [esp + 0x48], ebp
mov eax, dword [esp + 0x34]
jae 0x1004378e
lea eax, [esp + 0x34]
push edi
lea edx, [esp + 0x20]
push edx
push eax
push 0x80000001
mov ecx, ebx
call fcn.100430b0
push 0x25
push str.e161255a_37c3_11d2_bcaa_00c04fd929db
lea ecx, [esp + 0x38]
call fcn.10023f10
cmp dword [esp + 0x48], ebp
mov eax, dword [esp + 0x34]
jae 0x100437bf
lea eax, [esp + 0x34]
push 1
lea ecx, [esp + 0x20]
push ecx
push eax
push 0x80000001
mov ecx, ebx
call fcn.100430b0
cmp dword [esp + 0x48], ebp
mov eax, dword [esp + 0x34]
jae 0x100437e1
lea eax, [esp + 0x34]
push eax
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x10043804
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [esp + 0x18]
cmp esi, edi
je 0x10043832
cmp dword [esp + 0x64], ebp
mov eax, dword [esp + 0x50]
jae 0x1004381a
lea eax, [esp + 0x50]
push edi
push esi
push eax
push 0x80000001
mov ecx, ebx
call fcn.100430b0
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x10043849
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [esp + 0x64], ebp
jb 0x1004385c
mov edx, dword [esp + 0x50]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x48], ebp
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], edi
mov word [esp + 0x50], di
jb 0x10043880
mov eax, dword [esp + 0x34]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0x26c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.100a4489
add esp, 0x268
ret