Function at 0x5129e0
Capabilities:
Check if file exists

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 0x5f6cb3
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa0
mov eax, dword [0x70f200]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov edx, dword [ebx + 8]
lea ecx, [edi + 0x140]
mov dword [ebp - 0xac], edx
call fcn.005dbeb0
test al, al
jne 0x512e69
cmp edx, 0xfffffff2
jne 0x512a49
mov esi, dword [ebx + 0xc]
jmp 0x512a80
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
push 0
push 0
push 0x130b
push dword [eax + 0x64]
call fcn.005c5730
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 6
ja 0x512e69
push eax
mov ecx, edi
call fcn.0050bd90
mov esi, eax
lea ecx, [edi + 0x140]
cmp esi, 1
jl 0x512e69
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 0
push ecx
lea ecx, [ebp - 0x44]
movq qword [ebp - 0x44], xmm0
call fcn.005dc5b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x20]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x20], xmm0
call fcn.005dc5e0
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x38]
movq qword [ebp - 0x38], xmm0
call fcn.005dc5e0
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x50]
movq qword [ebp - 0x50], xmm0
call fcn.005dc5e0
mov edx, dword [ebp - 0xac]
xorps xmm0, xmm0
mov byte [ebp - 4], 3
mov ecx, str.Path
mov eax, dword [edi + 8]
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], 0
push 1
cmp edx, dword [eax + 0xd0]
mov eax, str.Registry_Key
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.005dc570
push 2
push 0xffffffffffffffff
push 0x100c
mov byte [ebp - 4], 4
mov ecx, dword [edi + 4]
push esi
call fcn.005c5730
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0xa8], eax
cmp eax, 0xffffffff
je 0x512e32
mov eax, dword [edi + 8]
cmp esi, dword [eax + 0xb8]
jne 0x512c1f
mov ecx, dword [edi + 4]
push 0
push dword [ebp - 0xa8]
push esi
call fcn.005bb510
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc1c0
push dword [ebp - 0xa8]
mov ecx, dword [edi + 4]
push esi
call fcn.005bb5c0
lea ecx, [ebp - 0x20]
cmp eax, 0x51
jne 0x512baf
call fcn.005dc190
xor edx, edx
mov ecx, eax
call fcn.00590c10
test eax, eax
setne byte [ebp - 0xa1]
jmp 0x512e39
xorps xmm0, xmm0
push 1
push 0x62bd28
movups xmmword [ebp - 0x68], xmm0
movq qword [ebp - 0x58], xmm0
call fcn.005dc190
push eax
lea ecx, [ebp - 0x68]
call fcn.005d92a0
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 5
call fcn.005d9210
cmp eax, 2
jae 0x512bed
lea ecx, [ebp - 0x20]
call fcn.005dc190
xor edx, edx
jmp 0x512c02
push 1
lea ecx, [ebp - 0x68]
call fcn.005d9220
push 0
mov esi, eax
call fcn.005d9220
mov edx, esi
mov ecx, eax
call fcn.00590c10
test eax, eax
lea ecx, [ebp - 0x68]
setne byte [ebp - 0xa1]
call fcn.005d9280
jmp 0x512e39
cmp esi, dword [eax + 0xa0]
jne 0x512c44
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.Programs
jmp 0x512c8c
cmp esi, dword [eax + 0xa4]
jne 0x512c69
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.Autostart
jmp 0x512c8c
cmp esi, dword [eax + 0xa8]
jne 0x512c94
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.Internet_Browsers
lea ecx, [ebp - 0x44]
call fcn.005da780
push dword [ebp - 0xa8]
mov ecx, dword [edi + 4]
push esi
call fcn.005bb110
test eax, eax
je 0x512e32
push dword [eax]
lea ecx, [ebp - 0x38]
call fcn.005db320
push 0x38
lea eax, [ebp - 0xa0]
push 0
push eax
call fcn.00420090
add esp, 0xc
lea ecx, [ebp - 0x44]
call fcn.005dc190
push eax
lea ecx, [ebp - 0xa0]
call fcn.005dd680
push 0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call fcn.005dc190
push eax
lea ecx, [ebp - 0x38]
call fcn.005dc190
push eax
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x20]
call fcn.005db160
lea ecx, [ebp - 0x20]
call fcn.005dbeb0
test al, al
je 0x512d98
cmp dword [ebp - 0xac], 0xfffffff2
jne 0x512d98
push str.Registry_Key
lea ecx, [ebp - 0x2c]
call fcn.005dc4c0
test al, al
je 0x512d98
push str.Path
lea ecx, [ebp - 0x2c]
call fcn.005dc510
push 0
push str.Extension_path
lea ecx, [ebp - 0x38]
call fcn.005dc190
push eax
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x20]
call fcn.005db160
lea ecx, [ebp - 0x20]
call fcn.005dbeb0
test al, al
jne 0x512d75
call fcn.005dc190
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x512d98
push 0
lea ecx, [ebp - 0x2c]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x38]
call fcn.005dc190
push eax
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x20]
call fcn.005db160
push str.Registry_Key
lea ecx, [ebp - 0x2c]
xor esi, esi
call fcn.005dc4c0
test al, al
je 0x512e12
lea ecx, [ebp - 0x20]
call fcn.005dc3a0
test eax, eax
je 0x512e12
push esi
push str.Value_name
lea ecx, [ebp - 0x38]
call fcn.005dc190
push eax
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x50]
call fcn.005db160
lea ecx, [ebp - 0x50]
call fcn.005dc3a0
test eax, eax
je 0x512deb
lea ecx, [ebp - 0x50]
call fcn.005dc190
mov esi, eax
lea ecx, [ebp - 0x20]
call fcn.005dc190
mov edx, esi
mov ecx, eax
call fcn.00590c10
test eax, eax
lea ecx, [ebp - 0xa0]
setne byte [ebp - 0xa1]
call fcn.005dd5d0
jmp 0x512e39
lea ecx, [ebp - 0x20]
call fcn.005dbeb0
test al, al
je 0x512deb
lea ecx, [ebp - 0xa0]
mov byte [ebp - 0xa1], 0
call fcn.005dd5d0
jmp 0x512e39
mov byte [ebp - 0xa1], 0
lea ecx, [ebp - 0x2c]
call fcn.005dc430
lea ecx, [ebp - 0x50]
call fcn.005dc430
lea ecx, [ebp - 0x38]
call fcn.005dc430
lea ecx, [ebp - 0x20]
call fcn.005dc430
lea ecx, [ebp - 0x44]
call fcn.005dc430
mov al, byte [ebp - 0xa1]
jmp 0x512e6b
xor al, al
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.0041e1b5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8