Function at 0x433510
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4a028c
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x4d6720]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d6720]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
lea eax, [esp + 0x30]
xor esi, esi
push eax
mov dword [esp + 0x1c], esi
call fcn.00423f40
add esp, 4
mov dword [esp + 0x260], esi
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x1c]
push ecx
push 0x2001f
push esi
push edx
push SysReAllocString
mov dword [esp + 0x48], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x433810
call fcn.00468b49
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x4335ac
push 0x80004005
call fcn.00401210
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x14], ebp
lea ecx, [esp + 0x38]
mov byte [esp + 0x260], 1
mov dword [esp + 0x18], 1
call fcn.0046faa9
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
push esi
push esi
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x28]
push esi
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x60]
push eax
push esi
mov ebx, 2
push ecx
mov byte [esp + 0x280], bl
mov dword [esp + 0x40], 0x104
call edi
test eax, eax
jne 0x433731
cmp dword [esp + 0x2c], 1
jne 0x433731
mov eax, dword [esp + 0x34]
push 4
lea edx, [esp + 0x50]
push edx
push 4
push str.WOSB
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, ebx
jne 0x433703
lea eax, [esp + 0x4c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, ebx
test cx, cx
jne 0x433646
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00401760
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 0xc]
add eax, 0xfffffffc
push eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x1c]
call fcn.004068e0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x264], 3
call fcn.00401a50
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x260], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4336b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebp, dword [esp + 0x14]
cmp dword [ebp - 0xc], 0
jne 0x4336ca
mov eax, 1
mov dword [esp + 0x24], eax
jmp 0x4336f4
lea ecx, [esp + 0x24]
push ecx
push 0x4a9f84
push ebp
call fcn.00483f15
add esp, 0xc
cmp eax, 1
je 0x4336ec
mov dword [esp + 0x24], 0
jmp 0x433703
mov eax, dword [esp + 0x24]
test eax, eax
je 0x433703
mov edx, dword [esp + 0x40]
push eax
push edx
lea ecx, [esp + 0x40]
call fcn.004771af
push 0
push 0
lea eax, [esp + 0x34]
push eax
mov eax, dword [esp + 0x28]
push 0
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x60]
push edx
inc esi
push esi
push eax
mov dword [esp + 0x40], 0x104
call edi
test eax, eax
je 0x433611
cmp eax, 0x103
je 0x433740
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x40]
xor esi, esi
test eax, eax
jle 0x4337b9
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test esi, esi
jl 0x43380b
cmp esi, eax
jge 0x43380b
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + esi*4]
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.00422880
mov eax, dword [eax]
mov ecx, dword [esp + 0x24]
add esp, 8
push eax
push ecx
call edi
test eax, eax
mov eax, dword [esp + 0x28]
setne bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4337a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4337b0
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x40]
inc esi
cmp esi, eax
jl 0x433750
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x38]
mov byte [esp + 0x260], 1
call fcn.0046fac0
lea eax, [ebp - 0x10]
mov byte [esp + 0x260], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4337f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x18], 0
je 0x433810
push 0
push str.Removed_all_WOSB_instances_from_autostart
push 0
jmp 0x433819
call fcn.0046132c
push 0x77
push str.Error_removing_all_WOSB_instances_from_autostart
push 4
call fcn.0042fc90
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
add esp, 0xc
mov dword [esp + 0x260], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43384c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x258]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.00482b5f
add esp, 0x250
ret