Function at 0x100a0e60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x278
mov eax, dword [0x10250150]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x22c], edi
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x24c], ebx
mov dword [ebp - 0x214], eax
call fcn.1000ad40
test eax, eax
je 0x100a1221
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.102134e7
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
push dword [0x1025ab9c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str...360DeskAna64.exe
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100a120c
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push str.LocalD3743DC1_C64C_4c84_8435_F6799EABAAE7
push 0
push 1
push 0
call esi
push str.Local5C11F641_0D5F_4339_9B20_7D956E3BD8D1
push 0
push 1
push 0
mov dword [ebp - 0x220], eax
call esi
mov edi, eax
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x224], edi
test eax, eax
je 0x100a120c
test edi, edi
je 0x100a120c
mov esi, dword [sym.imp.KERNEL32.dll_ResetEvent]
push eax
call esi
push edi
call esi
lea ecx, [ebp - 0x210]
call fcn.1001e380
push dword [ebp + 0x10]
lea eax, [ebp - 0x210]
push dword [ebp - 0x218]
push dword [ebp - 0x22c]
push str.EnumProcDLL:___s____s____d_
push eax
call fcn.10004de0
lea eax, [ebp - 0x20c]
push eax
call fcn.1001d810
mov esi, dword [ebp - 0x210]
add esp, 0x18
test eax, eax
je 0x100a0fca
push 0x1388
push 2
push 0
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.101cbc80
add esp, 0x14
test eax, eax
jne 0x100a0ff9
mov eax, dword [ebp - 0x220]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
push dword [ebp - 0x224]
call edi
xor edi, edi
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100a0fe4
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10212f74
mov esp, ebp
pop ebp
ret 0x14
lea ecx, [ebp - 0x244]
call fcn.10185410
push 2
push str.LocalBB743DC1_C64C_4c84_8EAD_F6799EABAAE7
push str.LocalD79F00CF_B94D_48a3_80EF_EE4DD7A71FE2
lea ecx, [ebp - 0x244]
call fcn.10185570
lea ecx, [ebp - 0x244]
call fcn.10185560
test eax, eax
je 0x100a10fd
lea eax, [ebp - 0x218]
mov dword [ebp - 0x218], 0
push eax
lea ecx, [ebp - 0x244]
call fcn.10185470
cmp dword [ebp - 0x218], 0
jle 0x100a1098
mov eax, dword [ebx + 4]
mov edi, dword [ebx]
cmp edi, eax
je 0x100a108f
or esi, 0xffffffff
mov ebx, eax
mov edx, dword [edi]
mov eax, esi
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100a107a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 4
cmp edi, ebx
jne 0x100a1061
mov ebx, dword [ebp - 0x24c]
mov esi, dword [ebp - 0x210]
mov edi, dword [ebx]
mov dword [ebx + 4], edi
mov edi, dword [ebp - 0x224]
lea ecx, [ebp - 0x21c]
call fcn.1001e380
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x244]
call fcn.101854b0
push 0x1021a07c
lea ecx, [ebp - 0x210]
call fcn.10004700
push ebx
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.101cc070
add esp, 0xc
lea ecx, [ebp - 0x210]
call int.10008f10
lea ecx, [ebp - 0x244]
call fcn.10185510
lea ecx, [ebp - 0x21c]
call int.10008f10
push edi
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [ebp - 0x220]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
push dword [ebp - 0x224]
call edi
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
sub eax, ecx
mov edi, dword [ebp - 0x228]
sar eax, 2
test eax, eax
je 0x100a116b
push ecx
mov ecx, edi
call fcn.10004870
mov eax, dword [ebx]
push eax
push dword [ebx + 4]
add eax, 4
push eax
call fcn.100202a0
mov eax, dword [ebx + 4]
add esp, 0xc
mov edx, dword [eax - 4]
or eax, 0xffffffff
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100a1167
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add dword [ebx + 4], 0xfffffffc
lea ecx, [ebp - 0x278]
call fcn.101cc480
lea ecx, [ebp - 0x260]
call fcn.101cd100
push dword [ebp - 0x22c]
lea ecx, [ebp - 0x278]
call fcn.101cd060
lea eax, [ebp - 0x278]
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x250], eax
call fcn.101cd910
mov ecx, dword [ebp - 0x214]
lea eax, [ebp - 0x26c]
push eax
call fcn.100a0e30
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x278]
call fcn.101ccc50
push eax
lea ecx, [edi + 4]
call fcn.10004870
lea ecx, [ebp - 0x214]
call int.10008f10
lea ecx, [ebp - 0x260]
mov edi, 1
call fcn.101cd130
lea ecx, [ebp - 0x278]
call fcn.101cc550
lea ecx, [ebp - 0x244]
call fcn.10185440
jmp 0x100a0fcc
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10212f74
mov esp, ebp
pop ebp
ret 0x14
lea ecx, [ebp - 0x244]
call fcn.101cc480
lea ecx, [ebp - 0x260]
call fcn.101cd100
push edi
lea ecx, [ebp - 0x244]
call fcn.101cd060
push esi
lea ecx, [ebp - 0x244]
call fcn.101cd0b0
lea eax, [ebp - 0x244]
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x250], eax
call fcn.101cd910
lea eax, [ebp - 0x238]
cmp ebx, eax
je 0x100a1289
push dword [ebp - 0x214]
mov ecx, ebx
push dword [ebp - 0x234]
push dword [ebp - 0x238]
call fcn.10020090
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x244]
call fcn.101ccc50
mov ecx, dword [ebp - 0x228]
push eax
call fcn.10004870
mov edx, dword [ebp - 0x214]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100a12c5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x260]
call fcn.101cd130
lea ecx, [ebp - 0x244]
call fcn.101cc550
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10212f74
mov esp, ebp
pop ebp
ret 0x14