Function at 0x437d00
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52e472
mov eax, dword fs:[0]
push eax
sub esp, 0x43c
mov eax, dword [0x5867ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004b8590
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0049cbc0
call fcn.0040af30
mov ecx, eax
test ecx, ecx
je 0x43800e
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x42c], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x42c]
call fcn.0040c630
test al, al
jne 0x437db8
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x437d96
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x42c]
call fcn.0040bf90
mov dword [ebp - 4], 1
call fcn.0040af30
mov ecx, eax
test ecx, ecx
je 0x438018
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x430], eax
push str.clean_beta
lea ecx, [ebp - 0x430]
mov byte [ebp - 4], 2
call fcn.0040c630
test al, al
jne 0x437e06
push 0xa
push str.clean_beta
lea ecx, [ebp - 0x430]
call fcn.0040bf90
lea eax, [ebp - 0x42c]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x428]
push eax
call fcn.0047a470
add esp, 0xc
mov edx, dword [ebp - 0x430]
or esi, 0xffffffff
mov byte [ebp - 4], 5
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x437e4b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x42c]
mov eax, esi
mov byte [ebp - 4], 6
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x437e6c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x428]
cmp dword [eax - 0xc], 0
jne 0x437eae
lea edx, [eax - 0x10]
mov dword [ebp - 4], 0xffffffff
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x437e94
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004994d8
mov esp, ebp
pop ebp
ret
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004b8590
mov eax, dword [0x58eed8]
add esp, 0xc
mov dword [ebp - 0x440], 1
mov dword [ebp - 0x43c], 0x104
test al, 1
jne 0x437ef3
or eax, 1
mov dword [0x58eed4], 0
mov dword [0x58eed8], eax
mov byte [ebp - 0x421], 0
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 7
push eax
call fcn.00473ac5
lea eax, [ebp - 0x438]
mov dword [ebp - 0x448], eax
lea eax, [ebp - 0x421]
mov dword [ebp - 0x444], eax
lea eax, [ebp - 0x448]
push eax
push 0x434360
push 0x58eed4
call fcn.00474a9b
add esp, 0x10
test eax, eax
je 0x437fee
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 9
push eax
call fcn.00473aff
add esp, 4
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x440]
push eax
push 0x543334
push 0x58eee0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x437f92
mov edx, dword [ebp - 0x428]
add edx, 0xfffffff0
jmp 0x437e7b
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x437fb1
mov edx, dword [ebp - 0x428]
add edx, 0xfffffff0
jmp 0x437e7b
push str.config.set
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x420]
push eax
push dword [ebp - 0x428]
push str.verinfo
push str.general
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edx, dword [ebp - 0x428]
add edx, 0xfffffff0
jmp 0x437e7b
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 0xa
push eax
call fcn.00473b41
add esp, 4
mov byte [ebp - 4], 8
test al, al
jne 0x438022
call fcn.00474b6c
push 0x80004005
call fcn.0040a780
push 0x80004005
call fcn.0040a780
sub esp, 8
lea eax, [ebp - 0x438]
mov ecx, esp
push eax
call fcn.0040a040
call fcn.0040c450
int3