Function at 0x1007c400
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fb938
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x1013c014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x1014ea10
mov dword [ebp - 0x18], 0x1014ea10
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x1014ea30], 0
mov edi, 0x1014ea30
mov dword [ebp - 0x14], edi
jne 0x1007c458
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x1014ea30], eax
jmp 0x1007c45d
xor edi, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0
mov esi, dword [0x1014e914]
cmp dword [esi], 0
je 0x1007c491
nop
cmp dword [esi + 4], 1
jne 0x1007c489
push str.SearchTrack
push dword [esi]
call fcn.100dc721
add esp, 8
test eax, eax
je 0x1007c4d2
add esi, 0x60
cmp dword [esi], 0
jne 0x1007c470
mov eax, dword [0x1014e9d0]
xor ecx, ecx
mov dword [0x1014e9d4], eax
mov dword [ebp - 0x2c], 0x434c5348
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], ecx
cmp dword [0x1014e9d8], eax
je 0x1007c5bd
movq xmm0, qword [ebp - 0x2c]
movq qword [eax], xmm0
mov dword [eax + 8], ecx
add dword [0x1014e9d4], 0xc
jmp 0x1007c5cc
push 0x10158d3c
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
cmp word [esi + 0x38], 3
jne 0x1007c4ee
cmp dword [esi + 0x40], 1
jne 0x1007c4ee
mov bl, 1
jmp 0x1007c4f0
xor bl, bl
push 0x10158d3c
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
test bl, bl
je 0x1007c491
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x2c]
mov esi, dword [0x1014e9d4]
lea ecx, [ebp + 8]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x24], eax
mov eax, dword [0x1014e9d0]
add eax, 0xc
mov dword [ebp - 0x2c], ebx
push esi
push eax
mov dword [ebp - 0x28], 1
call fcn.10082f80
mov eax, dword [ebp + 8]
add esp, 8
cmp eax, esi
je 0x1007c553
cmp dword [eax], ebx
jne 0x1007c553
inc dword [eax + 4]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 8], ecx
jmp 0x1007c5cc
cmp dword [0x1014e9d8], esi
je 0x1007c57b
movq xmm0, qword [ebp - 0x2c]
mov eax, dword [ebp - 0x10]
movq qword [esi], xmm0
mov dword [esi + 8], eax
mov ebx, dword [0x1014e9d4]
add ebx, 0xc
mov dword [0x1014e9d4], ebx
jmp 0x1007c590
lea eax, [ebp - 0x2c]
mov ecx, 0x1014e9d0
push eax
push esi
call fcn.10083690
mov ebx, dword [0x1014e9d4]
mov ecx, dword [0x1014e9d0]
mov esi, ebx
push dword [ebp + 8]
add ecx, 0xc
mov eax, 0x2aaaaaab
sub esi, ecx
imul esi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, ebx
push eax
call fcn.10084cd0
add esp, 8
jmp 0x1007c5cc
lea ecx, [ebp - 0x2c]
push ecx
push eax
mov ecx, 0x1014e9d0
call fcn.10083690
push 0x2001f
push dword [0x1014e928]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push SysReAllocString
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
call fcn.10013210
test eax, eax
je 0x1007c61b
sub esp, 8
lea ecx, [ebp - 0x2c]
push 0x2001f
sub esp, 8
push dword [0x1014e928]
push SysReAllocString
call fcn.100380f0
mov esi, dword [0x1014e9d0]
mov eax, 0x2aaaaaab
mov ecx, dword [0x1014e9d4]
sub ecx, esi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*2]
shl eax, 2
push eax
push esi
mov esi, dword [ebp - 0x2c]
push 3
push 0
push str.ItemRanks
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test esi, esi
je 0x1007c65f
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x1007c669
mov dword [edi], 0
push 0x1014ea10
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4