Function at 0x100102b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10082723
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x100a836c]
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.10057470
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x100ac440]
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 0x100103e2
call fcn.10007fc0
mov ecx, eax
test ecx, ecx
je 0x1001053c
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.10007250
test al, al
jne 0x100103b3
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10010391
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x428]
call fcn.1000b250
lea eax, [ebp - 0x428]
mov dword [ebp - 4], 1
mov ebx, 1
push eax
mov dword [ebp - 0x42c], ebx
call fcn.1000fb50
mov ecx, eax
call fcn.100101d0
mov byte [ebp - 0x421], bl
test eax, eax
jne 0x100103e9
mov byte [ebp - 0x421], 0
or esi, 0xffffffff
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x10010415
mov edx, dword [ebp - 0x428]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10010415
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x421], 0
je 0x10010425
mov al, 1
jmp 0x10010520
call fcn.1000fb50
push 0x208
mov ebx, eax
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.10057470
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.10007fc0
mov ecx, eax
test ecx, ecx
je 0x10010546
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.10007250
test al, al
jne 0x100104e2
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100104c0
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x428]
call fcn.1000b250
lea eax, [ebp - 0x428]
mov dword [ebp - 4], 3
push eax
mov ecx, ebx
call fcn.100101d0
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 0x1001051b
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.10031895
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10007210
push 0x80004005
call fcn.10007210
int3