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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x486af3
mov eax, dword fs:[0]
push eax
sub esp, 0x63c
mov eax, dword [0x4b31cc]
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 edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x644], eax
cmp word [edi], 0x2e
jne 0x433642
mov dword [ebp - 0x630], 0
cmp byte [ebp + 0x18], 0
mov dword [ebp - 4], 0
push edi
je 0x433952
mov dword [ebp - 0x638], 0
mov dword [ebp - 0x62c], 0
call fcn.00468d70
push eax
push edi
call fcn.00468f00
mov dword [ebp - 0x634], eax
lea eax, [ebp - 0x634]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x63c]
push 0x49a73c
push eax
call fcn.004689d0
add esp, 0x18
push eax
lea ecx, [ebp - 0x630]
mov byte [ebp - 4], 2
call fcn.004688f0
mov ecx, dword [ebp - 0x63c]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x4335db
call fcn.00468f40
mov ecx, dword [ebp - 0x634]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x4335ee
call fcn.00468f40
lea eax, [ebp - 0x640]
push eax
lea eax, [ebp - 0x62c]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea ecx, [ebp - 0x630]
call fcn.004689b0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push eax
push reloc.WS2_32.dll_accept
call ebx
mov edi, dword [ebp - 0x62c]
test edi, edi
jne 0x433649
mov ecx, dword [ebp - 0x630]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x433642
call fcn.00468f40
xor al, al
jmp 0x433a5e
cmp dword [ebp - 0x640], 2
jne 0x4336e1
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.0046e870
add esp, 0xc
mov dword [ebp - 0x634], 0x206
lea eax, [ebp - 0x634]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x48cc00
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x634]
and eax, 0xfffffffe
cmp eax, 0x208
jae 0x433850
xor ecx, ecx
mov word [ebp + eax - 0x218], cx
cmp word [ebp - 0x218], cx
je 0x4336db
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.0046dac3
add esp, 8
test eax, eax
jne 0x43362c
mov edi, dword [ebp - 0x62c]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4336e6
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
push 1
push 0x48cc00
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
push dword [ebp - 0x62c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
mov dword [ebp - 0x638], 0
call fcn.00468d70
push eax
push esi
call fcn.00468f00
mov dword [ebp - 0x634], eax
lea eax, [ebp - 0x634]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x63c]
push 0x49a73c
push eax
call fcn.004689d0
add esp, 0x18
push eax
lea ecx, [ebp - 0x630]
mov byte [ebp - 4], 4
call fcn.004688f0
mov ecx, dword [ebp - 0x63c]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x433777
call fcn.00468f40
mov ecx, dword [ebp - 0x634]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x43378a
call fcn.00468f40
lea eax, [ebp - 0x640]
push eax
lea eax, [ebp - 0x638]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea ecx, [ebp - 0x630]
call fcn.004689b0
push eax
push reloc.WS2_32.dll_accept
call ebx
mov edx, dword [ebp - 0x638]
test edx, edx
je 0x43362c
mov esi, dword [ebp - 0x644]
mov ecx, esi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4337d1
sub ecx, edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueW]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
push 1
push 0x48cc00
push edx
call edi
lea eax, [ebp - 0x640]
mov dword [ebp - 0x62c], 0
push eax
lea eax, [ebp - 0x62c]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x49a760
push dword [ebp - 0x638]
call ebx
cmp dword [ebp - 0x62c], 0
je 0x43362c
cmp byte [ebp + 8], 0
lea eax, [ebp - 0x628]
push 0x4b5060
je 0x433855
push 0x49a788
jmp 0x43385a
call fcn.00470c71
push 0x49a7c0
push eax
call fcn.00430500
lea ecx, [ebp - 0x628]
add esp, 0xc
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x433870
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x628]
push eax
push 1
push 0x48cc00
push dword [ebp - 0x62c]
call edi
push dword [ebp - 0x62c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
lea eax, [ebp - 0x640]
mov dword [ebp - 0x62c], 0
push eax
lea eax, [ebp - 0x62c]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x49a7e8
push dword [ebp - 0x638]
call ebx
cmp dword [ebp - 0x62c], 0
je 0x43362c
push 0x4b5060
lea eax, [ebp - 0x628]
push 0x49a800
push eax
call fcn.00430500
lea ecx, [ebp - 0x628]
add esp, 0xc
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x433910
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x628]
push eax
push 1
push 0x48cc00
push dword [ebp - 0x62c]
call edi
push dword [ebp - 0x62c]
call esi
push dword [ebp - 0x638]
call esi
jmp 0x433a35
call fcn.00468d70
push eax
push edi
call fcn.00468f00
mov dword [ebp - 0x634], eax
lea eax, [ebp - 0x634]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x644]
push 0x49a73c
push eax
call fcn.004689d0
add esp, 0x18
push eax
lea ecx, [ebp - 0x630]
mov byte [ebp - 4], 6
call fcn.004688f0
mov ecx, dword [ebp - 0x644]
mov byte [ebp - 4], 5
test ecx, ecx
je 0x4339a6
call fcn.00468f40
mov ecx, dword [ebp - 0x634]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x4339b9
call fcn.00468f40
lea ecx, [ebp - 0x630]
call fcn.004689b0
push eax
push reloc.WS2_32.dll_accept
call fcn.00432e30
push esi
call fcn.00468d70
push eax
push esi
call fcn.00468f00
mov dword [ebp - 0x63c], eax
lea eax, [ebp - 0x63c]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x648]
push 0x49a73c
push eax
call fcn.004689d0
add esp, 0x20
mov ecx, dword [ebp - 0x63c]
mov byte [ebp - 4], 9
test ecx, ecx
je 0x433a14
call fcn.00468f40
push esi
push reloc.WS2_32.dll_accept
call fcn.00432e30
mov ecx, dword [ebp - 0x648]
add esp, 8
mov byte [ebp - 4], 0
test ecx, ecx
je 0x433a35
call fcn.00468f40
push 0
push 0
push 0
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov ecx, dword [ebp - 0x630]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x433a5c
call fcn.00468f40
mov al, 1
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.0046dfbe
mov esp, ebp
pop ebp
ret