Function at 0x10019980
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10092003
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x100bc564]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
lea eax, [ebp - 0x218]
push 0x208
push ebx
push eax
mov dword [ebp - 0x42c], ebx
call fcn.10061580
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x100c0864]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call edi
lea eax, [ebp - 0x218]
push eax
call edi
push str.Utils_netul.dll
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10019ab2
call fcn.1000a280
mov ecx, eax
test ecx, ecx
je 0x10019c0c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x428], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x428]
call fcn.10009590
test al, al
jne 0x10019a83
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10019a61
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x428]
call fcn.1000ed50
lea eax, [ebp - 0x428]
mov dword [ebp - 4], 1
mov ebx, 1
push eax
mov dword [ebp - 0x42c], ebx
call fcn.10019210
mov ecx, eax
call fcn.100198a0
mov byte [ebp - 0x421], bl
test eax, eax
jne 0x10019ab9
mov byte [ebp - 0x421], 0
or esi, 0xffffffff
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x10019ae5
mov edx, dword [ebp - 0x428]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10019ae5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x421], 0
je 0x10019af5
mov al, 1
jmp 0x10019bf0
call fcn.10019210
push 0x208
mov ebx, eax
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.10061580
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
push 0x10000000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x420]
push eax
call edi
lea eax, [ebp - 0x420]
push eax
call edi
push str.NetBridge.dll
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
call fcn.1000a280
mov ecx, eax
test ecx, ecx
je 0x10019c16
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x428], eax
lea eax, [ebp - 0x420]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x428]
call fcn.10009590
test al, al
jne 0x10019bb2
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10019b90
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x428]
call fcn.1000ed50
lea eax, [ebp - 0x428]
mov dword [ebp - 4], 3
push eax
mov ecx, ebx
call fcn.100198a0
mov edx, dword [ebp - 0x428]
mov edi, eax
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x10019beb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003a140
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10009550
push 0x80004005
call fcn.10009550
int3