Function at 0x46f7f5
Capabilities:
Check if file exists
Get file attributes
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov dword [ebp - 0x108], ecx
mov eax, dword [ebp - 0x108]
cmp dword [eax + 0x34], 0
je 0x46f8ad
mov ecx, dword [ebp - 0x108]
cmp dword [ecx + 0xc], 0
je 0x46f898
mov edx, dword [ebp - 0x108]
cmp dword [edx + 0x10], 0
je 0x46f898
mov eax, dword [ebp - 0x108]
cmp dword [eax + 0x14], 0
je 0x46f898
mov ecx, dword [ebp - 0x108]
cmp dword [ecx + 0x18], 0
je 0x46f898
mov edx, dword [ebp - 0x108]
cmp dword [edx + 0x1c], 0
je 0x46f898
mov eax, dword [ebp - 0x108]
cmp dword [eax + 0x20], 0
je 0x46f898
mov ecx, dword [ebp - 0x108]
cmp dword [ecx + 0x24], 0
je 0x46f898
mov edx, dword [ebp - 0x108]
cmp dword [edx + 0x28], 0
je 0x46f898
mov eax, dword [ebp - 0x108]
cmp dword [eax + 0x2c], 0
je 0x46f898
mov ecx, dword [ebp - 0x108]
cmp dword [ecx + 0x30], 0
je 0x46f898
mov dword [ebp - 0x10c], 1
jmp 0x46f8a2
mov dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0x10c]
jmp 0x46fbcc
mov edx, dword [ebp - 0x108]
mov dword [edx + 0x34], 1
mov eax, dword [ebp - 0x108]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 0x108]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 0x108]
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 0x108]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp - 0x108]
mov dword [ecx + 0x18], 0
mov edx, dword [ebp - 0x108]
mov dword [edx + 0x1c], 0
mov eax, dword [ebp - 0x108]
mov dword [eax + 0x20], 0
mov ecx, dword [ebp - 0x108]
mov dword [ecx + 0x24], 0
mov edx, dword [ebp - 0x108]
mov dword [edx + 0x28], 0
mov eax, dword [ebp - 0x108]
mov dword [eax + 0x2c], 0
mov ecx, dword [ebp - 0x108]
mov dword [ecx + 0x30], 0
push 0x104
lea edx, [ebp - 0x104]
push edx
mov ecx, dword [ebp - 0x108]
call fcn.0046f7ac
test eax, eax
jne 0x46f96b
xor eax, eax
jmp 0x46fbcc
lea eax, [ebp - 0x104]
push eax
mov ecx, dword [ebp - 0x108]
add ecx, 0x38
push ecx
call sub.ntdll.dll_strcpy
add esp, 8
push str.libspyerp.dat
mov edx, dword [ebp - 0x108]
add edx, 0x38
push edx
call sub.ntdll.dll_strcat
add esp, 8
mov eax, dword [ebp - 0x108]
add eax, 0x38
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x46f9d2
push str.libspyer.dat
push 0x5c
mov ecx, dword [ebp - 0x108]
add ecx, 0x38
push ecx
call fcn.0040a130
add esp, 8
push eax
call sub.ntdll.dll_strcpy
add esp, 8
push str._antispy.dll
lea edx, [ebp - 0x104]
push edx
call sub.ntdll.dll_strcat
add esp, 8
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [ebp - 0x108]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x108]
cmp dword [edx + 4], 0
je 0x46fb38
push str.ASEngCreate
mov eax, dword [ebp - 0x108]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x108]
mov dword [edx + 0xc], eax
push str.ASEngInit
mov eax, dword [ebp - 0x108]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x108]
mov dword [edx + 0x10], eax
push str.ASEngInitEx
mov eax, dword [ebp - 0x108]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x108]
mov dword [edx + 0x14], eax
push str.ASEngScan
mov eax, dword [ebp - 0x108]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x108]
mov dword [edx + 0x18], eax
push str.ASEngStop
mov eax, dword [ebp - 0x108]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x108]
mov dword [edx + 0x1c], eax
push str.ASEngScanAddType
mov eax, dword [ebp - 0x108]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x108]
mov dword [edx + 0x20], eax
push str.AsEngRemove
mov eax, dword [ebp - 0x108]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x108]
mov dword [edx + 0x24], eax
push str.ASEngSetPause
mov eax, dword [ebp - 0x108]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x108]
mov dword [edx + 0x28], eax
push str.AsEngDestroy
mov eax, dword [ebp - 0x108]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x108]
mov dword [edx + 0x2c], eax
push str.AsEngSimpleScanFile
mov eax, dword [ebp - 0x108]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0x108]
mov dword [edx + 0x30], eax
mov eax, dword [ebp - 0x108]
cmp dword [eax + 0xc], 0
je 0x46fbbc
mov ecx, dword [ebp - 0x108]
cmp dword [ecx + 0x10], 0
je 0x46fbbc
mov edx, dword [ebp - 0x108]
cmp dword [edx + 0x14], 0
je 0x46fbbc
mov eax, dword [ebp - 0x108]
cmp dword [eax + 0x18], 0
je 0x46fbbc
mov ecx, dword [ebp - 0x108]
cmp dword [ecx + 0x1c], 0
je 0x46fbbc
mov edx, dword [ebp - 0x108]
cmp dword [edx + 0x20], 0
je 0x46fbbc
mov eax, dword [ebp - 0x108]
cmp dword [eax + 0x24], 0
je 0x46fbbc
mov ecx, dword [ebp - 0x108]
cmp dword [ecx + 0x28], 0
je 0x46fbbc
mov edx, dword [ebp - 0x108]
cmp dword [edx + 0x2c], 0
je 0x46fbbc
mov eax, dword [ebp - 0x108]
cmp dword [eax + 0x30], 0
je 0x46fbbc
mov dword [ebp - 0x110], 1
jmp 0x46fbc6
mov dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x110]
mov esp, ebp
pop ebp
ret