Function at 0x4617e0
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 0x461811
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 0x461824
mov edx, dword [ebp - 0x18]
inc dword [edx]
mov dword [ebp - 0x1c], 0
push 0x4bb769
call fcn.00403a30
pop ecx
push eax
push 0x4bb769
lea ecx, [ebp - 0x1c]
call fcn.00401db0
cmp dword [ebp - 0x1c], 0
je 0x461856
mov ebx, dword [ebp - 0x1c]
mov edx, dword [0x4a8218]
mov dword [ebx + 0x10], edx
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
call sym.X86HoudiniConsole.exe_countFields
pop ecx
pop ecx
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x1c], 0
je 0x461876
mov ecx, dword [ebp - 0x1c]
call fcn.00401b80
cmp dword [ebp - 0x18], 0
je 0x461884
mov ecx, dword [ebp - 0x18]
call fcn.00401b80
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.004613f0
cmp al, 0
jne 0x4618bf
mov bl, 0
cmp dword [ebp - 0x10], 0
je 0x4618b5
mov ecx, dword [ebp - 0x10]
call fcn.00401b80
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.00402450
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, 0
je 0x461931
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.00402450
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, 0
je 0x461931
mov bl, 0
cmp dword [ebp - 0x10], 0
je 0x461927
mov ecx, dword [ebp - 0x10]
call fcn.00401b80
mov al, bl
lea esp, [ebp - 4]
pop ebx
pop ebp
ret 8
cmp dword [ebp - 0x14], 1
jne 0x461974
cmp byte [ebp + 0xc], 0
jne 0x461974
mov ecx, dword [ebp + 8]
call fcn.00402450
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 0x46196a
mov ecx, dword [ebp - 0x10]
call fcn.00401b80
mov al, bl
lea esp, [ebp - 4]
pop ebx
pop ebp
ret 8
cmp dword [ebp - 0x34], 0
jle 0x461ac1
jmp 0x461ab5
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x20], 0
je 0x461994
mov edx, dword [ebp - 0x20]
inc dword [edx]
mov dword [ebp - 0x24], 0
push 0x4bb769
call fcn.00403a30
pop ecx
push eax
push 0x4bb769
lea ecx, [ebp - 0x24]
call fcn.00401db0
cmp dword [ebp - 0x24], 0
je 0x4619c6
mov ebx, dword [ebp - 0x24]
mov edx, dword [0x4a8218]
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.X86HoudiniConsole.exe_nthField
add esp, 0x10
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x38], eax
je 0x4619f7
mov eax, 0x4bb769
jmp 0x4619fc
mov eax, 0x4bb768
cmp eax, 0
je 0x461a4c
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x38], eax
je 0x461a10
mov edx, 0x4bb769
jmp 0x461a15
mov edx, 0x4bb768
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x38], eax
je 0x461a24
mov ebx, 0x4bb769
jmp 0x461a29
mov ebx, 0x4bb768
push edx
call fcn.00403a30
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x2c]
call fcn.00401db0
cmp dword [ebp - 0x2c], 0
je 0x461a4c
mov ebx, dword [ebp - 0x2c]
mov edx, dword [0x4a8218]
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.00402f40
add esp, 0xc
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x3c]
add ecx, 4
call fcn.00402770
cmp dword [ebp - 0x30], 0
je 0x461a7d
mov ecx, dword [ebp - 0x30]
call fcn.00401b80
cmp dword [ebp - 0x2c], 0
je 0x461a8b
mov ecx, dword [ebp - 0x2c]
call fcn.00401b80
cmp dword [ebp - 0x28], 0
je 0x461a99
mov ecx, dword [ebp - 0x28]
call fcn.00401b80
cmp dword [ebp - 0x24], 0
je 0x461aa7
mov ecx, dword [ebp - 0x24]
call fcn.00401b80
cmp dword [ebp - 0x20], 0
je 0x461ab5
mov ecx, dword [ebp - 0x20]
call fcn.00401b80
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x38], eax
jl 0x461983
push dword [ebp + 8]
mov ecx, dword [ebp - 0x3c]
add ecx, 8
call fcn.00402570
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x3c]
mov dword [eax], edx
mov bl, 1
cmp dword [ebp - 0x10], 0
je 0x461ae7
mov ecx, dword [ebp - 0x10]
call fcn.00401b80
mov al, bl
lea esp, [ebp - 4]
pop ebx
pop ebp
ret 8