Function at 0x439d20
Capabilities:
Create thread
Get session user name
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4afd9b
mov eax, dword fs:[0]
push eax
sub esp, 0xa28
mov eax, dword [0x4e52d0]
xor eax, esp
mov dword [esp + 0xa20], eax
push ebx
push esi
push edi
mov eax, dword [0x4e52d0]
xor eax, esp
push eax
lea eax, [esp + 0xa38]
mov dword fs:[0], eax
mov ebx, ecx
lea ecx, [esp + 0x10]
call fcn.0043cfe0
mov dword [esp + 0xa40], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
push 0
push 0
push ebx
push 0x4243d0
push 0
push 0
mov dword [0x4eb388], eax
call fcn.00493359
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push ebx
mov edi, eax
call fcn.0043bf30
test eax, eax
jne 0x439de0
mov dword [esp + 0xa40], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x439dd9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x439fc3
call esi
sub eax, edi
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
jns 0x439df4
fadd qword [0x4ca258]
fdiv qword [0x4ca290]
mov ecx, dword [ebx + 0xc]
push 0xffffffffffffffff
push ecx
fstp qword [ebx + 0x18]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call esi
mov dword [esp + 0x18], eax
mov eax, ebx
call fcn.0042e9c0
lea edx, [esp + 0x10]
push edx
mov ecx, ebx
mov dword [esp + 0x20], eax
call fcn.0043c470
test eax, eax
je 0x439f28
push 4
lea eax, [esp + 0x24]
push eax
push 4
push str.medialibrary_restart_explorer
push str.SoftwareBaofengStormPlayerUserConfig
push SysReAllocStringLen
mov dword [esp + 0x38], 1
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
cmp eax, 5
jne 0x439f28
mov esi, dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x1c], 0x202
call esi
push str.SoftwareBaofengStormPlayerUserConfig
push str.CURRENT_USER
push str._s_s
lea eax, [esp + 0x238]
push 0x800
push eax
call fcn.00492772
add esp, 0x14
push 0xf003f
lea ecx, [esp + 0x28]
push ecx
push 2
lea edi, [esp + 0x238]
call fcn.004051a0
test eax, eax
je 0x439f22
push 4
lea edx, [esp + 0x24]
push edx
push 4
push str.medialibrary_restart_explorer
push str.SoftwareBaofengStormPlayerUserConfig
push SysReAllocStringLen
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x1c], 0x202
call esi
push str.SoftwareBaofengStormPlayerUserConfig
push str.CURRENT_USER
push str._s_s
lea edx, [esp + 0x238]
push 0x800
push edx
call fcn.00492772
add esp, 0x14
push 2
lea eax, [esp + 0x28]
push eax
push 3
lea edi, [esp + 0x238]
call fcn.004051a0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebx
call fcn.0042ec20
call esi
sub eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
jns 0x439f44
fadd qword [0x4ca258]
fdiv qword [0x4ca290]
mov ecx, ebx
fstp qword [ebx + 0x28]
call fcn.00437d80
call fcn.00439890
push ebx
call fcn.00439ff0
push 0x4c4968
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExW]
test eax, eax
je 0x439f84
push 0
push 0
push 0x69a
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push ebx
call fcn.0043abf0
xor ecx, ecx
cmp dword [esp + 0x1c], 1
mov dword [esp + 0xa40], 0xffffffff
mov eax, dword [esp + 0x10]
sete cl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov esi, ecx
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x439fc1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0xa38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa20]
xor ecx, esp
call fcn.004912db
mov esp, ebp
pop ebp
ret