Function at 0x4703f0
Capabilities:
Delete registry key

Disassembly:
push 0xffffffffffffffff
push 0x5f2072
mov eax, dword fs:[0]
push eax
sub esp, 0x190
mov eax, dword [0x64c874]
xor eax, esp
mov dword [esp + 0x18c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x1a4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1b4]
mov ebp, dword [esp + 0x1b8]
mov dword [esp + 0x24], eax
xor edi, edi
lea esi, [esp + 0x7c]
mov eax, ebp
mov dword [esp + 0x2c], edi
mov byte [esp + 0x17], 0
call fcn.00474910
mov esi, 8
cmp dword [eax + 0x18], esi
jb 0x470462
mov ecx, dword [eax + 4]
jmp 0x470465
lea ecx, [eax + 4]
mov eax, dword [ebp + 0x20]
lea edx, [esp + 0x20]
push edx
push 0x20019
push edi
push ecx
push eax
mov bl, 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
sub eax, edi
je 0x470491
sub eax, 2
je 0x47048a
xor bl, bl
jmp 0x4704a1
mov byte [esp + 0x17], 0
jmp 0x4704a1
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esp + 0x17], 1
test bl, bl
sete bl
cmp dword [esp + 0x94], esi
jb 0x4704bf
mov ecx, dword [esp + 0x80]
push ecx
call fcn.0059b877
add esp, 4
test bl, bl
je 0x47051e
push edi
push 0x6190bc
lea esi, [esp + 0x68]
mov dword [esp + 0x80], 7
mov dword [esp + 0x7c], edi
mov word [esp + 0x6c], di
call fcn.00402770
mov edx, esi
mov dword [esp + 0x1ac], 1
mov esi, dword [esp + 0x24]
push edx
push esi
mov edx, reloc.WS2_32.dll_accept
call fcn.004745b0
cmp dword [esp + 0x78], 8
jb 0x470517
mov eax, dword [esp + 0x64]
push eax
call fcn.0059b877
add esp, 4
mov eax, esi
jmp 0x470d0a
cmp byte [ebp + 0x40], 0
je 0x4705f7
push edi
push ebp
lea ecx, [esp + 0x4c]
call fcn.00474790
lea ecx, [esp + 0x98]
push ecx
mov ecx, eax
mov dword [esp + 0x1b0], 2
call fcn.00474530
mov byte [esp + 0x1ac], 4
cmp dword [esp + 0x5c], esi
jb 0x470568
mov edx, dword [esp + 0x48]
push edx
call fcn.0059b877
add esp, 4
cmp byte [esp + 0x17], 0
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], edi
mov word [esp + 0x48], di
je 0x4705c7
lea eax, [esp + 0x98]
push eax
call fcn.00470d40
add esp, 4
cmp byte [esp + 0x1bc], 0
je 0x4705c7
lea esi, [esp + 0x7c]
mov eax, ebp
call fcn.00474910
cmp dword [eax + 0x18], 8
jb 0x4705b0
mov eax, dword [eax + 4]
jmp 0x4705b3
add eax, 4
mov ebp, dword [ebp + 0x20]
push eax
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea esi, [esp + 0x7c]
call fcn.00405c10
mov esi, dword [esp + 0x24]
push esi
lea edi, [esp + 0x9c]
call fcn.00459db0
mov ecx, edi
push ecx
mov dword [esp + 0x30], 1
mov byte [esp + 0x1b0], 0
call fcn.00474630
mov eax, esi
jmp 0x470d0a
cmp byte [esp + 0x17], 0
jne 0x4706a8
push edi
push ebp
lea ecx, [esp + 0x84]
call fcn.00474790
lea edx, [esp + 0xdc]
push edx
mov ecx, eax
mov dword [esp + 0x1b0], 5
call fcn.00474530
mov ebx, 7
mov byte [esp + 0x1ac], bl
cmp dword [esp + 0x94], esi
jb 0x47064f
mov eax, dword [esp + 0x80]
push eax
call fcn.0059b877
add esp, 4
push 1
push ebp
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x98], edi
mov word [esp + 0x88], di
mov byte [esp + 0x124], 1
call fcn.00470030
mov esi, dword [esp + 0x2c]
add esp, 8
push esi
lea edi, [esp + 0xe0]
call fcn.00459db0
mov ecx, edi
push ecx
mov dword [esp + 0x30], 1
mov byte [esp + 0x1b0], 0
call fcn.00474630
mov eax, esi
jmp 0x470d0a
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x1ac], esi
lea esi, [esp + 0x7c]
mov eax, ebp
call fcn.00474910
cmp dword [eax + 0x18], 8
jb 0x4706cd
mov ebx, dword [eax + 4]
jmp 0x4706d0
lea ebx, [eax + 4]
mov eax, dword [esp + 0x18]
cmp eax, edi
mov esi, dword [ebp + 0x20]
je 0x4706e6
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], edi
lea edx, [esp + 0x18]
push edx
push 0x2001f
push edi
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x47077a
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edi
xor al, al
test al, al
sete bl
cmp dword [esp + 0x94], 8
jb 0x470726
mov eax, dword [esp + 0x80]
push eax
call fcn.0059b877
add esp, 4
test bl, bl
je 0x470823
mov eax, dword [esp + 0x1c]
cmp eax, 5
jne 0x47077e
mov edx, 0x6190bc
lea eax, [esp + 0x60]
call fcn.004024d0
lea ecx, [esp + 0x60]
mov byte [esp + 0x1ac], 9
mov edi, dword [esp + 0x24]
push ecx
push edi
mov edx, reloc.WS2_32.dll_accept
call fcn.004745b0
lea esi, [esp + 0x60]
call fcn.00405c10
lea esi, [esp + 0x18]
call fcn.0043a3a0
mov eax, edi
jmp 0x470d0a
mov al, 1
jmp 0x470707
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], edi
mov word [esp + 0x80], di
push eax
mov bl, 0xa
push str.Operate_registry_failed__d_
lea ecx, [esp + 0x84]
mov byte [esp + 0x1b4], bl
call fcn.0042b990
add esp, 8
push edi
sub esp, 0x1c
mov edx, 0x6190bc
mov eax, esp
mov dword [esp + 0x40], esp
call fcn.004024d0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x64], esp
push edi
push ebp
mov byte [esp + 0x1f0], 0xb
call fcn.00474790
mov edx, dword [esp + 0x58]
push 1
push edx
lea esi, [esp + 0x174]
mov byte [esp + 0x1f0], bl
call fcn.0046fbc0
push eax
lea ecx, [esp + 0xe0]
mov byte [esp + 0x1b0], 0xc
call fcn.00470340
push 0x62a71c
lea eax, [esp + 0xe0]
push eax
call fcn.005bed88
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x38]
lea edx, [esp + 0x1c]
mov byte [esp + 0x1b0], 0xe
call fcn.0043a750
test al, al
jne 0x470905
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], edi
mov word [esp + 0x80], di
mov bl, 0xf
mov byte [esp + 0x1ac], bl
mov edx, dword [esp + 0x1c]
push edx
push str.Operate_registry_failed__d_
lea ecx, [esp + 0x84]
call fcn.0042b990
add esp, 8
push edi
sub esp, 0x1c
mov edx, 0x6190bc
mov eax, esp
mov dword [esp + 0x40], esp
call fcn.004024d0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x64], esp
push edi
push ebp
mov byte [esp + 0x1f0], 0x10
call fcn.00474790
mov eax, dword [esp + 0x58]
push edi
push eax
lea esi, [esp + 0x174]
mov byte [esp + 0x1f0], bl
call fcn.0046fbc0
push eax
lea ecx, [esp + 0xe0]
mov byte [esp + 0x1b0], 0x11
call fcn.00470340
push 0x62a71c
lea ecx, [esp + 0xe0]
push ecx
call fcn.005bed88
push edi
push ebp
lea ecx, [esp + 0x68]
call fcn.00474790
lea edx, [esp + 0x98]
push edx
mov ecx, eax
mov byte [esp + 0x1b0], 0x12
call fcn.00474530
lea esi, [esp + 0x60]
mov byte [esp + 0x1ac], 0x14
call fcn.00405c10
lea ebx, [ebp + 0x10]
jmp 0x470940
mov eax, dword [ebx + 4]
xor esi, esi
cmp eax, esi
je 0x4709b2
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0x78787879
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x4709b2
mov eax, dword [esp + 0x1bc]
push eax
mov esi, ebx
call fcn.00471e60
push eax
lea ecx, [esp + 0xe4]
push ecx
call fcn.004703f0
add esp, 0xc
push eax
lea esi, [esp + 0xac]
mov byte [esp + 0x1b0], 0x15
call fcn.00471ea0
lea edx, [esp + 0xdc]
push edx
mov byte [esp + 0x1b0], 0x14
call fcn.00474630
add edi, 1
jmp 0x470940
mov ecx, ebp
mov dword [esp + 0x28], esi
call fcn.00428ee0
test eax, eax
jbe 0x470c72
mov dword [esp + 0x20], esi
jmp 0x4709d2
xor esi, esi
mov eax, dword [ebp + 4]
cmp eax, esi
je 0x4709f7
mov ecx, dword [ebp + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x28], eax
jb 0x4709fc
call fcn.005b8b18
mov edi, dword [ebp + 4]
add edi, dword [esp + 0x20]
lea esi, [esp + 0x7c]
mov eax, edi
call fcn.0046bd30
push eax
lea esi, [esp + 0x38]
mov byte [esp + 0x1b0], 0x16
call fcn.004728d0
add esp, 4
cmp eax, 0xffffffff
setne bl
mov byte [esp + 0x1ac], 0x14
cmp dword [esp + 0x94], 8
jb 0x470a4b
mov eax, dword [esp + 0x80]
push eax
call fcn.0059b877
add esp, 4
sub esp, 0x1c
test bl, bl
mov esi, esp
mov dword [esp + 0x4c], esp
mov dword [esi + 0x18], 7
je 0x470b56
xor ebx, ebx
push ebx
mov dword [esi + 0x14], ebx
push 0x6190bc
mov word [esi + 4], bx
call fcn.00402770
push 1
lea esi, [esp + 0x150]
call fcn.0046a790
lea esi, [esp + 0x7c]
mov eax, edi
mov byte [esp + 0x1ac], 0x17
call fcn.0046bd30
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x13c]
mov byte [esp + 0x1b4], 0x18
call fcn.00402580
mov ebx, 8
mov byte [esp + 0x1ac], 0x17
cmp dword [esp + 0x94], ebx
jb 0x470ad5
mov ecx, dword [esp + 0x80]
push ecx
call fcn.0059b877
add esp, 4
lea esi, [esp + 0x7c]
mov eax, edi
call fcn.0046bd30
mov byte [esp + 0x1ac], 0x19
cmp dword [eax + 0x18], ebx
jb 0x470af2
mov eax, dword [eax + 4]
jmp 0x470af5
add eax, 4
lea edx, [esp + 0x130]
push edx
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0043a640
mov byte [esp + 0x1ac], 0x17
cmp dword [esp + 0x94], ebx
jb 0x470b29
mov ecx, dword [esp + 0x80]
push ecx
call fcn.0059b877
add esp, 4
lea edx, [esp + 0x130]
push edx
lea esi, [esp + 0x9c]
call fcn.00471db0
lea esi, [esp + 0x130]
mov byte [esp + 0x1ac], 0x14
call fcn.0046a830
jmp 0x470bfa
xor eax, eax
push eax
mov dword [esi + 0x14], eax
push 0x6190bc
mov word [esi + 4], ax
call fcn.00402770
push 1
lea esi, [esp + 0x150]
call fcn.0046a790
mov bl, 0x1a
lea esi, [esp + 0x7c]
mov eax, edi
mov byte [esp + 0x1ac], bl
call fcn.0046bd30
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x13c]
mov byte [esp + 0x1b4], 0x1b
call fcn.00402580
mov byte [esp + 0x1ac], bl
cmp dword [esp + 0x94], 8
jb 0x470bc5
mov eax, dword [esp + 0x80]
push eax
call fcn.0059b877
add esp, 4
lea ecx, [esp + 0x130]
push ecx
lea esi, [esp + 0x9c]
mov byte [esp + 0x19c], 1
call fcn.00471db0
lea esi, [esp + 0x130]
mov byte [esp + 0x1ac], 0x14
call fcn.0046a830
mov ebx, 8
cmp byte [esp + 0x1bc], 0
je 0x470c51
lea esi, [esp + 0x7c]
mov eax, edi
call fcn.0046bd30
mov byte [esp + 0x1ac], 0x1c
cmp dword [eax + 0x18], ebx
jb 0x470c21
mov eax, dword [eax + 4]
jmp 0x470c24
add eax, 4
push edi
push eax
lea ebx, [esp + 0x20]
call fcn.0043a470
mov byte [esp + 0x1ac], 0x14
cmp dword [esp + 0x94], 8
jb 0x470c51
mov edx, dword [esp + 0x80]
push edx
call fcn.0059b877
add esp, 4
mov esi, dword [esp + 0x28]
add dword [esp + 0x20], 0x70
add esi, 1
mov ecx, ebp
mov dword [esp + 0x28], esi
call fcn.00428ee0
cmp esi, eax
jb 0x4709d0
xor esi, esi
mov ebx, dword [esp + 0x24]
push ebx
lea edi, [esp + 0x9c]
call fcn.00459db0
mov eax, edi
push eax
mov dword [esp + 0x30], 1
mov byte [esp + 0x1b0], 0xe
call fcn.00474630
mov eax, dword [esp + 0x38]
cmp eax, esi
je 0x470cbe
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x3c]
push ecx
call fcn.00412b40
mov edx, dword [esp + 0x3c]
push edx
call fcn.0059b877
add esp, 8
mov eax, dword [esp + 0x48]
cmp eax, esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
je 0x470ced
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x4c]
push ecx
call fcn.00412b40
mov edx, dword [esp + 0x4c]
push edx
call fcn.0059b877
add esp, 8
mov eax, dword [esp + 0x18]
cmp eax, esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
je 0x470d08
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov ecx, dword [esp + 0x1a4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x18c]
xor ecx, esp
call fcn.005b88a9
add esp, 0x19c
ret