Function at 0x100241d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100985a3
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x100c78d4]
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.1006bcf0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x100cca70]
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 0x10024302
call fcn.100152d0
mov ecx, eax
test ecx, ecx
je 0x1002445c
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.10014250
test al, al
jne 0x100242d3
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100242b1
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x428]
call fcn.1001b060
lea eax, [ebp - 0x428]
mov dword [ebp - 4], 1
mov ebx, 1
push eax
mov dword [ebp - 0x42c], ebx
call fcn.10023a60
mov ecx, eax
call fcn.100240f0
mov byte [ebp - 0x421], bl
test eax, eax
jne 0x10024309
mov byte [ebp - 0x421], 0
or esi, 0xffffffff
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x10024335
mov edx, dword [ebp - 0x428]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10024335
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x421], 0
je 0x10024345
mov al, 1
jmp 0x10024440
call fcn.10023a60
push 0x208
mov ebx, eax
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.1006bcf0
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.100152d0
mov ecx, eax
test ecx, ecx
je 0x10024466
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.10014250
test al, al
jne 0x10024402
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100243e0
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x428]
call fcn.1001b060
lea eax, [ebp - 0x428]
mov dword [ebp - 4], 3
push eax
mov ecx, ebx
call fcn.100240f0
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 0x1002443b
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.10034680
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10014210
push 0x80004005
call fcn.10014210
int3