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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x536d48
mov eax, dword fs:[0]
push eax
sub esp, 0x450
mov eax, dword [0x5917ec]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x421], 0
lea eax, [ebp - 0x444]
mov dword [ebp - 4], 0
push eax
call fcn.00475ea5
lea eax, [ebp - 0x444]
mov dword [ebp - 4], 1
mov dword [ebp - 0x454], eax
lea eax, [ebp - 0x421]
mov dword [ebp - 0x450], eax
lea eax, [ebp - 0x454]
push eax
push 0x42ead0
push 0x5995d8
call fcn.00476e7d
add esp, 0x10
test eax, eax
je 0x43ab51
lea eax, [ebp - 0x444]
mov dword [ebp - 4], 2
push eax
call fcn.00475edf
mov ecx, dword [0x5995d4]
add esp, 4
mov dword [ebp - 4], 0xffffffff
call fcn.004259b0
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.0040e3b0
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x434], esi
mov edi, dword [esi - 0xc]
mov dword [ebp - 4], 5
test edi, edi
js 0x43ab82
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x43a7eb
push edi
lea ecx, [ebp - 0x434]
call fcn.0040d940
mov esi, dword [ebp - 0x434]
lea eax, [edi + 1]
push eax
push esi
call fcn.004edf5f
add esp, 8
cmp edi, dword [esi - 8]
jg 0x43ab82
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
cmp dword [esi - 0xc], eax
jl 0x43ab37
push 0x54cad4
push esi
call fcn.004c1153
add esp, 8
test eax, eax
je 0x43ab37
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x43ab37
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004c0d00
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0049f2f0
call fcn.0040cb90
mov ecx, eax
test ecx, ecx
je 0x43ab8c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x42c], eax
push str.bizhi123456789
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 6
call fcn.0040e280
test al, al
jne 0x43a8a4
push 0xe
push str.bizhi123456789
lea ecx, [ebp - 0x42c]
call fcn.0040dbe0
mov byte [ebp - 4], 7
call fcn.0040cb90
mov ecx, eax
test ecx, ecx
je 0x43ab96
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x430], eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x430]
call fcn.0040e280
test al, al
jne 0x43a912
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43a8f0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x430]
call fcn.0040dbe0
lea eax, [ebp - 0x42c]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x428]
push eax
call fcn.0047c850
add esp, 0xc
mov edx, dword [ebp - 0x430]
or edi, 0xffffffff
mov byte [ebp - 4], 0xb
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43a957
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x42c]
mov eax, edi
mov byte [ebp - 4], 0xc
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43a978
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 0x43a9d6
lea edx, [eax - 0x10]
mov byte [ebp - 4], 5
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43a99f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x43a9bb
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049b8b8
mov esp, ebp
pop ebp
ret
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004c0d00
mov eax, dword [0x599e50]
add esp, 0xc
mov dword [ebp - 0x44c], 1
mov dword [ebp - 0x448], 0x104
test al, 1
jne 0x43aa1b
or eax, 1
mov dword [0x599e4c], 0
mov dword [0x599e50], eax
mov byte [ebp - 0x422], 0
lea eax, [ebp - 0x43c]
mov byte [ebp - 4], 0xd
push eax
call fcn.00475ea5
lea eax, [ebp - 0x43c]
mov dword [ebp - 0x45c], eax
lea eax, [ebp - 0x422]
mov dword [ebp - 0x458], eax
lea eax, [ebp - 0x45c]
push eax
push 0x435c70
push 0x599e4c
call fcn.00476e7d
add esp, 0x10
test eax, eax
je 0x43ab16
lea eax, [ebp - 0x43c]
mov byte [ebp - 4], 0xf
push eax
call fcn.00475edf
add esp, 4
lea eax, [ebp - 0x448]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x44c]
push eax
push 0x54d334
push 0x599e58
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x43aaba
mov edx, dword [ebp - 0x428]
add edx, 0xfffffff0
jmp 0x43a987
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43aad9
mov edx, dword [ebp - 0x428]
add edx, 0xfffffff0
jmp 0x43a987
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.sysvalue
push str.general
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edx, dword [ebp - 0x428]
add edx, 0xfffffff0
jmp 0x43a987
lea eax, [ebp - 0x43c]
mov byte [ebp - 4], 0x10
push eax
call fcn.00475f21
add esp, 4
mov byte [ebp - 4], 0xe
test al, al
je 0x43abb6
jmp 0x43aba0
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jmp 0x43a9b1
lea eax, [ebp - 0x444]
mov byte [ebp - 4], 3
push eax
call fcn.00475f21
add esp, 4
mov byte [ebp - 4], 1
test al, al
je 0x43abb6
sub esp, 8
lea eax, [ebp - 0x444]
mov ecx, esp
push eax
call fcn.0040bca0
call fcn.0040e0a0
push 0x80070057
call fcn.0040c3e0
push 0x80004005
call fcn.0040c3e0
push 0x80004005
call fcn.0040c3e0
sub esp, 8
lea eax, [ebp - 0x43c]
mov ecx, esp
push eax
call fcn.0040bca0
call fcn.0040e0a0
call fcn.00476f4e
int3