Function at 0x100238a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10096e13
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x100c2354]
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.1006a7b0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x100c864c]
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 0x100239d2
call fcn.10017a20
mov ecx, eax
test ecx, ecx
je 0x10023b2c
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.10016c60
test al, al
jne 0x100239a3
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10023981
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x428]
call fcn.1001d810
lea eax, [ebp - 0x428]
mov dword [ebp - 4], 1
mov ebx, 1
push eax
mov dword [ebp - 0x42c], ebx
call fcn.10023130
mov ecx, eax
call fcn.100237c0
mov byte [ebp - 0x421], bl
test eax, eax
jne 0x100239d9
mov byte [ebp - 0x421], 0
or esi, 0xffffffff
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x10023a05
mov edx, dword [ebp - 0x428]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10023a05
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x421], 0
je 0x10023a15
mov al, 1
jmp 0x10023b10
call fcn.10023130
push 0x208
mov ebx, eax
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.1006a7b0
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.10017a20
mov ecx, eax
test ecx, ecx
je 0x10023b36
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.10016c60
test al, al
jne 0x10023ad2
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10023ab0
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x428]
call fcn.1001d810
lea eax, [ebp - 0x428]
mov dword [ebp - 4], 3
push eax
mov ecx, ebx
call fcn.100237c0
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 0x10023b0b
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.1002ff7e
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10016c20
push 0x80004005
call fcn.10016c20
int3