Function at 0x58b370
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f7138
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x6670f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [ebp - 0x10]
push eax
call fcn.0058b5c0
mov esi, dword [ebp - 0x10]
or ebx, 0xffffffff
mov dword [ebp - 4], 0
cmp dword [esi - 0xc], 0
je 0x58b585
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x58b585
push str.QQPYStrokesHelper.exe
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004c3c70
add esp, 0xc
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 0x14]
mov ecx, ebx
mov dword [ebp - 0x18], eax
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x58b406
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x58b4a4
lea ecx, [ebp - 0x2c]
call fcn.0058b240
push 0xa
push 0x60debc
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.004c0470
push str.QQPYStrokesHelper.exe
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004c3c70
add esp, 0xc
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.004bfcd0
mov edx, dword [ebp - 0x18]
mov eax, ebx
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x58b469
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x24], 0x87
mov dword [ebp - 0x20], 9
push ecx
cmp dword [edi + 8], eax
je 0x58b490
mov ecx, eax
call fcn.0058b1a0
add dword [edi + 4], 0x14
jmp 0x58b498
push eax
mov ecx, edi
call fcn.0058af30
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.0058b2e0
push str.QQPYClipboard.exe
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004c3c70
add esp, 0xc
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 0x18]
mov ecx, ebx
mov dword [ebp - 0x14], eax
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x58b4e1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x58b57b
lea ecx, [ebp - 0x2c]
call fcn.0058b240
push 9
push 0x60def8
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.004c0470
push str.QQPYClipboard.exe
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004c3c70
add esp, 0xc
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.004bfcd0
mov edx, dword [ebp - 0x18]
mov eax, ebx
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x58b544
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x24], 0x88
mov dword [ebp - 0x20], 0xa
push ecx
cmp dword [edi + 8], eax
je 0x58b56b
mov ecx, eax
call fcn.0058b1a0
add dword [edi + 4], 0x14
jmp 0x58b573
push eax
mov ecx, edi
call fcn.0058af30
lea ecx, [ebp - 0x2c]
call fcn.0058b2e0
mov eax, dword [edi]
cmp eax, dword [edi + 4]
setne bl
jmp 0x58b587
xor bl, bl
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x58b5a6
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret