Function at 0x433164
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0x18
mov eax, 0x438500
call fcn.0041ce4c
mov ebx, dword [ebp + 8]
cmp ebx, dword [0x46ec5c]
jne 0x433185
mov eax, 0xa0
jmp 0x433488
mov eax, dword [0x46ccf0]
cmp eax, 0xffffffff
jne 0x433196
movzx eax, byte [0x46d508]
test eax, eax
jne 0x433486
call fcn.0042f7bc
test eax, eax
jne 0x433486
push 1
push ebx
call fcn.004334ba
test al, al
jne 0x433486
xor edi, edi
mov esi, edi
mov dword [ebp - 0x1c], esi
lea ecx, [ebp + 0xb]
mov dword [ebp - 4], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], edi
call fcn.00433de2
movzx eax, word [ebx + 0xc]
shr eax, 1
push edi
and eax, 0x10
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebx + 8]
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x18], edi
call fcn.004336d0
test eax, eax
jne 0x43336f
jmp 0x433204
xor edi, edi
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x433213
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
push edi
lea ecx, [ebp - 0x20]
push ecx
push edi
push dword [ebx]
push eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
jne 0x43326d
cmp dword [ebp - 0x14], eax
je 0x43326d
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call main
test al, al
jne 0x433248
mov esi, dword [ebp - 0x1c]
push 8
pop edi
jmp 0x43326d
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x433254
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov esi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
push ecx
push esi
lea ecx, [ebp - 0x20]
push ecx
push 0
push dword [ebx]
push eax
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
mov edi, eax
mov eax, edi
call fcn.004335b9
test eax, eax
je 0x4332cf
push 0x1c0497
xor edi, edi
push edi
call main
mov eax, dword [ebx + 8]
movzx eax, word [eax + 6]
push dword [ebp - 0x10]
and eax, 0xf
imul eax, eax, 0xc
mov ecx, 0x46ec68
mov dword [eax + 0x46cc90], edi
call main
movzx eax, word [ebx + 0xc]
shr eax, 1
push edi
and eax, 0x10
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebx + 8]
mov dword [ebp - 0x10], edi
call fcn.004336d0
mov edi, eax
test edi, edi
je 0x433202
jmp 0x4332dc
push dword [ebp - 0x10]
mov ecx, 0x46ec68
call main
test edi, edi
jne 0x43336d
test esi, esi
je 0x43336d
movzx eax, word [ebx + 0xc]
and eax, 0xf
cmp dword [ebp - 0x20], eax
jne 0x4333d4
dec eax
cmp eax, 1
ja 0x433346
mov eax, dword [ebp - 0x14]
shr eax, 1
xor ecx, ecx
mov word [esi + eax*2 - 2], cx
mov ecx, dword [ebp + 0xc]
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43333c
test dx, dx
je 0x433335
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43333c
add eax, 4
add ecx, 4
test dx, dx
jne 0x433313
xor eax, eax
jmp 0x4333cc
sbb eax, eax
sbb eax, 0xffffffff
jmp 0x4333cc
mov eax, dword [ebp + 0x10]
cmp dword [ebp - 0x14], eax
jne 0x4333d4
push dword [ebp - 0x14]
mov eax, dword [ebp + 0xc]
push eax
push esi
call main
add esp, 0xc
test eax, eax
jne 0x4333d4
xor edi, edi
jmp 0x43346f
xor edi, edi
mov ecx, dword [ebx + 4]
cmp ecx, 0xcccccccc
je 0x4333d4
movzx eax, word [ebx + 0xc]
and eax, 0xf
jle 0x4333af
cmp eax, 2
jle 0x4333aa
cmp eax, 4
je 0x4333a3
cmp eax, 0xb
jne 0x4333af
mov eax, dword [ebp + 0xc]
cmp dword [eax], ecx
jne 0x4333d4
cmp dword [eax + 4], edi
jne 0x4333d4
jmp 0x43346f
mov eax, dword [ebp + 0xc]
cmp dword [eax], ecx
jmp 0x43339c
cmp ecx, dword [ebp + 0xc]
jmp 0x43339c
push 0x1c0499
call main
mov eax, dword [ebp + 0x10]
push eax
push dword [ebx + 4]
mov eax, dword [ebp + 0xc]
push eax
call main
add esp, 0xc
test eax, eax
je 0x43346f
push 0
jmp 0x433439
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jne 0x4333e4
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push dword [ebp + 0x10]
movzx eax, word [ebx + 0xc]
push dword [ebp + 0xc]
and eax, 0xf
push eax
push 0
push dword [ebx]
push ecx
call dword [sym.imp.advapi32.dll_RegSetValueExW]
mov edi, eax
call fcn.004335b9
test eax, eax
je 0x433462
push 0x1c049a
xor edi, edi
push edi
call main
mov eax, dword [ebx + 8]
movzx eax, word [eax + 6]
push dword [ebp - 0x10]
and eax, 0xf
imul eax, eax, 0xc
mov ecx, 0x46ec68
mov dword [eax + 0x46cc90], edi
call main
mov dword [ebp - 0x10], edi
push edi
movzx eax, word [ebx + 0xc]
and eax, 0x20
or eax, 8
shr eax, 1
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebx + 8]
call fcn.004336d0
mov edi, eax
test edi, edi
je 0x4333d8
jmp 0x43346f
push dword [ebp - 0x10]
mov ecx, 0x46ec68
call main
lea ecx, [ebp + 0xb]
call fcn.00433e03
test esi, esi
je 0x433482
push esi
call main
pop ecx
mov eax, edi
jmp 0x433488
xor eax, eax
call fcn.0041cf24
ret 0xc