Function at 0x45e500
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5650be
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push ebx
push esi
push edi
mov eax, dword [0x5d6b80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x48], ebx
push dword [0x5cf270]
lea ecx, [ebp - 0x38]
call fcn.0045a3a0
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 0
push eax
mov ecx, ebx
call fcn.00483440
mov edi, dword [ebp - 0x38]
mov ebx, eax
add edi, 0xfffffff0
mov dword [ebp - 0x2c], ebx
or esi, 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
lea edx, [edi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45e57b
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
je 0x45ee9f
call fcn.0045adc0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x45e59f
push 0x80004005
call fcn.0045a8f0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x5c], eax
mov dword [ebp - 4], 1
call fcn.0045adc0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x45e5cf
push 0x80004005
call fcn.0045a8f0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x48]
mov byte [ebp - 4], 2
push dword [eax + 0x68]
lea eax, [ebp - 0x34]
push dword [0x5d67e4]
push eax
call fcn.0045acb0
mov ebx, dword [ebp - 0x34]
lea eax, [ebp - 0x5c]
push eax
push dword [0x5cf288]
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00511e70
mov eax, dword [str.YY]
add esp, 0x1c
mov edi, dword [ebp - 0x5c]
test eax, eax
je 0x45ee64
cmp dword [edi - 0xc], 0
jl 0x45ee64
push eax
push edi
call fcn.00526d32
add esp, 8
test eax, eax
je 0x45ee64
sub eax, edi
sar eax, 1
cmp eax, 0xffffffff
je 0x45ee64
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
xor edx, edx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], edx
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 4
cmp dword [ecx + 8], edx
je 0x45ee4c
xor esi, esi
cmp dword [ecx + 0xc], esi
jbe 0x45e6a8
mov ecx, dword [ecx + 4]
jmp 0x45e690
cmp dword [ecx], 0
mov ebx, dword [ebp - 0x2c]
jne 0x45e71f
inc esi
add ecx, 4
cmp esi, dword [ebx + 0xc]
mov ebx, dword [ebp - 0x34]
jb 0x45e690
xor esi, esi
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x45ea2e
call fcn.0045adc0
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x45e595
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
call fcn.0045adc0
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x45e595
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 5
test esi, esi
je 0x45e718
push esi
lea ecx, [ebp - 0x18]
call fcn.0045a580
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 0x14]
call fcn.0045a580
test esi, esi
jne 0x45e72d
xor esi, esi
mov dword [ebp - 0x1c], esi
jmp 0x45e761
mov ecx, dword [ebx + 4]
mov ebx, dword [ebp - 0x34]
mov esi, dword [ecx + esi*4]
jmp 0x45e6aa
mov ecx, dword [esi + 8]
test ecx, ecx
jne 0x45e75c
mov eax, dword [ebp - 0x1c]
xor edx, edx
mov edi, dword [ebp - 0x2c]
mov eax, dword [eax + 0xc]
mov esi, dword [edi + 0xc]
div esi
inc edx
cmp edx, esi
jae 0x45e759
mov eax, dword [edi + 4]
mov eax, dword [eax + edx*4]
test eax, eax
cmovne ecx, eax
inc edx
test ecx, ecx
je 0x45e745
mov edi, dword [ebp - 0x5c]
mov esi, ecx
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [edx - 0xc]
test ecx, ecx
je 0x45e9df
cmp dword [eax - 0xc], 0
je 0x45e9df
mov eax, dword [str.:track:]
test eax, eax
je 0x45e9cb
test ecx, ecx
js 0x45e9cb
push eax
push edx
call fcn.00526d32
add esp, 8
test eax, eax
je 0x45e9cb
sub eax, dword [ebp - 0x18]
sar eax, 1
cmp eax, 0xffffffff
je 0x45e9cb
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push eax
push dword [0x5cf27c]
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
call fcn.0045b960
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 6
cmp dword [eax - 0xc], 0
je 0x45e99f
lea eax, [ebp - 0x30]
push eax
push dword [0x5cf27c]
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x18]
call fcn.0045b960
mov eax, dword [ebp - 0x24]
mov byte [ebp - 4], 7
cmp dword [eax - 0xc], 0
je 0x45e97e
lea eax, [ebp - 0x30]
push eax
push dword [0x5cf27c]
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x18]
call fcn.0045b960
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 8
cmp dword [eax - 0xc], 0
je 0x45e960
lea ecx, [ebp - 0xac]
call fcn.0045bea0
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0xac]
call fcn.0045a580
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0xa8]
call fcn.0045a580
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push eax
push dword [0x5cf280]
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x14]
call fcn.0045b960
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xa
call fcn.0045a580
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 9
call fcn.0048ceb0
mov eax, dword [ebp - 0x24]
cmp dword [eax - 0xc], 0
je 0x45e8fe
or ebx, 0xffffffff
lea esp, [esp]
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0xa4]
call fcn.0045c610
lea eax, [ebp - 0x30]
push eax
push dword [0x5cf280]
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x14]
call fcn.0045b960
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xb
call fcn.0045a580
mov edx, dword [ebp - 0x58]
mov ecx, ebx
add edx, 0xfffffff0
mov byte [ebp - 4], 9
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45e8f2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x24]
cmp dword [eax - 0xc], 0
jne 0x45e8a0
mov ebx, dword [ebp - 0x34]
cmp dword [ebp - 0xa0], 0
je 0x45e94e
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0x44]
call fcn.0045c370
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 8
call fcn.0045c0c0
lea ecx, [ebp - 0x20]
call fcn.0048ceb0
lea ecx, [ebp - 0x24]
call fcn.0048ceb0
lea ecx, [ebp - 0x10]
call fcn.0048ceb0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.0045c160
jmp 0x45ea1d
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 8
call fcn.0045c0c0
mov eax, dword [ebp - 0x20]
lea edx, [eax - 0x10]
mov byte [ebp - 4], 7
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45e97e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x24]
or ecx, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 6
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45e99f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
or ecx, 0xffffffff
inc dword [ebp - 0x28]
add edx, 0xfffffff0
mov byte [ebp - 4], 5
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45e9c3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
jmp 0x45e9e5
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x54]
call fcn.0045c440
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
jmp 0x45e9e5
inc dword [ebp - 0x28]
lea edx, [eax - 0x10]
mov byte [ebp - 4], 4
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45ea00
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
or ecx, 0xffffffff
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45ea1d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
jne 0x45e6b5
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x10], edx
xor esi, esi
test eax, eax
jle 0x45eace
test esi, esi
js 0x45eb47
cmp esi, eax
jge 0x45eb47
mov eax, dword [ebp - 0x54]
lea eax, [eax + esi*8]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0045d330
mov edx, eax
add esp, 8
cmp edx, 0xffffffff
je 0x45ea95
cmp esi, dword [ebp - 0x50]
jge 0x45eb47
mov ecx, dword [ebp - 0x54]
lea ecx, [ecx + esi*8]
test edx, edx
js 0x45eb47
cmp edx, dword [ebp - 0x40]
jge 0x45eb47
lea eax, [ecx + 4]
shl edx, 5
add edx, dword [ebp - 0x44]
push eax
push ecx
push edx
call fcn.0045ca30
jmp 0x45eab2
cmp esi, dword [ebp - 0x50]
jge 0x45eb47
mov eax, dword [ebp - 0x54]
lea ecx, [eax + esi*8]
lea eax, [ecx + 4]
push eax
push ecx
lea eax, [ebp - 0x44]
push eax
call fcn.0045c6f0
add esp, 0xc
test eax, eax
jne 0x45eabc
inc dword [ebp - 0x28]
mov eax, dword [ebp - 0x50]
inc esi
cmp esi, eax
jl 0x45ea38
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x10], edx
test edx, edx
je 0x45ee49
cmp dword [ebp - 0x28], 0
jg 0x45ee49
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.00526bff
add esp, 4
call fcn.00526bde
cdq
idiv dword [ebp - 0x10]
test edx, edx
js 0x45eb47
cmp edx, dword [ebp - 0x40]
jge 0x45eb47
shl edx, 5
lea ecx, [ebp - 0x8c]
add edx, dword [ebp - 0x44]
push edx
call fcn.0045bd50
mov esi, dword [ebp - 0x80]
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x58], esi
call fcn.00526bde
lea ecx, [esi + 1]
cdq
idiv ecx
mov dword [ebp - 0x2c], edx
call fcn.0045adc0
xor ecx, ecx
mov esi, eax
test esi, esi
setne cl
test ecx, ecx
jne 0x45eb58
push 0x80004005
call fcn.0045a8f0
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0xd
cmp eax, dword [ebp - 0x58]
jne 0x45ebb5
mov edx, dword [0x5cf28c]
test edx, edx
jne 0x45eb8f
xor ecx, ecx
push ecx
push edx
lea ecx, [ebp - 0x1c]
call fcn.0045b6e0
or esi, 0xffffffff
jmp 0x45edd7
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45eb94
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x1c]
call fcn.0045b6e0
or esi, 0xffffffff
jmp 0x45edd7
test eax, eax
js 0x45eb47
cmp eax, dword [ebp - 0x80]
jge 0x45eb47
lea ecx, [eax*4]
mov eax, dword [ebp - 0x84]
add eax, ecx
lea ecx, [ebp - 0x1c]
push eax
call fcn.0045a580
call fcn.0045adc0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x45ebf2
push 0x80004005
call fcn.0045a8f0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x38], eax
push dword [0x5cf270]
mov eax, dword [ebp - 0x48]
mov byte [ebp - 4], 0xe
push dword [eax + 0x68]
lea eax, [ebp - 0x38]
push dword [0x5d67d4]
push 0x57a90c
push eax
call fcn.0045acb0
mov esi, dword [ebp - 0x38]
push esi
push reloc.WS2_32.dll_accept
call fcn.0045cdb0
lea eax, [ebp - 0x88]
push eax
push dword [0x5cf274]
push esi
push reloc.WS2_32.dll_accept
call fcn.0045ded0
xor eax, eax
add esp, 0x2c
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x74], eax
jle 0x45edb7
mov dword [ebp - 0x20], eax
lea ecx, [ecx]
call fcn.0045adc0
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x45e595
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
call fcn.0045adc0
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x45e595
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0xf
test eax, eax
js 0x45eb47
cmp eax, dword [ebp - 0x74]
jge 0x45eb47
mov eax, dword [ebp - 0x78]
lea ecx, [ebp - 0x18]
add eax, dword [ebp - 0x20]
push eax
call fcn.0045a580
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x74]
jge 0x45eb47
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x2c]
cmp edx, dword [eax + ecx + 8]
jge 0x45eb47
mov eax, dword [eax + ecx + 4]
lea ecx, [edx*4]
add eax, ecx
lea ecx, [ebp - 0x14]
push eax
call fcn.0045a580
push 2
push esi
push reloc.WS2_32.dll_accept
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
call fcn.0045b220
test eax, eax
mov eax, dword [ebp - 0x68]
jne 0x45ed4c
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
push dword [ebp - 0x14]
push 1
push 0
push dword [ebp - 0x18]
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x68]
test eax, eax
je 0x45ed5e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x68], 0
mov edx, dword [ebp - 0x14]
or ecx, 0xffffffff
add edx, 0xfffffff0
mov dword [ebp - 0x64], 0
mov byte [ebp - 4], 0xe
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45ed86
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
or ecx, 0xffffffff
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45eda3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
add dword [ebp - 0x20], 0x10
inc eax
mov dword [ebp - 0x10], eax
cmp eax, dword [ebp - 0x74]
jl 0x45ec60
lea edx, [esi - 0x10]
mov byte [ebp - 4], 0xd
or esi, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45edd7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x57a900
lea ecx, [ebp - 0x10]
call fcn.0045a3a0
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0x10
push eax
call fcn.0045e030
mov edx, dword [ebp - 0x10]
mov ecx, esi
add edx, 0xfffffff0
mov byte [ebp - 4], 0xd
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45ee18
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1c]
mov ecx, esi
add edx, 0xfffffff0
mov byte [ebp - 4], 0xc
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45ee38
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 4
call fcn.0045c0c0
jmp 0x45ee4c
or esi, 0xffffffff
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.0045da40
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.0045db30
add ebx, 0xfffffff0
mov byte [ebp - 4], 1
mov ecx, esi
lea eax, [ebx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45ee81
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x45ee9f
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret