Function at 0x10014410
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010333e
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x1014b520]
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
mov edi, ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
call fcn.10002b50
mov esi, dword [ebp - 0x14]
mov dword [ebp - 4], 0
test esi, esi
je 0x10014489
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10014489
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x10014489
push str.GetInfoV2
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10014489
call eax
mov dword [edi + 0xc], eax
mov ecx, dword [edi + 0xc]
or ebx, 0xffffffff
test ecx, ecx
je 0x10014610
mov eax, dword [ecx]
push str.aliceassist_helper_stub
push ecx
call dword [eax + 4]
mov eax, dword [edi + 0xc]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov esi, dword [edi + 0xc]
lea eax, [ebp - 0x1c]
push eax
call fcn.10013e20
mov ecx, eax
call fcn.10002150
push dword [eax]
mov ecx, dword [esi]
push 0x1010e5c0
push edi
push esi
mov byte [ebp - 4], 1
call dword [ecx + 0x10]
mov edx, dword [ebp - 0x1c]
mov eax, ebx
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100144ef
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [edi + 0xc]
lea eax, [ebp - 0x1c]
push eax
call fcn.10013e20
mov ecx, eax
call fcn.10002180
push dword [eax]
mov ecx, dword [esi]
push str.channel
push edi
push esi
mov byte [ebp - 4], 2
call dword [ecx + 0x10]
mov edx, dword [ebp - 0x1c]
mov eax, ebx
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10014532
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [edi + 0xc]
lea eax, [ebp - 0x1c]
push eax
call fcn.10013e20
mov ecx, eax
call fcn.100021a0
push dword [eax]
mov ecx, dword [esi]
push str.from
push edi
push esi
mov byte [ebp - 4], 3
call dword [ecx + 0x10]
mov edx, dword [ebp - 0x1c]
mov eax, ebx
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10014575
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [edi + 0xc]
lea eax, [ebp - 0x1c]
push eax
call fcn.10013e20
mov ecx, eax
call fcn.10002130
push dword [eax]
mov ecx, dword [esi]
push 0x1010e5ec
push edi
push esi
mov byte [ebp - 4], 4
call dword [ecx + 0x10]
mov edx, dword [ebp - 0x1c]
mov eax, ebx
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100145b8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.1003fde0
test eax, eax
je 0x1001460c
call fcn.1003fde0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x1001460c
call fcn.1003fde0
lea ecx, [ebp - 0xb4]
mov edi, eax
call fcn.100053e0
mov esi, eax
push str.Reg_Success
push esi
mov byte [ebp - 4], 5
call fcn.10003110
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x14]
lea ecx, [ebp - 0xb4]
call fcn.100083c0
mov cl, 1
jmp 0x10014666
call fcn.1003fde0
test eax, eax
je 0x10014664
call fcn.1003fde0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 4]
call eax
test al, al
je 0x10014664
call fcn.1003fde0
lea ecx, [ebp - 0xb4]
mov edi, eax
call fcn.100053e0
mov esi, eax
push str.Reg_Failed
push esi
mov byte [ebp - 4], 6
call fcn.10003110
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x14]
lea ecx, [ebp - 0xb4]
call fcn.100083c0
xor cl, cl
mov eax, dword [ebp - 0x14]
mov byte [ebp - 0x15], cl
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1001468d
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, byte [ebp - 0x15]
jmp 0x1001468f
mov al, cl
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.100bb073
mov esp, ebp
pop ebp
ret