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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100905e9
mov eax, dword fs:[0]
push eax
sub esp, 0x560
mov eax, dword [0x100cb9b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48c], ecx
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x4a4], eax
mov dword [ebp - 0x49c], 0
mov dword [ebp - 0x4a0], eax
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
xor eax, eax
mov dword [ebp - 4], 1
push 0x208
push eax
mov word [ebp - 0x438], ax
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x424], 7
mov dword [ebp - 0x49c], 3
mov dword [ebp - 0x484], 1
call fcn.100686c0
add esp, 0xc
mov dword [ebp - 0x488], 0x104
lea eax, [ebp - 0x488]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x484]
push eax
push str.Setup_Path
push 0x1009a9cc
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x1000c06a
call fcn.1002cf70
mov ecx, eax
push 1
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1000c061
push 0x59
push 0x1009aa80
lea ecx, [ebp - 0x480]
mov dword [ebp - 0x470], eax
mov dword [ebp - 0x46c], 0xf
mov byte [ebp - 0x480], al
call fcn.10005fe0
push 3
push 0x1009aa7c
lea ecx, [ebp - 0x468]
mov byte [ebp - 4], 2
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 0xf
mov byte [ebp - 0x468], 0
call fcn.10005fe0
push 0x1c8
lea eax, [ebp - 0x480]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x468]
push eax
lea ecx, [ebp - 0x56c]
call fcn.100083b0
mov esi, eax
push str.RechargeBridge::GetLdsInstallDir_fail.
push esi
mov byte [ebp - 4], 4
call fcn.10009b20
add esp, 8
call fcn.1002cf70
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x56c]
call fcn.10009c50
lea ecx, [ebp - 0x468]
call fcn.10004c10
lea ecx, [ebp - 0x480]
mov byte [ebp - 4], 1
call fcn.10004c10
push 0
push 0x1009ab04
jmp 0x1000c08a
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000c073
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x438]
call fcn.100060d0
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmovae eax, dword [ebp - 0x438]
push eax
lea eax, [ebp - 0x420]
push eax
call edi
mov edx, dword [ebp - 0x424]
mov dword [ebp - 0x49c], 1
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x1000c107
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000c0fd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c851
push edx
push ecx
call fcn.1004b366
add esp, 8
call fcn.1002cf70
mov ecx, eax
push 1
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1000c271
push 0x59
push 0x1009ab08
lea ecx, [ebp - 0x450]
mov dword [ebp - 0x440], eax
mov dword [ebp - 0x43c], 0xf
mov byte [ebp - 0x450], al
call fcn.10005fe0
push 3
push 0x1009ab64
lea ecx, [ebp - 0x438]
mov dword [ebp - 4], 5
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0xf
mov byte [ebp - 0x438], 0
call fcn.10005fe0
push 0x1d4
lea eax, [ebp - 0x450]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x438]
push eax
lea ecx, [ebp - 0x56c]
call fcn.100083b0
mov esi, eax
push 0x1009ab68
push esi
mov byte [ebp - 4], 7
call fcn.10006b40
lea eax, [ebp - 0x420]
push eax
push esi
call fcn.10006b40
add esp, 0x10
call fcn.1002cf70
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x56c]
call fcn.10009c50
mov edx, dword [ebp - 0x424]
mov byte [ebp - 4], 5
cmp edx, 0x10
jb 0x1000c218
mov ecx, dword [ebp - 0x438]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000c20e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c856
push edx
push ecx
call fcn.1004b366
add esp, 8
mov edx, dword [ebp - 0x43c]
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0xf
mov byte [ebp - 0x438], 0
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x1000c271
mov ecx, dword [ebp - 0x450]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000c267
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c85b
push edx
push ecx
call fcn.1004b366
add esp, 8
push str.SuperApp
lea eax, [ebp - 0x420]
push eax
call edi
mov dword [ebp - 0x488], 0
mov dword [ebp - 0x498], 0
mov dword [ebp - 0x494], 0
mov dword [ebp - 0x490], 0
mov ecx, dword [ebp - 0x48c]
lea eax, [ebp - 0x420]
mov dword [ebp - 0x484], eax
lea eax, [ebp - 0x488]
push eax
lea eax, [ebp - 0x498]
mov dword [ebp - 4], 8
push eax
lea eax, [ebp - 0x484]
push eax
call fcn.1000f810
lea ecx, [ebp - 0x4d4]
call fcn.1003ba70
mov eax, dword [ebp - 0x494]
mov edi, dword [ebp - 0x498]
cmp edi, eax
mov byte [ebp - 4], 9
mov dword [ebp - 0x48c], eax
je 0x1000c5f2
cmp dword [edi + 0x14], 8
mov edx, 0x7ffffffe
mov eax, dword [edi + 0x10]
mov ecx, edi
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x488], eax
mov dword [ebp - 0x484], edi
jb 0x1000c33b
mov ecx, dword [edi]
mov dword [ebp - 0x484], ecx
cmp eax, 8
jae 0x1000c351
movups xmm0, xmmword [ecx]
mov esi, 7
movups xmmword [ebp - 0x438], xmm0
jmp 0x1000c399
mov esi, eax
lea ecx, [ebp - 0x438]
or esi, 7
cmp esi, 0x7ffffffe
cmova esi, edx
lea eax, [esi + 1]
push eax
call fcn.10005f70
mov ecx, eax
mov eax, dword [ebp - 0x488]
mov dword [ebp - 0x438], ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x484]
push ecx
call fcn.10067690
mov eax, dword [ebp - 0x488]
add esp, 0xc
mov dword [ebp - 0x424], esi
mov dword [ebp - 0x428], eax
cmp esi, 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1000c5a0
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 0xf
mov byte [ebp - 0x468], 0
cmp dword [ebp - 0x424], 8
lea ecx, [ebp - 0x468]
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 0xb
cmovae eax, dword [ebp - 0x438]
push ecx
push eax
call fcn.1003cca0
add esp, 8
lea ecx, [ebp - 0x4bc]
call fcn.1003ba70
lea eax, [ebp - 0x468]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x4bc]
call fcn.1003c7a0
test al, al
je 0x1000c557
push 9
push str.tool_list
lea ecx, [ebp - 0x480]
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], 0xf
mov byte [ebp - 0x480], 0
call fcn.10005fe0
lea eax, [ebp - 0x480]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x4d4]
call fcn.1003bba0
push 0
push 0x1009a4b2
lea ecx, [ebp - 0x450]
mov dword [ebp - 0x440], 0
mov esi, eax
mov dword [ebp - 0x43c], 0xf
mov byte [ebp - 0x450], 0
call fcn.10005fe0
lea eax, [ebp - 0x450]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x4bc]
call fcn.1003c250
push eax
mov ecx, esi
call fcn.10039cf0
mov edx, dword [ebp - 0x43c]
mov byte [ebp - 4], 0xd
cmp edx, 0x10
jb 0x1000c4fe
mov ecx, dword [ebp - 0x450]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000c4f4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c851
push edx
push ecx
call fcn.1004b366
add esp, 8
mov edx, dword [ebp - 0x46c]
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 0xf
mov byte [ebp - 0x450], 0
mov byte [ebp - 4], 0xc
cmp edx, 0x10
jb 0x1000c557
mov ecx, dword [ebp - 0x480]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000c54d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c851
push edx
push ecx
call fcn.1004b366
add esp, 8
lea ecx, [ebp - 0x4bc]
call fcn.10039080
mov edx, dword [ebp - 0x454]
mov byte [ebp - 4], 0xa
cmp edx, 0x10
jb 0x1000c5a0
mov ecx, dword [ebp - 0x468]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000c596
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c851
push edx
push ecx
call fcn.1004b366
add esp, 8
mov edx, dword [ebp - 0x424]
mov byte [ebp - 4], 9
cmp edx, 8
jb 0x1000c5e4
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000c5da
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c851
push edx
push ecx
call fcn.1004b366
add esp, 8
add edi, 0x18
cmp edi, dword [ebp - 0x48c]
jmp 0x1000c2fd
push 0
push 0x1009a4b3
lea ecx, [ebp - 0x468]
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 0xf
mov byte [ebp - 0x468], 0
call fcn.10005fe0
lea eax, [ebp - 0x468]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x450]
push eax
lea ecx, [ebp - 0x4d4]
call fcn.1003c970
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x10
jb 0x1000c648
mov eax, dword [eax]
push 0xfde9
push eax
lea eax, [ebp - 0x480]
push eax
call fcn.10034aa0
mov edi, dword [ebp - 0x4a0]
mov esi, eax
add esp, 0xc
cmp edi, esi
je 0x1000c6d2
mov ecx, dword [edi + 0x14]
cmp ecx, 8
jb 0x1000c6a2
mov eax, dword [edi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x1000c698
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c851
mov eax, edx
push ecx
push eax
call fcn.1004b366
add esp, 8
mov dword [edi + 0x10], 0
xor eax, eax
mov dword [edi + 0x14], 7
mov word [edi], ax
movups xmm0, xmmword [esi]
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x46c]
cmp edx, 8
jb 0x1000c712
mov ecx, dword [ebp - 0x480]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000c708
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c860
push edx
push ecx
call fcn.1004b366
add esp, 8
mov edx, dword [ebp - 0x43c]
xor eax, eax
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], 7
mov word [ebp - 0x480], ax
cmp edx, 0x10
jb 0x1000c769
mov ecx, dword [ebp - 0x450]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000c75f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c865
push edx
push ecx
call fcn.1004b366
add esp, 8
mov edx, dword [ebp - 0x454]
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 0xf
mov byte [ebp - 0x450], 0
cmp edx, 0x10
jb 0x1000c7be
mov ecx, dword [ebp - 0x468]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000c7b4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c86a
push edx
push ecx
call fcn.1004b366
add esp, 8
lea ecx, [ebp - 0x4d4]
call fcn.10039080
mov eax, dword [ebp - 0x498]
test eax, eax
je 0x1000c832
lea ecx, [ebp - 0x498]
push ecx
push dword [ebp - 0x494]
push eax
call fcn.100070c0
mov ecx, dword [ebp - 0x490]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x498]
add esp, 0xc
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x1000c828
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c86f
push ecx
push esi
call fcn.1004b366
add esp, 8
mov eax, edi
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.1004b6e5
mov esp, ebp
pop ebp
ret 4
call fcn.1006b649
call fcn.1006b649
call fcn.1006b649
call fcn.1006b649
call fcn.1006b649
call fcn.1006b649
call fcn.1006b649
int3