Function at 0x510ff0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f69b6
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x70f200]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
mov ebx, dword [ebp + 0x10]
xorps xmm0, xmm0
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x38], ebx
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], 0
call fcn.005dc5e0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
push ebx
call fcn.00510040
or ebx, 0xffffffff
mov dword [ebp - 0x3c], eax
test eax, eax
jne 0x511065
xor bl, bl
jmp 0x511209
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push dword [eax + 0xb8]
call fcn.005c5730
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
call fcn.005d8c40
test eax, eax
je 0x5110ff
push 0
push 0xffffffffffffffff
mov edx, ecx
mov ecx, dword [ebp - 0x34]
push 0
call fcn.005c9cf0
test eax, eax
jns 0x5110ff
push 1
push str.Infected_file_objects
push dword [ebp - 0x30]
mov ecx, esi
call fcn.00511ee0
test al, al
jne 0x5110ff
mov ebx, dword [ebp - 0x30]
push 0
push ebx
push ecx
push 1
push dword [ebp - 0x38]
lea ecx, [ebp - 0x2c]
call fcn.005dc190
push eax
mov eax, dword [esi + 8]
mov ecx, esi
push ebx
push 0xffffffffffffffff
push 0x51
push dword [eax + 0xb8]
call fcn.0053ab00
mov ebx, eax
cmp ebx, 0xffffffff
je 0x5110ff
push ecx
mov ecx, dword [esi + 8]
push ebx
push dword [ecx + 0xb8]
mov ecx, esi
push dword [ebp - 0x30]
call fcn.0050b660
push dword [ebp - 0x3c]
mov ecx, esi
push ebx
call fcn.0050ff50
mov ecx, edi
call fcn.005d8c40
test eax, eax
je 0x511203
mov ecx, dword [ebp - 0x34]
mov edx, edi
push 0
push 0xffffffffffffffff
push 0
call fcn.005c9cf0
test eax, eax
jns 0x511203
push 1
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push edi
lea ecx, [ebp - 0x20]
movq qword [ebp - 0x20], xmm0
call fcn.005dc570
push 2
push 1
push 1
push 0
push 0x62f440
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.005daa70
test eax, eax
jne 0x511180
push eax
lea ecx, [ebp - 0x20]
call fcn.005dc440
cmp word [eax], 0x40
je 0x511180
push edi
mov dword [ebp - 0x30], 0x51
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x511187
jmp 0x5111fb
mov dword [ebp - 0x30], 0x52
cmp dword [ebp - 0x30], 0x52
mov ecx, str.Infected_file_objects
push 1
mov eax, str.Infected_registry_entries
cmovne eax, ecx
mov ecx, esi
push eax
push edi
call fcn.00511ee0
test al, al
jne 0x5111fb
push 0
push 0
push ecx
push 1
push dword [ebp - 0x38]
lea ecx, [ebp - 0x2c]
call fcn.005dc190
push eax
mov eax, dword [esi + 8]
mov ecx, esi
push edi
push 0xffffffffffffffff
push dword [ebp - 0x30]
push dword [eax + 0xb8]
call fcn.0053ab00
mov ebx, eax
cmp ebx, 0xffffffff
je 0x5111fb
cmp dword [ebp - 0x30], 0x51
jne 0x5111f0
mov eax, dword [esi + 8]
push ecx
push ebx
mov ecx, esi
push dword [eax + 0xb8]
push edi
call fcn.0050b660
push dword [ebp - 0x3c]
mov ecx, esi
push ebx
call fcn.0050ff50
lea ecx, [ebp - 0x20]
call fcn.005dc430
shr ebx, 0x1f
xor bl, 1
lea ecx, [ebp - 0x2c]
call fcn.005dc430
mov al, bl
ret
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret 0xc