Function at 0x415aa0
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 0x4fb81c
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2ac
mov eax, dword [0x53000c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x20a
lea eax, [ebp - 0x228]
mov dword [ebp - 0x2a4], 0
push 0
push eax
call fcn.004bcaf0
add esp, 0xc
lea ecx, [ebp - 0x2a4]
cmp dword [0x53c3f8], 8
mov eax, 0x53c3e4
cmovae eax, dword [0x53c3e4]
push ecx
push 0x20019
push 0
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [ebp - 0x2a4]
test eax, eax
je 0x415b5f
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x244], 0x104
push ecx
lea ecx, [ebp - 0x228]
push ecx
push 0
push 0
push str.UninstallString
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp word [ebp - 0x228], 0
je 0x415ecd
xor eax, eax
mov dword [ebp - 0x230], 0
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x22c], 7
mov word [ebp - 0x240], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x415b93
sub ecx, edx
lea eax, [ebp - 0x228]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x240]
call fcn.0041a5b0
lea eax, [ebp - 0x228]
mov dword [ebp - 4], 0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x415e91
cmp dword [ebp - 0x22c], 8
lea ecx, [ebp - 0x240]
mov edx, dword [ebp - 0x230]
cmovae ecx, dword [ebp - 0x240]
push 1
push 0x51c798
push 0xffffffffffffffff
call fcn.0041b170
mov ecx, eax
add esp, 0xc
cmp dword [ebp - 0x230], ecx
jb 0x415eec
cmp dword [ebp - 0x22c], 8
lea eax, [ebp - 0x240]
mov dword [ebp - 0x230], ecx
cmovae eax, dword [ebp - 0x240]
xor edx, edx
push 1
push 0x51c798
push 0xffffffffffffffff
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x240]
cmp dword [ebp - 0x22c], 8
mov edx, dword [ebp - 0x230]
cmovae ecx, dword [ebp - 0x240]
call fcn.0041b170
mov ecx, eax
add esp, 0xc
cmp dword [ebp - 0x230], ecx
jb 0x415ef1
cmp dword [ebp - 0x22c], 8
lea eax, [ebp - 0x240]
mov dword [ebp - 0x230], ecx
cmovae eax, dword [ebp - 0x240]
xor edx, edx
push 1
push 0x51c798
push 0xffffffffffffffff
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x240]
cmp dword [ebp - 0x22c], 8
mov edx, dword [ebp - 0x230]
cmovae ecx, dword [ebp - 0x240]
call fcn.0041b170
mov ecx, eax
add esp, 0xc
cmp dword [ebp - 0x230], ecx
jb 0x415ef6
cmp dword [ebp - 0x22c], 8
lea eax, [ebp - 0x240]
mov dword [ebp - 0x230], ecx
cmovae eax, dword [ebp - 0x240]
xor edx, edx
push 0x53c3fc
push 0x51c798
mov word [eax + ecx*2], dx
lea eax, [ebp - 0x2bc]
push eax
call fcn.0041a9b0
add esp, 0xc
mov byte [ebp - 4], 1
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x415d03
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x240]
call fcn.0041a710
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x2a8]
cmp edx, 8
jb 0x415d56
mov ecx, dword [ebp - 0x2bc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x415d4c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x415efb
push edx
push ecx
call fcn.0048e9ad
add esp, 8
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x415e91
xor eax, eax
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], 7
mov word [ebp - 0x2a0], ax
mov dword [ebp - 0x274], eax
mov dword [ebp - 0x270], 7
mov word [ebp - 0x284], ax
mov byte [ebp - 0x26c], al
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2a0]
cmp dword [0x53c428], 8
mov eax, 0x53c414
push dword [0x53c424]
cmovae eax, dword [0x53c414]
push eax
mov dword [ebp - 0x288], 5
call fcn.0041a5b0
cmp dword [ebp - 0x22c], 8
lea eax, [ebp - 0x240]
push dword [ebp - 0x230]
cmovae eax, dword [ebp - 0x240]
lea ecx, [ebp - 0x284]
push eax
call fcn.0041a5b0
push 0
push 0x53c444
push 0x53c42c
call fcn.004176e0
mov esi, dword [0x53cd90]
mov byte [ebp - 0x26c], al
lea eax, [ebp - 0x2a0]
push eax
cmp dword [0x53cd94], esi
je 0x415e7b
mov ecx, esi
mov dword [ebp - 0x244], esi
call fcn.0041a300
mov byte [ebp - 4], 3
lea ecx, [esi + 0x1c]
mov eax, dword [ebp - 0x288]
mov dword [esi + 0x18], eax
lea eax, [ebp - 0x284]
push eax
call fcn.0041a300
movups xmm0, xmmword [ebp - 0x268]
mov al, byte [ebp - 0x26c]
mov byte [esi + 0x34], al
movups xmmword [esi + 0x38], xmm0
movups xmm0, xmmword [ebp - 0x258]
movups xmmword [esi + 0x48], xmm0
add dword [0x53cd90], 0x58
jmp 0x415e86
push esi
mov ecx, 0x53cd8c
call fcn.0041ae90
lea ecx, [ebp - 0x2a0]
call fcn.004136b0
mov edx, dword [ebp - 0x22c]
cmp edx, 8
jb 0x415ecd
mov ecx, dword [ebp - 0x240]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x415ec3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x415f00
push edx
push ecx
call fcn.0048e9ad
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
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.0041a880
call fcn.004c5929
call fcn.004c5929
int3