Function at 0x576960
Capabilities:
Create thread
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x5ddf74
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 8], 0
je 0x5769e5
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 4
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x14]
push edx
push 0
push 0
push 0x5ddf98
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x5769db
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x14]
jbe 0x5769db
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x576b7b
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.00401fe0
add eax, 0x4e0
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp dword [ecx], 0
je 0x576b7b
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
je 0x576b01
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x5ddfa4
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 8], 0
je 0x576a6b
mov ecx, dword [ebp - 4]
add ecx, 0x14
call fcn.00438d80
add eax, 1
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x14
call fcn.00401700
push eax
push 1
push 0
push 0x5ddfc8
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], 0
push 0x5ddfcc
push 0x5ddfdc
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x576ac1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
cmp eax, 0x32
jg 0x576ac1
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x5ddfec
push 0x5ddffc
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [ebp - 0x1c], eax
jmp 0x576a89
cmp dword [ebp - 0x1c], 0
je 0x576aff
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
push edx
push 0xb24
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
push 0x5de00c
push 0x5de01c
mov ecx, dword [ebp - 0x1c]
push ecx
push 0
call dword [sym.imp.USER32.dll_FindWindowExW]
mov dword [ebp - 0x1c], eax
jmp 0x576ac1
jmp 0x576b7b
push 0x24
call fcn.0043faf6
add esp, 4
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x576b21
mov ecx, dword [ebp - 0x28]
call fcn.00414b00
mov dword [ebp - 0x2c], eax
jmp 0x576b28
mov dword [ebp - 0x2c], 0
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 4]
add ecx, 0x14
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.00401620
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov dword [edx + 0x1c], ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov dword [edx + 0x20], ecx
push 0
push 0
mov edx, dword [ebp - 0x20]
push edx
push 0x575e70
push 0
push 0
call fcn.0044151c
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret