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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fb7ba
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x358
mov eax, dword [0x53000c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x20a
lea eax, [ebp - 0x228]
mov dword [ebp - 0x364], 0
push 0
push eax
call fcn.004bcaf0
add esp, 0xc
lea ecx, [ebp - 0x364]
cmp dword [0x53c338], 8
mov eax, 0x53c324
cmovae eax, dword [0x53c324]
push ecx
push 0x20019
push 0
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [ebp - 0x364]
test eax, eax
je 0x4150d0
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x244], 0x104
push ecx
lea ecx, [ebp - 0x228]
push ecx
push 0
push 0
push str.DisplayIcon
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp word [ebp - 0x228], 0
je 0x415a41
xor eax, eax
mov dword [ebp - 0x280], 0
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x27c], 7
mov word [ebp - 0x290], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x415104
sub ecx, edx
lea eax, [ebp - 0x228]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x290]
call fcn.0041a5b0
lea eax, [ebp - 0x228]
mov dword [ebp - 4], 0
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call edi
test eax, eax
je 0x4159d3
xor eax, eax
mov dword [ebp - 0x348], 0
mov dword [ebp - 0x344], 7
mov word [ebp - 0x358], ax
mov dword [ebp - 0x32c], eax
mov dword [ebp - 0x328], 7
mov word [ebp - 0x33c], ax
mov byte [ebp - 0x324], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x358]
cmp dword [0x53c350], 8
mov eax, 0x53c33c
push dword [0x53c34c]
cmovae eax, dword [0x53c33c]
push eax
mov dword [ebp - 0x340], 4
call fcn.0041a5b0
cmp dword [ebp - 0x27c], 8
lea eax, [ebp - 0x290]
push dword [ebp - 0x280]
cmovae eax, dword [ebp - 0x290]
lea ecx, [ebp - 0x33c]
push eax
call fcn.0041a5b0
push 0
push 0x53c36c
push 0x53c354
call fcn.004176e0
mov byte [ebp - 0x324], al
lea ecx, [ebp - 0x25c]
lea eax, [ebp - 0x290]
push eax
call fcn.0041a300
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x25c]
cmp dword [ebp - 0x248], 8
mov edx, dword [ebp - 0x24c]
cmovae ecx, dword [ebp - 0x25c]
push 1
push 0x51c798
push 0xffffffffffffffff
call fcn.0041b170
mov ecx, eax
add esp, 0xc
cmp dword [ebp - 0x24c], ecx
jb 0x415a61
cmp dword [ebp - 0x248], 8
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x24c], ecx
cmovae eax, dword [ebp - 0x25c]
xor edx, edx
push 1
push 0x51c798
push 0xffffffffffffffff
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x25c]
cmp dword [ebp - 0x248], 8
mov edx, dword [ebp - 0x24c]
cmovae ecx, dword [ebp - 0x25c]
call fcn.0041b170
mov ecx, eax
add esp, 0xc
cmp dword [ebp - 0x24c], ecx
jb 0x415a66
cmp dword [ebp - 0x248], 8
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x24c], ecx
cmovae eax, dword [ebp - 0x25c]
xor edx, edx
mov word [eax + ecx*2], dx
mov eax, 0x53c384
cmp dword [0x53c398], 8
lea ecx, [ebp - 0x25c]
push dword [0x53c394]
cmovae eax, dword [0x53c384]
push eax
call fcn.0041a710
xor eax, eax
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 7
mov word [ebp - 0x278], ax
push 0x53c39c
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 3
call fcn.0041a300
xorps xmm0, xmm0
mov dword [ebp - 0x22c], 0
movq qword [ebp - 0x234], xmm0
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
sub esp, 0x18
mov byte [ebp - 4], 5
lea eax, [ebp - 0x25c]
mov ecx, esp
push eax
call fcn.0041a300
lea edx, [ebp - 0x234]
lea ecx, [ebp - 0x2a8]
call fcn.004149c0
mov ecx, dword [ebp - 0x230]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x234]
add esp, 0x18
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4153b5
lea eax, [ebp - 0x278]
cmp eax, esi
je 0x41544d
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4153a1
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x278]
push eax
call fcn.0041a5b0
jmp 0x41544d
push 0x53c3b4
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x2f8]
push eax
call fcn.0041aa80
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x278]
cmp eax, esi
je 0x41540d
mov ecx, eax
call fcn.0041a210
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x278], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x268], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x2e4]
cmp edx, 8
jb 0x41544d
mov ecx, dword [ebp - 0x2f8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x415443
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x415a6b
push edx
push ecx
call fcn.0048e9ad
add esp, 8
cmp dword [ebp - 0x264], 8
lea eax, [ebp - 0x278]
cmovae eax, dword [ebp - 0x278]
push eax
call edi
test eax, eax
je 0x415776
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x2f8]
call fcn.00498a60
lea eax, [ebp - 0x2f8]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x2dc]
mov dword [ebp - method.JSONFileValueSerializer.virtual_0], vtable.JSONFileValueSerializer.0
call fcn.00498a40
mov byte [ebp - 0x2c4], 0
push 0
push 0
lea ecx, [ebp - 0x2e0]
mov byte [ebp - 4], 8
call fcn.0049a750
mov esi, eax
mov dword [ebp - 0x2fc], esi
mov byte [ebp - 4], 9
test esi, esi
je 0x4157e3
mov dword [ebp - 0x244], 0
lea ecx, [ebp - 0x244]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x24]
mov ecx, dword [ebp - 0x244]
test ecx, ecx
je 0x4157e3
lea eax, [ebp - 0x35c]
mov dword [ebp - 0x35c], 0
push eax
push 0x53c2dc
call fcn.004974b0
test al, al
je 0x41573b
mov ecx, dword [ebp - 0x35c]
lea eax, [ebp - 0x260]
push eax
push 0x53c2f4
call fcn.00497530
mov ecx, dword [ebp - 0x35c]
lea eax, [ebp - 0x360]
push eax
push 0x53c3cc
mov dword [ebp - 0x360], 0
call fcn.00497560
mov ecx, dword [ebp - 0x360]
test ecx, ecx
je 0x41573b
xor eax, eax
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 0x2ac], 7
mov word [ebp - 0x2c0], ax
xor edx, edx
mov dword [ebp - 0x238], eax
xorps xmm0, xmm0
mov dword [ebp - 0x238], edx
movq qword [ebp - 0x240], xmm0
mov dword [ebp - 0x240], edx
mov dword [ebp - 0x23c], edx
mov byte [ebp - 4], 0xd
xor edi, edi
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 8]
sar eax, 2
test eax, eax
je 0x41560c
lea eax, [ebp - 0x2c0]
push eax
push edi
call fcn.00497600
test al, al
je 0x4155f2
mov eax, dword [ebp - 0x23c]
lea ecx, [ebp - 0x2c0]
push ecx
cmp dword [ebp - 0x238], eax
je 0x4155e6
mov ecx, eax
call fcn.0041a300
add dword [ebp - 0x23c], 0x18
jmp 0x4155f2
push eax
lea ecx, [ebp - 0x240]
call fcn.0041ace0
mov ecx, dword [ebp - 0x360]
inc edi
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 8]
sar eax, 2
cmp edi, eax
jb 0x4155b0
mov edx, dword [ebp - 0x240]
cmp dword [ebp - 0x260], 4
jne 0x415664
mov ecx, dword [ebp - 0x23c]
mov eax, 0x2aaaaaab
sub ecx, edx
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jne 0x415664
mov eax, dword [ebp - 0x240]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x368], esp
push eax
call fcn.0041a300
push 4
push ecx
mov byte [ebp - 4], 0xe
call fcn.0042eab0
add esp, 4
mov byte [ebp - 4], 0xd
mov ecx, eax
call fcn.0042f5e0
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x240]
test eax, eax
je 0x4156f7
lea ecx, [ebp - 0x240]
push ecx
push dword [ebp - 0x23c]
push eax
call fcn.0041b670
mov ecx, dword [ebp - 0x238]
mov eax, 0x2aaaaaab
mov edi, dword [ebp - 0x240]
add esp, 0xc
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, edi
shl ecx, 3
cmp ecx, 0x1000
jb 0x4156cf
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x415a70
push ecx
push edi
call fcn.0048e9ad
add esp, 8
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x2ac]
cmp edx, 8
jb 0x41573b
mov ecx, dword [ebp - 0x2c0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x415731
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x415a75
push edx
push ecx
call fcn.0048e9ad
add esp, 8
mov byte [ebp - 4], 0xf
mov ecx, esi
mov eax, dword [esi]
push 1
call dword [eax]
lea ecx, [ebp - 0x2dc]
mov dword [ebp - method.JSONFileValueSerializer.virtual_0], vtable.JSONFileValueSerializer.0
call fcn.0041a210
lea ecx, [ebp - 0x2e0]
call fcn.00496100
lea ecx, [ebp - 0x2f8]
mov byte [ebp - 4], 5
call fcn.0041a210
mov esi, dword [0x53cd90]
lea eax, [ebp - 0x358]
push eax
cmp dword [0x53cd94], esi
je 0x415a0b
mov ecx, esi
mov dword [ebp - 0x368], esi
call fcn.0041a300
mov byte [ebp - 4], 0x10
lea ecx, [esi + 0x1c]
mov eax, dword [ebp - 0x340]
mov dword [esi + 0x18], eax
lea eax, [ebp - 0x33c]
push eax
call fcn.0041a300
movups xmm0, xmmword [ebp - 0x320]
mov al, byte [ebp - 0x324]
mov byte [esi + 0x34], al
movups xmmword [esi + 0x38], xmm0
movups xmm0, xmmword [ebp - 0x310]
movups xmmword [esi + 0x48], xmm0
add dword [0x53cd90], 0x58
jmp 0x415a16
mov byte [ebp - 4], 8
test esi, esi
je 0x4157f7
mov byte [ebp - 4], 0xb
mov ecx, esi
mov eax, dword [esi]
push 1
call dword [eax]
lea ecx, [ebp - 0x2dc]
mov dword [ebp - method.JSONFileValueSerializer.virtual_0], vtable.JSONFileValueSerializer.0
call fcn.0041a210
lea ecx, [ebp - 0x2e0]
call fcn.00496100
lea ecx, [ebp - 0x2f8]
call fcn.0041a210
mov ecx, dword [ebp - 0x234]
test ecx, ecx
je 0x4158b1
lea eax, [ebp - 0x234]
push eax
push dword [ebp - 0x230]
push ecx
call fcn.0041b670
mov ecx, dword [ebp - 0x22c]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x234]
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 0x415889
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x415a7a
push ecx
push esi
call fcn.0048e9ad
add esp, 8
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
mov edx, dword [ebp - 0x294]
cmp edx, 8
jb 0x4158f1
mov ecx, dword [ebp - 0x2a8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4158e7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x415a7f
push edx
push ecx
call fcn.0048e9ad
add esp, 8
mov edx, dword [ebp - 0x264]
xor eax, eax
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 7
mov word [ebp - 0x2a8], ax
cmp edx, 8
jb 0x41594e
mov ecx, dword [ebp - 0x278]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x415944
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x415a84
push edx
push ecx
call fcn.0048e9ad
add esp, 8
mov edx, dword [ebp - 0x248]
xor eax, eax
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 7
mov word [ebp - 0x278], ax
cmp edx, 8
jb 0x4159ab
mov ecx, dword [ebp - 0x25c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4159a1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x415a89
push edx
push ecx
call fcn.0048e9ad
add esp, 8
xor eax, eax
mov dword [ebp - 0x24c], 0
lea ecx, [ebp - 0x358]
mov dword [ebp - 0x248], 7
mov word [ebp - 0x25c], ax
call fcn.004136b0
mov edx, dword [ebp - 0x27c]
cmp edx, 8
jb 0x415a41
mov ecx, dword [ebp - 0x290]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x415a37
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x415a8e
jmp 0x415a37
push esi
mov ecx, 0x53cd8c
call fcn.0041ae90
mov eax, dword [ebp - 0x234]
test eax, eax
je 0x4158b1
lea ecx, [ebp - 0x234]
push ecx
push dword [ebp - 0x230]
push eax
jmp 0x41583e
push edx
push ecx
call fcn.0048e9ad
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0048e99c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.0041a880
call fcn.0041a880
call fcn.004c5929
call fcn.004c5929
call fcn.004c5929
call fcn.004c5929
call fcn.004c5929
call fcn.004c5929
call fcn.004c5929
call fcn.004c5929
int3