Function at 0x1002bd10
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006b7e8
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x10086014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetErrorMode]
mov edi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov esi, eax
mov ecx, esi
or ecx, 1
push ecx
call edi
mov edx, dword [0x10089170]
mov ecx, bind
sub ecx, edx
cmp ecx, 0x14
jb 0x1002c533
cmp dword [0x10089174], 8
mov eax, 0x10089160
push 0x14
cmovae eax, dword [0x10089160]
push str._anadius32online.dll
push edx
push eax
push ecx
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x28]
call fcn.10014950
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edx, dword [ebp - 0x14]
mov dword [0x1008915c], eax
cmp edx, 8
jb 0x1002bde2
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002bdd8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002c538
push edx
push ecx
call fcn.1003c31e
add esp, 8
push esi
call edi
cmp dword [0x1008915c], 0
je 0x1002c518
mov edx, str.online_dll_found__n
mov ecx, 0x100884f8
call fcn.10011ab0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.version_check
push dword [0x1008915c]
call esi
test eax, eax
jne 0x1002be22
mov edx, str.version_function_not_loaded_n
jmp 0x1002c50e
call eax
cmp eax, 1
jne 0x1002c4f5
push str.create_online
push dword [0x1008915c]
call esi
mov ecx, eax
test ecx, ecx
jne 0x1002be4a
mov edx, str.factory_function_not_loaded_n
jmp 0x1002c50e
cmp dword [0x100891bc], 8
mov eax, 0x100891a8
cmovae eax, dword [0x100891a8]
push eax
call ecx
mov ecx, eax
add esp, 4
mov dword [0x10089158], ecx
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov ecx, 0x100884f8
test al, al
je 0x1002c1fa
mov edx, str.authentication_ok_n
call fcn.10011ab0
mov ecx, dword [0x10089158]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov edx, eax
lea esi, [edx + 1]
nop dword [eax + eax]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x1002bea0
sub edx, esi
mov ecx, 0x100892dc
push edx
push eax
call fcn.1000fb90
mov ecx, dword [0x10089158]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov edx, eax
lea esi, [edx + 1]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x1002bec7
sub edx, esi
mov ecx, 0x100892f4
push edx
push eax
call fcn.1000fb90
mov ecx, dword [0x10089158]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov edx, eax
lea esi, [edx + 1]
nop
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x1002bef0
sub edx, esi
mov ecx, 0x1008930c
push edx
push eax
call fcn.1000fb90
cmp dword [0x100891bc], 8
mov eax, 0x100891a8
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmovae eax, dword [0x100891a8]
push eax
call esi
cmp eax, 0xffffffff
je 0x1002bf93
cmp dword [0x100891ec], 8
mov eax, 0x100891d8
cmovae eax, dword [0x100891d8]
push eax
call esi
cmp eax, 0xffffffff
je 0x1002bf93
mov edx, 0x100891d8
lea ecx, [ebp - 0x94]
call fcn.100205b0
push eax
mov ecx, 0x100891f0
call fcn.1000e120
mov edx, dword [ebp - 0x80]
cmp edx, 0x10
jb 0x1002bf93
mov ecx, dword [ebp - 0x94]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002bf89
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002c53d
push edx
push ecx
call fcn.1003c31e
add esp, 8
cmp byte [0x10089324], 0
mov byte [0x10089327], 1
je 0x1002c518
mov ecx, dword [0x10089304]
mov eax, closesocket
sub eax, ecx
cmp eax, 1
jb 0x1002c542
cmp dword [0x10089308], 0x10
mov eax, 0x100892f4
push 1
cmovae eax, dword [0x100892f4]
push 0x100799e0
push ecx
push eax
push ecx
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x94]
call fcn.10014a60
push 0x1008930c
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0
call fcn.1000e0a0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x7c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x6c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push 0x100799e0
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 1
call fcn.1000e030
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x64], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x54], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push 0x100892dc
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.1000e0a0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov edx, dword [ebp - 0x50]
cmp edx, 0x10
jb 0x1002c0e5
mov ecx, dword [ebp - 0x64]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002c0db
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002c547
push edx
push ecx
call fcn.1003c31e
add esp, 8
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
cmp edx, 0x10
jb 0x1002c12b
mov ecx, dword [ebp - 0x7c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002c121
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002c547
push edx
push ecx
call fcn.1003c31e
add esp, 8
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
cmp edx, 0x10
jb 0x1002c174
mov ecx, dword [ebp - 0x94]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002c16a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002c547
push edx
push ecx
call fcn.1003c31e
add esp, 8
cmp dword [0x100891d4], 8
mov eax, 0x100891c0
push 0x1007a55c
cmovae eax, dword [0x100891c0]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.1004db89
mov ecx, dword [ebp - 0x44]
add esp, 0xc
test ecx, ecx
je 0x1002c1bd
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push ecx
call fcn.1001ef80
push dword [ebp - 0x44]
call fcn.10048c52
add esp, 0xc
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x1002c518
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002c1eb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002c54c
push edx
push ecx
call fcn.1003c31e
add esp, 8
jmp 0x1002c518
mov edx, str.authentication_failed__starting_offline_n
call fcn.10011ab0
cmp byte [0x10089324], 0
je 0x1002c518
cmp dword [0x100891bc], 8
mov eax, 0x100891a8
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmovae eax, dword [0x100891a8]
push eax
call esi
cmp eax, 0xffffffff
je 0x1002c518
cmp dword [0x100891ec], 8
mov eax, 0x100891d8
cmovae eax, dword [0x100891d8]
push eax
call esi
cmp eax, 0xffffffff
je 0x1002c2a3
mov edx, 0x100891d8
lea ecx, [ebp - 0x94]
call fcn.100205b0
push eax
mov ecx, 0x100891f0
call fcn.1000e120
mov edx, dword [ebp - 0x80]
cmp edx, 0x10
jb 0x1002c2a3
mov ecx, dword [ebp - 0x94]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002c299
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002c551
push edx
push ecx
call fcn.1003c31e
add esp, 8
mov edx, 0x100891c0
lea ecx, [ebp - 0x40]
call fcn.10020d80
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x40]
mov edi, dword [ebp - 0x2c]
cmp edi, 0x10
mov esi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x30]
cmovae ecx, esi
mov dword [ebp - 0x44], ecx
test eax, eax
je 0x1002c4c9
push eax
push 0x3b
push ecx
call fcn.100420a0
add esp, 0xc
test eax, eax
je 0x1002c4c9
sub eax, dword [ebp - 0x44]
mov dword [ebp - 0x44], eax
cmp eax, 0xffffffff
je 0x1002c4c9
cmp edi, 0x10
lea ecx, [eax + 1]
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x40]
cmovae edx, esi
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], edx
cmp ecx, eax
jae 0x1002c4c9
sub eax, ecx
push eax
lea eax, [edx + ecx]
push 0x3b
push eax
call fcn.100420a0
add esp, 0xc
test eax, eax
je 0x1002c4c9
sub eax, dword [ebp - 0x48]
mov dword [ebp - 0x48], eax
cmp eax, 0xffffffff
je 0x1002c4c9
mov eax, dword [ebp - 0x44]
mov ecx, eax
cmp dword [ebp - 0x30], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x28], 0
cmovb ecx, dword [ebp - 0x30]
cmp edi, 0x10
push ecx
cmovae eax, esi
mov dword [ebp - 0x18], 0
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
call fcn.1000fb90
lea eax, [ebp - 0x28]
mov ecx, 0x100892f4
push eax
call fcn.1000e120
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x1002c3b2
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002c3a8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002c556
push edx
push ecx
call fcn.1003c31e
add esp, 8
mov edi, dword [ebp - 0x30]
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
cmp edi, edx
jb 0x1002c55b
mov esi, dword [ebp - 0x48]
lea eax, [ebp - 0x40]
mov ecx, esi
sub edi, edx
sub ecx, dword [ebp - 0x44]
dec ecx
cmp edi, ecx
cmovb ecx, edi
cmp dword [ebp - 0x2c], 0x10
push ecx
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
add eax, edx
push eax
call fcn.1000fb90
lea eax, [ebp - 0x28]
mov ecx, 0x1008930c
push eax
call fcn.1000e120
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x1002c43e
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002c434
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002c556
push edx
push ecx
call fcn.1003c31e
add esp, 8
mov eax, dword [ebp - 0x30]
inc esi
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
cmp eax, esi
jb 0x1002c55b
sub eax, esi
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push ecx
add eax, esi
lea ecx, [ebp - 0x28]
push eax
call fcn.1000fb90
lea eax, [ebp - 0x28]
mov ecx, 0x100892dc
push eax
call fcn.1000e120
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x1002c4c3
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002c4b9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002c556
push edx
push ecx
call fcn.1003c31e
add esp, 8
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x40]
cmp edi, 0x10
jb 0x1002c518
inc edi
mov eax, esi
cmp edi, 0x1000
jb 0x1002c4e9
mov esi, dword [esi - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002c556
push edi
push esi
call fcn.1003c31e
add esp, 8
jmp 0x1002c518
push 0x10
push str.crack_error
push str.Online_DLL_version_mismatch_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov edx, str.Online_DLL_version_mismatch__n
mov ecx, 0x100884f8
call fcn.10011ab0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003c310
mov esp, ebp
pop ebp
ret
call fcn.10002ad0
call fcn.100475cc
call fcn.100475cc
call fcn.10002ad0
call fcn.100475cc
call fcn.100475cc
call fcn.100475cc
call fcn.100475cc
call fcn.10010fe0
int3