Function at 0x5fa3b0
Capabilities:
Delete registry key
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x709d02
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x831704]
xor eax, esp
mov dword [esp + 0x16c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x831704]
xor eax, esp
push eax
lea eax, [esp + 0x184]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [0x87e974], 0
je 0x5fa411
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x87e974]
je 0x5fa411
push 0
call fcn.005e3e40
add esp, 4
mov bl, al
jmp 0x5fa41e
mov bl, byte [0x82e9e4]
mov byte [0x82e9e4], 0
mov byte [esp + 0x14], bl
mov byte [esp + 0x1b], bl
push 1
mov ecx, edi
mov dword [esp + 0x190], 0
call fcn.005fc120
mov dword [esp + 0x18c], 0xffffffff
test al, al
jne 0x5fa47f
cmp dword [0x87e974], 0
je 0x5fa472
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x87e974]
je 0x5fa472
push dword [esp + 0x14]
call fcn.005e3e40
add esp, 4
mov al, 1
jmp 0x5facd2
mov byte [0x82e9e4], bl
mov al, 1
jmp 0x5facd2
cmp dword [0x87e974], 0
je 0x5fa4a3
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x87e974]
je 0x5fa4a3
push dword [esp + 0x14]
call fcn.005e3e40
add esp, 4
jmp 0x5fa4a9
mov byte [0x82e9e4], bl
cmp dword [edi + 0x18], 0
je 0x5faa70
mov eax, dword [edi + 4]
cmp eax, dword [0x82eac8]
je 0x5fa4d3
push 0
push 0x5c
lea ecx, [edi + 8]
call fcn.005c8c10
cmp eax, 0xffffffff
je 0x5faa70
push 0
lea ecx, [esp + 0x24]
call fcn.005d94a0
xor eax, eax
mov dword [esp + 0x18c], 9
mov dword [esp + 0xcc], 7
mov dword [esp + 0xc8], 0
mov word [esp + 0xb8], ax
mov dword [esp + 0xd0], eax
push eax
mov ecx, edi
mov byte [esp + 0x190], 0xa
call fcn.005fc120
test al, al
je 0x5fa56f
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
lea eax, [esp + 0xbc]
mov ecx, edi
push eax
call fcn.005fb4b0
test al, al
je 0x5fa56f
push 1
lea eax, [esp + 0xbc]
push eax
lea ecx, [esp + 0x28]
call fcn.005d8e70
lea eax, [esp + 0x14]
mov ecx, edi
push eax
lea eax, [esp + 0xbc]
push eax
call fcn.005fb4b0
test al, al
jne 0x5fa544
mov eax, dword [esp + 0x24]
xor esi, esi
mov ebp, dword [sym.imp.MSVCR120.dll_free]
mov dword [esp + 0x14], eax
test eax, eax
je 0x5fa67d
xor ebx, ebx
lea esp, [esp]
cmp dword [0x82e960], 0
je 0x5fa5cf
cmp esi, eax
jb 0x5fa5cf
push str.wxArrayString:_index_out_of_bounds
push str.nIndex___m_nCount
push str.wxArrayString::Item
push 0xb2
push str.C:SourceSvn_trunk_tools_sourcewxWidgets_3.0includewx_arrstr.h
call fcn.005c7220
add esp, 0x14
cmp byte [0x87c8e0], 0
je 0x5fa5cf
mov byte [0x87c8e0], 0
int3
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x70]
add eax, ebx
push eax
push edi
call fcn.005f8960
lea ecx, [esp + 0x70]
mov byte [esp + 0x18c], 0xb
call fcn.005fa3b0
test al, al
je 0x5fa643
lea ecx, [esp + 0x70]
mov byte [esp + 0x18c], 0xd
call fcn.005f8ca0
push dword [esp + 0x90]
mov byte [esp + 0x190], 0xa
call ebp
add esp, 4
cmp dword [esp + 0x8c], 8
jb 0x5fa630
push dword [esp + 0x78]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
inc esi
add ebx, 0x20
cmp esi, dword [esp + 0x14]
jae 0x5fa67d
mov eax, dword [esp + 0x24]
jmp 0x5fa590
lea ecx, [esp + 0x70]
mov byte [esp + 0x18c], 0xc
call fcn.005f8ca0
push dword [esp + 0x90]
call ebp
add esp, 4
cmp dword [esp + 0x8c], 8
jb 0x5fa676
push dword [esp + 0x78]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor bl, bl
jmp 0x5faa07
mov ecx, edi
call fcn.005f8ca0
push 8
xor eax, eax
mov dword [esp + 0x68], 7
push str.advapi32
lea ecx, [esp + 0x58]
mov dword [esp + 0x68], 0
mov word [esp + 0x58], ax
call fcn.00419290
mov dword [esp + 0x68], 0
push 2
lea eax, [esp + 0x54]
mov byte [esp + 0x190], 0xe
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], 0
call fcn.006154c0
push dword [esp + 0x68]
mov byte [esp + 0x190], 0x10
call ebp
add esp, 4
cmp dword [esp + 0x64], 8
jb 0x5fa6f7
push dword [esp + 0x50]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esp + 0x64], 7
push 0xe
push str.RegDeleteKeyEx
lea ecx, [esp + 0x38]
mov dword [esp + 0x68], 0
mov word [esp + 0x58], ax
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], eax
mov word [esp + 0x38], ax
call fcn.00419290
mov dword [esp + 0x48], 0
lea eax, [esp + 0x1b]
mov byte [esp + 0x18c], 0x11
push eax
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x24]
call fcn.00615100
push dword [esp + 0x48]
mov byte [esp + 0x190], 0x10
call ebp
add esp, 4
cmp dword [esp + 0x44], 8
jb 0x5fa776
push dword [esp + 0x30]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp byte [esp + 0x1b], 0
je 0x5fa826
push 0xe
xor eax, eax
mov dword [esp + 0x48], 7
push str.RegDeleteKeyEx
lea ecx, [esp + 0x38]
mov dword [esp + 0x48], 0
mov word [esp + 0x38], ax
call fcn.00419290
mov dword [esp + 0x48], 0
push 0
lea eax, [esp + 0x34]
mov byte [esp + 0x190], 0x12
push eax
lea ecx, [esp + 0x24]
call fcn.00615190
push dword [esp + 0x48]
mov ebx, eax
mov byte [esp + 0x190], 0x10
call ebp
add esp, 4
cmp dword [esp + 0x44], 8
jb 0x5fa7ee
push dword [esp + 0x30]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esp + 0x44], 7
cmp dword [edi + 0x1c], 8
lea esi, [edi + 8]
mov dword [esp + 0x40], 0
mov word [esp + 0x30], ax
jb 0x5fa810
mov esi, dword [esi]
push 0
push dword [edi + 0x28]
call fcn.005fb340
add esp, 4
push eax
push esi
push dword [edi + 4]
call ebx
jmp 0x5fa83b
cmp dword [edi + 0x1c], 8
lea eax, [edi + 8]
jb 0x5fa831
mov eax, dword [eax]
push eax
push dword [edi + 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov dword [edi + 0x30], eax
test eax, eax
je 0x5fa9e4
cmp eax, 2
je 0x5fa9e4
sub esp, 0x20
mov ecx, esp
push 0x721844
call fcn.00418040
push 1
call fcn.00439d10
add esp, 0x24
test al, al
je 0x5fa9e0
push str.Cant_delete_key__s
lea ecx, [esp + 0xfc]
call fcn.00418040
xor eax, eax
mov dword [esp + 0xec], 7
mov dword [esp + 0xe8], 0
mov word [esp + 0xd8], ax
mov dword [esp + 0xf0], eax
mov byte [esp + 0x18c], 0x14
call fcn.005eae80
test eax, eax
je 0x5fa8d4
lea ecx, [esp + 0xd8]
push ecx
lea ecx, [esp + 0xfc]
push ecx
mov ecx, eax
call fcn.005ecae0
test eax, eax
jne 0x5fa8e4
lea eax, [esp + 0xf8]
push eax
call fcn.005ed1e0
add esp, 4
push eax
lea ecx, [esp + 0x34]
call fcn.0041fd90
push str.wx.sys_error
lea ecx, [esp + 0x11c]
mov byte [esp + 0x190], 0x15
call fcn.00418040
push 1
lea eax, [esp + 0x74]
mov byte [esp + 0x190], 0x16
push eax
mov ecx, edi
call fcn.005fb3b0
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x20], esp
push ecx
mov ecx, eax
call fcn.0041f670
push 0x721844
push str.wxRegKey::DeleteSelf
push 0x308
push str....._srcmsw_registry.cpp
push 1
lea ecx, [esp + 0x158]
mov byte [esp + 0x1ac], 0x18
call fcn.00439de0
mov esi, eax
mov byte [esp + 0x198], 0x19
lea eax, [esp + 0x3c]
push eax
push dword [edi + 0x30]
call sub.KERNEL32.dll_GetLastError
push eax
lea eax, [esp + 0x130]
mov ecx, esi
push eax
call fcn.0049dde0
mov ecx, eax
mov byte [esp + 0x1a0], 0x1a
call fcn.005f8550
lea ecx, [esp + 0x138]
mov byte [esp + 0x18c], 0x17
call fcn.0043f270
lea ecx, [esp + 0x70]
call fcn.00418210
lea ecx, [esp + 0x118]
call fcn.00418210
lea ecx, [esp + 0x30]
mov byte [esp + 0x18c], 0x14
call fcn.00420020
lea ecx, [esp + 0xd8]
call fcn.00418210
lea ecx, [esp + 0xf8]
call fcn.00418210
xor bl, bl
jmp 0x5fa9e6
mov bl, 1
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x18c], 0xa
test eax, eax
je 0x5faa07
push eax
call fcn.006158a0
add esp, 4
mov dword [esp + 0x1c], 0
push dword [esp + 0xd0]
call ebp
add esp, 4
cmp dword [esp + 0xcc], 8
jb 0x5faa2c
push dword [esp + 0xb8]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esp + 0xcc], 7
lea ecx, [esp + 0x20]
mov dword [esp + 0xc8], 0
mov word [esp + 0xb8], ax
mov dword [esp + 0x18c], 0xffffffff
call fcn.005d8cf0
mov al, bl
jmp 0x5facd2
sub esp, 0x20
mov ecx, esp
push 0x721844
call fcn.00418040
push 1
call fcn.00439d10
add esp, 0x24
test al, al
je 0x5facd0
push str.Registry_key__s_is_needed_for_normal_system_operation__ndeleting_it_will_leave_your_system_in_unusable_state:_noperation_aborted.
lea ecx, [esp + 0xdc]
call fcn.00418040
xor eax, eax
mov dword [esp + 0x18c], 1
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], 0
mov word [esp + 0x50], ax
mov dword [esp + 0x68], eax
mov byte [esp + 0x18c], 2
call fcn.005eae80
test eax, eax
je 0x5faaf3
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0xdc]
push ecx
mov ecx, eax
call fcn.005ecae0
mov esi, eax
test esi, esi
jne 0x5fab05
lea eax, [esp + 0xd8]
push eax
call fcn.005ed1e0
add esp, 4
mov esi, eax
call fcn.005c92f0
mov dword [esp + 0x30], eax
mov byte [esp + 0x18c], 3
call fcn.005c92f0
mov dword [esp + 0x34], eax
mov byte [esp + 0x18c], 4
call fcn.005c92f0
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], 0
sub esp, 0x20
mov byte [esp + 0x1ac], 5
mov eax, esp
mov dword [esp + 0x34], esp
push edi
push eax
call fcn.005fb290
push 0
mov byte [esp + 0x1b8], 6
mov dword [esp + 0x9c], 1
mov dword [esp + 0xa4], str....._srcmsw_registry.cpp
mov dword [esp + 0xac], str.wxRegKey::DeleteSelf
mov dword [esp + 0xa8], 0x2d6
mov dword [esp + 0xb0], 0x721844
call dword [sym.imp.MSVCR120.dll__time64]
add esp, 0xc
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], edx
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [esp + 0xb0], eax
xor eax, eax
mov dword [esp + 0xb4], 0
mov dword [esp + 0xcc], 7
mov dword [esp + 0xc8], 0
mov word [esp + 0xb8], ax
mov dword [esp + 0xd0], eax
mov byte [esp + 0x1ac], 7
lea eax, [esp + 0x50]
mov byte [esp + 0x1ac], 8
push eax
lea ecx, [esp + 0x94]
call fcn.00482da0
push dword [esp + 0xb0]
mov esi, dword [sym.imp.MSVCR120.dll_free]
mov byte [esp + 0x190], 5
call esi
add esp, 4
cmp dword [esp + 0xac], 8
jb 0x5fac3e
push dword [esp + 0x98]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esp + 0xac], 7
lea ecx, [esp + 0x78]
mov dword [esp + 0xa8], 0
mov word [esp + 0x98], ax
call fcn.00439c40
lea ecx, [esp + 0x30]
mov byte [esp + 0x18c], 2
call fcn.00420020
push dword [esp + 0x68]
call esi
add esp, 4
cmp dword [esp + 0x64], 8
jb 0x5fac94
push dword [esp + 0x50]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
push dword [esp + 0xf0]
xor eax, eax
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], 0
mov word [esp + 0x54], ax
call esi
add esp, 4
cmp dword [esp + 0xec], 8
jb 0x5facd0
push dword [esp + 0xd8]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor al, al
mov ecx, dword [esp + 0x184]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x16c]
xor ecx, esp
call fcn.006d1ba7
add esp, 0x17c
ret