Function at 0x453570
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d70f8
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 0x45394f
mov dword [ebp - 0xb0], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xb4]
test eax, eax
je 0x453984
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 0x45393b
mov eax, dword [ebp - 0x9c]
sub eax, 1
je 0x4537ca
sub eax, 1
jne 0x4537a5
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 0x453984
mov ecx, dword [eax]
lea edx, [ebp - 0x58]
push 1
push edx
push eax
call dword [ecx + 0x30]
test eax, eax
js 0x453927
mov eax, dword [ebp - 0xac]
test eax, eax
je 0x453984
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push eax
call dword [ecx + 0x14]
test eax, eax
js 0x453927
mov edi, dword [ebp - 0x50]
push edi
mov dword [ebp - 0xbc], edi
call fcn.004a5d8d
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 0x453984
mov ecx, dword [eax]
lea edx, [ebp - 0xbc]
push edx
push edi
push esi
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x45391a
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 0x45375c
cmp dword [ebx + 0x14], eax
je 0x45374f
mov eax, dword [ebp - 0xa4]
test eax, eax
je 0x453755
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 0x45374f
mov eax, dword [ebp - 0xa4]
mov ecx, 1
mov dword [ebx + 0x14], ecx
jmp 0x453769
mov eax, dword [ebp - 0xa4]
xor ecx, ecx
mov dword [ebx + 0x14], ecx
jmp 0x453769
mov eax, dword [ebp - 0xa4]
mov dword [ebx + 0x14], 0
test eax, eax
je 0x453774
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xa4], 0
test esi, esi
je 0x45378b
push esi
call fcn.004a5d88
add esp, 4
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xac]
test eax, eax
je 0x45379f
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 0x453984
mov esi, dword [ebp - 0xc8]
jmp 0x453600
mov eax, dword [ebp - 0xb0]
test eax, eax
je 0x4537da
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 0x45393b
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 0x4538ad
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 0x453889
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 0x4538dc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4538dc
mov edx, dword [ebp - 0xa0]
test edx, edx
jne 0x4538bb
xor eax, eax
jmp 0x4538cf
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4538c0
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.00453570
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 0x4537a5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4537a5
test esi, esi
je 0x453927
push esi
call fcn.004a5d88
add esp, 4
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xac]
test eax, eax
je 0x45393b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0xb0]
test eax, eax
je 0x45394f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xb4]
test eax, eax
je 0x453966
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.004a5d13
mov esp, ebp
pop ebp
ret 8
push 0x80004003
call fcn.004a6d50
int3