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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48aab3
mov eax, dword fs:[0]
push eax
sub esp, 0x63c
mov eax, dword [0x4bc1dc]
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 - 0x638], eax
cmp word [edi], 0x2e
jne 0x434e98
mov dword [ebp - 0x62c], 0
cmp byte [ebp + 0x18], 0
mov dword [ebp - 4], 0
push edi
je 0x4351b9
mov dword [ebp - 0x63c], 0
mov dword [ebp - 0x630], 0
call fcn.0046b670
push eax
push edi
call fcn.0046b800
mov dword [ebp - 0x634], eax
lea eax, [ebp - 0x634]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x640]
push 0x4a2cec
push eax
call fcn.0046b330
add esp, 0x18
mov edi, eax
mov ecx, dword [ebp - 0x62c]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x434e0d
call fcn.0046b840
mov ecx, dword [edi]
mov dword [ebp - 0x62c], ecx
test ecx, ecx
je 0x434e1e
call fcn.0046b5c0
mov ecx, dword [ebp - 0x640]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x434e31
call fcn.0046b840
mov ecx, dword [ebp - 0x634]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x434e44
call fcn.0046b840
lea eax, [ebp - 0x644]
push eax
lea eax, [ebp - 0x630]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea ecx, [ebp - 0x62c]
call fcn.0046b310
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push eax
push reloc.WS2_32.dll_accept
call ebx
mov edi, dword [ebp - 0x630]
test edi, edi
jne 0x434e9f
mov ecx, dword [ebp - 0x62c]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x434e98
call fcn.0046b840
xor al, al
jmp 0x4352db
cmp dword [ebp - 0x644], 2
jne 0x434f37
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.00471730
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 0x490b00
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x634]
and eax, 0xfffffffe
cmp eax, 0x208
jae 0x4350c5
xor ecx, ecx
mov word [ebp + eax - 0x218], cx
cmp word [ebp - 0x218], cx
je 0x434f31
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.0047097c
add esp, 8
test eax, eax
jne 0x434e82
mov edi, dword [ebp - 0x630]
mov ecx, esi
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x434f40
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
push 1
push 0x490b00
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
push dword [ebp - 0x630]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call edi
push esi
mov dword [ebp - 0x63c], 0
call fcn.0046b670
push eax
push esi
call fcn.0046b800
mov dword [ebp - 0x634], eax
lea eax, [ebp - 0x634]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x640]
push 0x4a2cec
push eax
call fcn.0046b330
add esp, 0x18
mov esi, eax
mov ecx, dword [ebp - 0x62c]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x434fc5
call fcn.0046b840
mov ecx, dword [esi]
mov dword [ebp - 0x62c], ecx
test ecx, ecx
je 0x434fd6
call fcn.0046b5c0
mov ecx, dword [ebp - 0x640]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x434fe9
call fcn.0046b840
mov ecx, dword [ebp - 0x634]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x434ffc
call fcn.0046b840
lea eax, [ebp - 0x644]
push eax
lea eax, [ebp - 0x63c]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea ecx, [ebp - 0x62c]
call fcn.0046b310
push eax
push reloc.WS2_32.dll_accept
call ebx
mov edx, dword [ebp - 0x63c]
test edx, edx
je 0x434e82
mov ecx, dword [ebp - 0x638]
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x435041
sub ecx, esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueW]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push dword [ebp - 0x638]
push 1
push 0x490b00
push edx
call esi
lea eax, [ebp - 0x644]
mov dword [ebp - 0x630], 0
push eax
lea eax, [ebp - 0x630]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x4a2d10
push dword [ebp - 0x63c]
call ebx
cmp dword [ebp - 0x630], 0
je 0x434e82
cmp byte [ebp + 8], 0
lea eax, [ebp - 0x628]
push 0x4be3e0
je 0x4350ca
push 0x4a2d38
jmp 0x4350cf
call fcn.004741a1
push 0x4a2d70
push eax
call fcn.00431c90
lea ecx, [ebp - 0x628]
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4350e1
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x628]
push eax
push 1
push 0x490b00
push dword [ebp - 0x630]
call esi
push dword [ebp - 0x630]
call edi
lea eax, [ebp - 0x644]
mov dword [ebp - 0x630], 0
push eax
lea eax, [ebp - 0x630]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x4a2d98
push dword [ebp - 0x63c]
call ebx
cmp dword [ebp - 0x630], 0
je 0x434e82
push 0x4be3e0
lea eax, [ebp - 0x628]
push 0x4a2db0
push eax
call fcn.00431c90
lea ecx, [ebp - 0x628]
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x435177
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x628]
push eax
push 1
push 0x490b00
push dword [ebp - 0x630]
call esi
push dword [ebp - 0x630]
call edi
push dword [ebp - 0x63c]
call edi
jmp 0x4352b2
call fcn.0046b670
push eax
push edi
call fcn.0046b800
mov dword [ebp - 0x638], eax
lea eax, [ebp - 0x638]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x640]
push 0x4a2cec
push eax
call fcn.0046b330
add esp, 0x18
mov edi, eax
mov ecx, dword [ebp - 0x62c]
mov byte [ebp - 4], 6
test ecx, ecx
je 0x4351ff
call fcn.0046b840
mov ecx, dword [edi]
mov dword [ebp - 0x62c], ecx
test ecx, ecx
je 0x435210
call fcn.0046b5c0
mov ecx, dword [ebp - 0x640]
mov byte [ebp - 4], 5
test ecx, ecx
je 0x435223
call fcn.0046b840
mov ecx, dword [ebp - 0x638]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x435236
call fcn.0046b840
lea ecx, [ebp - 0x62c]
call fcn.0046b310
push eax
push reloc.WS2_32.dll_accept
call fcn.00434670
push esi
call fcn.0046b670
push eax
push esi
call fcn.0046b800
mov dword [ebp - 0x638], eax
lea eax, [ebp - 0x638]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x648]
push 0x4a2cec
push eax
call fcn.0046b330
add esp, 0x20
mov ecx, dword [ebp - 0x638]
mov byte [ebp - 4], 9
test ecx, ecx
je 0x435291
call fcn.0046b840
push esi
push reloc.WS2_32.dll_accept
call fcn.00434670
mov ecx, dword [ebp - 0x648]
add esp, 8
mov byte [ebp - 4], 0
test ecx, ecx
je 0x4352b2
call fcn.0046b840
push 0
push 0
push 0
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov ecx, dword [ebp - 0x62c]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x4352d9
call fcn.0046b840
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.00470e77
mov esp, ebp
pop ebp
ret