Function at 0x453340
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6af8
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x511070]
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 ebx, ecx
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xb8], edi
lea ecx, [ebp - 0xb4]
mov dword [ebp - 4], 0
mov eax, dword [esi]
push ecx
push 0
push 0
push 0
push esi
mov dword [ebp - 0xb4], 0
call dword [eax + 0x2c]
test eax, eax
js 0x45371f
mov dword [ebp - 0xb0], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xb4]
test eax, eax
je 0x453754
nop word [eax + eax]
mov ecx, dword [eax]
lea edx, [ebp - 0xa0]
push 0
push edx
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x45370b
mov eax, dword [ebp - 0x9c]
sub eax, 1
je 0x45359a
sub eax, 1
jne 0x453575
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 5
push ecx
push 0
push 0x10
push 0
push dword [ebp - 0xa0]
mov dword [ebp - 0xac], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x10]
mov eax, dword [ebp - 0xac]
test eax, eax
je 0x453754
mov ecx, dword [eax]
lea edx, [ebp - 0x58]
push 1
push edx
push eax
call dword [ecx + 0x30]
test eax, eax
js 0x4536f7
mov eax, dword [ebp - 0xac]
test eax, eax
je 0x453754
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push eax
call dword [ecx + 0x14]
test eax, eax
js 0x4536f7
mov edi, dword [ebp - 0x50]
push edi
mov dword [ebp - 0xbc], edi
call fcn.004a5807
mov esi, eax
add esp, 4
mov dword [ebp - 0xcc], esi
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0xac]
test eax, eax
je 0x453754
mov ecx, dword [eax]
lea edx, [ebp - 0xbc]
push edx
push edi
push esi
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x4536ea
push 0
lea eax, [ebp - 0xa4]
mov dword [ebx + 0x18], 1
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push dword [ebp - 0xb8]
mov dword [ebp - 0xa4], 0
push reloc.WS2_32.dll_closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x45352c
cmp dword [ebx + 0x14], eax
je 0x45351f
mov eax, dword [ebp - 0xa4]
test eax, eax
je 0x453525
push edi
push esi
push 3
push 0
push dword [ebp - 0xa0]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x45351f
mov eax, dword [ebp - 0xa4]
mov ecx, 1
mov dword [ebx + 0x14], ecx
jmp 0x453539
mov eax, dword [ebp - 0xa4]
xor ecx, ecx
mov dword [ebx + 0x14], ecx
jmp 0x453539
mov eax, dword [ebp - 0xa4]
mov dword [ebx + 0x14], 0
test eax, eax
je 0x453544
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xa4], 0
test esi, esi
je 0x45355b
push esi
call fcn.004a5802
add esp, 4
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xac]
test eax, eax
je 0x45356f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edi, dword [ebp - 0xb8]
push dword [ebp - 0xa0]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [ebp - 0xb4]
test eax, eax
je 0x453754
mov esi, dword [ebp - 0xc8]
jmp 0x4533d0
mov eax, dword [ebp - 0xb0]
test eax, eax
je 0x4535aa
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi]
lea ecx, [ebp - 0xb0]
push ecx
push 0
push 0
push 0x12
push 0
push dword [ebp - 0xa0]
mov dword [ebp - 0xb0], 0
push esi
call dword [eax + 0x18]
test eax, eax
js 0x45370b
push edi
lea ecx, [ebp - 0xa8]
call fcn.0041c970
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0xa8]
cmp dword [eax - 0xc], 0
je 0x45367d
push str.0s
lea edx, [ebp - 0xa8]
lea ecx, [ebp - 0xc4]
call fcn.0041c010
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xc0]
push dword [ebp - 0xa0]
mov edx, eax
call fcn.0041c010
add esp, 8
push eax
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 4
call fcn.0041c6d0
mov byte [ebp - 4], 3
or eax, 0xffffffff
mov edx, dword [ebp - 0xc0]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x453659
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
or eax, 0xffffffff
mov edx, dword [ebp - 0xc4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4536ac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4536ac
mov edx, dword [ebp - 0xa0]
test edx, edx
jne 0x45368b
xor eax, eax
jmp 0x45369f
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x453690
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0xa8]
call fcn.0041ccd0
push dword [ebp - 0xa8]
mov ecx, ebx
push dword [ebp - 0xb0]
call fcn.00453340
mov byte [ebp - 4], 1
or eax, 0xffffffff
mov edx, dword [ebp - 0xa8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x453575
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x453575
test esi, esi
je 0x4536f7
push esi
call fcn.004a5802
add esp, 4
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xac]
test eax, eax
je 0x45370b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0xb0]
test eax, eax
je 0x45371f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xb4]
test eax, eax
je 0x453736
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
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.004a578d
mov esp, ebp
pop ebp
ret 8
push 0x80004003
call fcn.004a67b0
int3