Function at 0x4e84e0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x38
push ecx
push edi
lea edi, [esp + 8]
mov eax, 0xcccccccc
mov ecx, 0xe
rep stosd dword es:[edi], eax
pop edi
pop ecx
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
je 0x4e8511
mov edx, dword [ebp - 0x10]
inc dword [edx]
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0
je 0x4e8524
mov edx, dword [ebp - 0x18]
inc dword [edx]
mov dword [ebp - 0x1c], 0
push 0x576629
call fcn.0040e8d0
pop ecx
push eax
push 0x576629
lea ecx, [ebp - 0x1c]
call fcn.0040cb20
cmp dword [ebp - 0x1c], 0
je 0x4e8556
mov ebx, dword [ebp - 0x1c]
mov edx, dword [0x5494f8]
mov dword [ebx + 0x10], edx
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
call sym.X86RunHoudini.exe_countFields
pop ecx
pop ecx
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x1c], 0
je 0x4e8576
mov ecx, dword [ebp - 0x1c]
call fcn.0040c8f0
cmp dword [ebp - 0x18], 0
je 0x4e8584
mov ecx, dword [ebp - 0x18]
call fcn.0040c8f0
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x14], 0
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov ecx, dword [ebp - 0x3c]
call fcn.004e80f0
cmp al, 0
jne 0x4e85bf
mov bl, 0
cmp dword [ebp - 0x10], 0
je 0x4e85b5
mov ecx, dword [ebp - 0x10]
call fcn.0040c8f0
mov al, bl
lea esp, [ebp - 4]
pop ebx
pop ebp
ret 8
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
mov ecx, dword [ebp + 8]
call fcn.0040d1c0
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, 0
je 0x4e8631
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x20019
push 0
push 0
push 0
mov ecx, dword [ebp + 8]
call fcn.0040d1c0
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, 0
je 0x4e8631
mov bl, 0
cmp dword [ebp - 0x10], 0
je 0x4e8627
mov ecx, dword [ebp - 0x10]
call fcn.0040c8f0
mov al, bl
lea esp, [ebp - 4]
pop ebx
pop ebp
ret 8
cmp dword [ebp - 0x14], 1
jne 0x4e8674
cmp byte [ebp + 0xc], 0
jne 0x4e8674
mov ecx, dword [ebp + 8]
call fcn.0040d1c0
push eax
mov eax, dword [ebp - 0x3c]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov bl, 0
cmp dword [ebp - 0x10], 0
je 0x4e866a
mov ecx, dword [ebp - 0x10]
call fcn.0040c8f0
mov al, bl
lea esp, [ebp - 4]
pop ebx
pop ebp
ret 8
cmp dword [ebp - 0x34], 0
jle 0x4e87c1
jmp 0x4e87b5
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x20], 0
je 0x4e8694
mov edx, dword [ebp - 0x20]
inc dword [edx]
mov dword [ebp - 0x24], 0
push 0x576629
call fcn.0040e8d0
pop ecx
push eax
push 0x576629
lea ecx, [ebp - 0x24]
call fcn.0040cb20
cmp dword [ebp - 0x24], 0
je 0x4e86c6
mov ebx, dword [ebp - 0x24]
mov edx, dword [0x5494f8]
mov dword [ebx + 0x10], edx
mov eax, dword [ebp - 0x38]
inc dword [ebp - 0x38]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
call sym.X86RunHoudini.exe_nthField
add esp, 0x10
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x38], eax
je 0x4e86f7
mov eax, 0x576629
jmp 0x4e86fc
mov eax, 0x576628
cmp eax, 0
je 0x4e874c
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x38], eax
je 0x4e8710
mov edx, 0x576629
jmp 0x4e8715
mov edx, 0x576628
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x38], eax
je 0x4e8724
mov ebx, 0x576629
jmp 0x4e8729
mov ebx, 0x576628
push edx
call fcn.0040e8d0
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x2c]
call fcn.0040cb20
cmp dword [ebp - 0x2c], 0
je 0x4e874c
mov ebx, dword [ebp - 0x2c]
mov edx, dword [0x5494f8]
mov dword [ebx + 0x10], edx
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0040dcb0
add esp, 0xc
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x3c]
add ecx, 4
call fcn.0040d4e0
cmp dword [ebp - 0x30], 0
je 0x4e877d
mov ecx, dword [ebp - 0x30]
call fcn.0040c8f0
cmp dword [ebp - 0x2c], 0
je 0x4e878b
mov ecx, dword [ebp - 0x2c]
call fcn.0040c8f0
cmp dword [ebp - 0x28], 0
je 0x4e8799
mov ecx, dword [ebp - 0x28]
call fcn.0040c8f0
cmp dword [ebp - 0x24], 0
je 0x4e87a7
mov ecx, dword [ebp - 0x24]
call fcn.0040c8f0
cmp dword [ebp - 0x20], 0
je 0x4e87b5
mov ecx, dword [ebp - 0x20]
call fcn.0040c8f0
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x38], eax
jl 0x4e8683
push dword [ebp + 8]
mov ecx, dword [ebp - 0x3c]
add ecx, 8
call fcn.0040d2e0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x3c]
mov dword [eax], edx
mov bl, 1
cmp dword [ebp - 0x10], 0
je 0x4e87e7
mov ecx, dword [ebp - 0x10]
call fcn.0040c8f0
mov al, bl
lea esp, [ebp - 4]
pop ebx
pop ebp
ret 8