Function at 0x1001c500
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10090463
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x100b7314]
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.10061d90
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x100bb624]
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 0x1001c632
call fcn.100091b0
mov ecx, eax
test ecx, ecx
je 0x1001c78c
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.100086b0
test al, al
jne 0x1001c603
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001c5e1
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x428]
call fcn.10010c20
lea eax, [ebp - 0x428]
mov dword [ebp - 4], 1
mov ebx, 1
push eax
mov dword [ebp - 0x42c], ebx
call fcn.1001bda0
mov ecx, eax
call fcn.1001c420
mov byte [ebp - 0x421], bl
test eax, eax
jne 0x1001c639
mov byte [ebp - 0x421], 0
or esi, 0xffffffff
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x1001c665
mov edx, dword [ebp - 0x428]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001c665
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x421], 0
je 0x1001c675
mov al, 1
jmp 0x1001c770
call fcn.1001bda0
push 0x208
mov ebx, eax
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.10061d90
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.100091b0
mov ecx, eax
test ecx, ecx
je 0x1001c796
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.100086b0
test al, al
jne 0x1001c732
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001c710
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x428]
call fcn.10010c20
lea eax, [ebp - 0x428]
mov dword [ebp - 4], 3
push eax
mov ecx, ebx
call fcn.1001c420
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 0x1001c76b
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.1003c735
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10008670
push 0x80004005
call fcn.10008670
int3