Function at 0x481be0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51eab0
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x578bd4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10c], esi
mov edi, dword [ebp + 8]
xor ebx, ebx
push 1
mov dword [ebp - 0x118], edi
mov dword [ebp - 0x108], ebx
call fcn.00484550
test al, al
je 0x48217d
cmp dword [edi + 0x10], ebx
jne 0x481c3f
xor eax, eax
jmp 0x481c49
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x481c49
mov eax, dword [edi]
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [esi + 0x30], eax
test eax, eax
je 0x482179
cmp eax, 2
je 0x482179
xor al, al
test al, al
jne 0x481ccd
lea eax, [ebp - 0xc0]
push 0x52a774
push eax
call fcn.0043f490
add esp, 8
mov esi, eax
or ebx, 1
mov dword [ebp - 4], 0
cmp dword [0x57c0e0], 0
mov dword [ebp - 0x108], ebx
je 0x481caf
call sub.KERNEL32.dll_GetCurrentThreadId
cmp eax, dword [0x57c0e0]
je 0x481caf
call fcn.004667a0
jmp 0x481cb4
mov al, byte [0x5785ac]
test al, al
je 0x481ccd
push esi
call fcn.00466090
add esp, 4
mov byte [ebp - 0x101], 1
cmp eax, 1
jae 0x481cd4
mov byte [ebp - 0x101], 0
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x481cee
lea ecx, [ebp - 0xc0]
and ebx, 0xfffffffe
call fcn.00418510
cmp byte [ebp - 0x101], 0
je 0x48217d
push str.Cant_delete_value__s_from_key__s
lea ecx, [ebp - 0xe0]
call fcn.004287a0
xor eax, eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 4], 1
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
call fcn.00467dd0
test eax, eax
je 0x481d73
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0xe0]
push ecx
mov ecx, eax
call fcn.004681c0
mov esi, eax
test esi, esi
jne 0x481d84
lea eax, [ebp - 0xe0]
push eax
call fcn.00469180
add esp, 4
mov esi, eax
call fcn.0043fb80
mov dword [ebp - 0x138], eax
mov byte [ebp - 4], 4
call fcn.0043fb80
mov dword [ebp - 0x134], eax
mov byte [ebp - 4], 5
call fcn.0043fb80
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], esi
mov dword [ebp - 0x128], 0
push str.wx.sys_error
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 6
call fcn.004287a0
mov esi, dword [ebp - 0x10c]
lea eax, [ebp - 0x100]
push 1
push eax
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.00482620
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x120], 0
mov byte [ebp - 0x11c], 0
push edi
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 9
call fcn.00416dc0
xorps xmm0, xmm0
mov byte [ebp - 4], 0xa
mov dword [ebp - 0xa0], 1
mov dword [ebp - 0x98], str.D:wxWidgets_3.2.0_srcmsw_registry.cpp
mov dword [ebp - 0x90], str.wxRegKey::DeleteValue
mov dword [ebp - 0x94], 0x319
mov dword [ebp - 0x8c], 0x52a774
movlpd qword [ebp - 0x88], xmm0
movlpd qword [ebp - 0x80], xmm0
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [ebp - 0x78], eax
xor eax, eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov edi, dword [esi + 0x30]
mov byte [ebp - 4], 0xb
call sub.KERNEL32.dll_GetLastError
push eax
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0xa0]
call fcn.00447cb0
mov dword [ebp - 0x108], eax
lea eax, [ebp - 0x124]
mov byte [ebp - 4], 0xe
push 2
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x110], eax
call fcn.00461630
mov ecx, eax
and ecx, 6
cmp ecx, eax
je 0x481f0e
cmp dword [0x57857c], 0
je 0x481f0e
push str.format_specifier_doesnt_match_argument_type
push str._argtype___wxFormatString::Arg_String____argtype
push str.wxArgNormalizerWchar_class_wxCStrData_const__::wxArgNormalizerWchar
push 0x241
push str.D:wxWidgets_3.2.0includewx_strvararg.h
call fcn.0045f1f0
add esp, 0x14
cmp byte [0x57c0ac], 0
je 0x481f0e
mov byte [0x57c0ac], 0
int3
lea eax, [ebp - 0x158]
push 1
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x114], eax
call fcn.00461630
mov ecx, eax
and ecx, 6
cmp ecx, eax
je 0x481f6b
cmp dword [0x57857c], 0
je 0x481f6b
push str.format_specifier_doesnt_match_argument_type
push str._argtype___wxFormatString::Arg_String____argtype
push str.wxArgNormalizerWchar_class_wxString_const__::wxArgNormalizerWchar
push 0x230
push str.D:wxWidgets_3.2.0includewx_strvararg.h
call fcn.0045f1f0
add esp, 0x14
cmp byte [0x57c0ac], 0
je 0x481f6b
mov byte [0x57c0ac], 0
int3
lea ecx, [ebp - 0x138]
call fcn.00460dc0
lea ecx, [ebp - 0x110]
mov esi, eax
call fcn.00462770
push eax
lea ecx, [ebp - 0x114]
call fcn.00462790
push eax
push esi
push edi
push dword [ebp - 0x108]
call fcn.004757a0
add esp, 0x14
lea ecx, [ebp - 0x158]
call fcn.00418510
cmp byte [ebp - 0x11c], 0
je 0x481fd0
mov esi, dword [ebp - 0x124]
test esi, esi
je 0x481fd0
mov ecx, esi
call fcn.00418510
push 0x20
push esi
call fcn.004c8cae
add esp, 8
push dword [ebp - 0x58]
mov byte [ebp - 4], 8
call fcn.004e0f9d
mov ecx, dword [ebp - 0x5c]
add esp, 4
cmp ecx, 8
jb 0x482019
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x48200f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48219d
push ecx
push edx
call fcn.004c8cae
add esp, 8
mov esi, dword [ebp - 0x74]
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
test esi, esi
je 0x482083
push 0x429780
push dword [esi + 0x10]
mov byte [ebp - 4], 0xf
push dword [esi + 0x14]
call fcn.00462a80
push dword [esi + 0x10]
mov dword [esi + 0x18], 0
call fcn.004e0f9d
push 0x429750
push dword [esi]
mov byte [ebp - 4], 0x10
push dword [esi + 4]
call fcn.00462a80
push dword [esi]
mov dword [esi + 8], 0
call fcn.004e0f9d
push 0x20
push esi
call fcn.004c8cae
add esp, 0x28
lea ecx, [ebp - 0x100]
call fcn.00418510
lea ecx, [ebp - 0xc0]
call fcn.00418510
lea ecx, [ebp - 0x138]
call fcn.00428f00
push dword [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.004e0f9d
mov ecx, dword [ebp - 0x1c]
add esp, 4
cmp ecx, 8
jb 0x4820ed
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4820e3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48219d
push ecx
push edx
call fcn.004c8cae
add esp, 8
push dword [ebp - 0x38]
xor eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
mov byte [ebp - 4], 1
call fcn.004e0f9d
mov ecx, dword [ebp - 0x3c]
add esp, 4
cmp ecx, 8
jb 0x482146
mov edx, dword [ebp - 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x48213c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48219d
push ecx
push edx
call fcn.004c8cae
add esp, 8
xor eax, eax
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
mov dword [ebp - 4], 0xffffffff
call fcn.00418510
mov edi, dword [ebp - 0x118]
mov al, 1
jmp 0x481c68
mov al, 1
jmp 0x48217f
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c9126
mov esp, ebp
pop ebp
ret 4
call fcn.004ce51f
int3