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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4894f3
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 - 0x644], eax
cmp word [edi], 0x2e
jne 0x4345f2
mov dword [ebp - 0x630], 0
cmp byte [ebp + 0x18], 0
mov dword [ebp - 4], 0
push edi
je 0x434902
mov dword [ebp - 0x638], 0
mov dword [ebp - 0x62c], 0
call fcn.0046a680
push eax
push edi
call fcn.0046a810
mov dword [ebp - 0x634], eax
lea eax, [ebp - 0x634]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x63c]
push 0x4a27ac
push eax
call fcn.0046a2e0
add esp, 0x18
push eax
lea ecx, [ebp - 0x630]
mov byte [ebp - 4], 2
call fcn.0046a200
mov ecx, dword [ebp - 0x63c]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x43458b
call fcn.0046a850
mov ecx, dword [ebp - 0x634]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x43459e
call fcn.0046a850
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.0046a2c0
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 0x4345f9
mov ecx, dword [ebp - 0x630]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x4345f2
call fcn.0046a850
xor al, al
jmp 0x434a0e
cmp dword [ebp - 0x640], 2
jne 0x434691
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.00470180
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 0x490c20
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x634]
and eax, 0xfffffffe
cmp eax, 0x208
jae 0x434800
xor ecx, ecx
mov word [ebp + eax - 0x218], cx
cmp word [ebp - 0x218], cx
je 0x43468b
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.0046f3d3
add esp, 8
test eax, eax
jne 0x4345dc
mov edi, dword [ebp - 0x62c]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x434696
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
push 1
push 0x490c20
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.0046a680
push eax
push esi
call fcn.0046a810
mov dword [ebp - 0x634], eax
lea eax, [ebp - 0x634]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x63c]
push 0x4a27ac
push eax
call fcn.0046a2e0
add esp, 0x18
push eax
lea ecx, [ebp - 0x630]
mov byte [ebp - 4], 4
call fcn.0046a200
mov ecx, dword [ebp - 0x63c]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x434727
call fcn.0046a850
mov ecx, dword [ebp - 0x634]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x43473a
call fcn.0046a850
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.0046a2c0
push eax
push reloc.WS2_32.dll_accept
call ebx
mov edx, dword [ebp - 0x638]
test edx, edx
je 0x4345dc
mov esi, dword [ebp - 0x644]
mov ecx, esi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x434781
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 0x490c20
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 0x4a27d0
push dword [ebp - 0x638]
call ebx
cmp dword [ebp - 0x62c], 0
je 0x4345dc
cmp byte [ebp + 8], 0
lea eax, [ebp - 0x628]
push 0x4be0a8
je 0x434805
push 0x4a27f8
jmp 0x43480a
call fcn.00472bf1
push 0x4a2830
push eax
call fcn.004314b0
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 0x434820
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x628]
push eax
push 1
push 0x490c20
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 0x4a2858
push dword [ebp - 0x638]
call ebx
cmp dword [ebp - 0x62c], 0
je 0x4345dc
push 0x4be0a8
lea eax, [ebp - 0x628]
push 0x4a2870
push eax
call fcn.004314b0
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 0x4348c0
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x628]
push eax
push 1
push 0x490c20
push dword [ebp - 0x62c]
call edi
push dword [ebp - 0x62c]
call esi
push dword [ebp - 0x638]
call esi
jmp 0x4349e5
call fcn.0046a680
push eax
push edi
call fcn.0046a810
mov dword [ebp - 0x634], eax
lea eax, [ebp - 0x634]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x644]
push 0x4a27ac
push eax
call fcn.0046a2e0
add esp, 0x18
push eax
lea ecx, [ebp - 0x630]
mov byte [ebp - 4], 6
call fcn.0046a200
mov ecx, dword [ebp - 0x644]
mov byte [ebp - 4], 5
test ecx, ecx
je 0x434956
call fcn.0046a850
mov ecx, dword [ebp - 0x634]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x434969
call fcn.0046a850
lea ecx, [ebp - 0x630]
call fcn.0046a2c0
push eax
push reloc.WS2_32.dll_accept
call fcn.00433de0
push esi
call fcn.0046a680
push eax
push esi
call fcn.0046a810
mov dword [ebp - 0x63c], eax
lea eax, [ebp - 0x63c]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x648]
push 0x4a27ac
push eax
call fcn.0046a2e0
add esp, 0x20
mov ecx, dword [ebp - 0x63c]
mov byte [ebp - 4], 9
test ecx, ecx
je 0x4349c4
call fcn.0046a850
push esi
push reloc.WS2_32.dll_accept
call fcn.00433de0
mov ecx, dword [ebp - 0x648]
add esp, 8
mov byte [ebp - 4], 0
test ecx, ecx
je 0x4349e5
call fcn.0046a850
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 0x434a0c
call fcn.0046a850
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.0046f8ce
mov esp, ebp
pop ebp
ret