Function at 0x10068c0c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x80000000
jae 0x10068c47
mov dword [0x102e2c2c], 0
mov dword [0x102e2c30], 0
mov dword [0x102e2c28], 1
jmp 0x10068cdd
mov eax, dword [ebp - 4]
and eax, 0xff
cmp eax, 4
jge 0x10068cbf
mov ecx, dword [ebp - 4]
and ecx, 0xff
cmp ecx, 3
jne 0x10068c9f
mov edx, dword [ebp - 4]
and edx, 0xffff
sar edx, 8
and edx, 0xff
and edx, 0xff
cmp edx, 0x5e
jg 0x10068c9f
mov dword [0x102e2c2c], 0
mov dword [0x102e2c28], 0
mov dword [0x102e2c30], 1
jmp 0x10068cbd
mov dword [0x102e2c2c], 1
mov dword [0x102e2c28], 0
mov dword [0x102e2c30], 0
jmp 0x10068cdd
mov dword [0x102e2c2c], 1
mov dword [0x102e2c28], 0
mov dword [0x102e2c30], 0
cmp dword [0x102e2c2c], 0
je 0x10068d7c
cmp dword [0x102e2bf8], 0
je 0x10068cfc
cmp dword [0x102e2bf8], 0xffffffff
jne 0x10068d1b
push 0
push 0x4000000
push 4
push 0
push 0
push 0
push str..VSAUTHD.VXD
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [0x102e2bf8], eax
cmp dword [0x102e2bf8], 0xffffffff
jne 0x10068d2b
xor al, al
jmp 0x10068f97
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov dword [0x102e2bfc], eax
cmp dword [0x102e2c00], 0
jne 0x10068d75
push 0x10115ef4
push 0
push 0x100002
call dword [sym.imp.KERNEL32.dll_OpenSemaphoreA]
mov dword [0x102e2c00], eax
cmp dword [0x102e2c00], 0
jne 0x10068d75
push str.SAuth95PassThruSem
push 1
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov dword [0x102e2c00], eax
mov al, 1
jmp 0x10068f97
cmp dword [0x102e2c30], 0
je 0x10068f73
cmp dword [0x102e2c34], 0
jne 0x10068f56
push str.swa32ut.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x102f3418], eax
cmp dword [0x102f3418], 0
je 0x10068f52
push str.setup
mov eax, dword [0x102f3418]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x102f33d4], eax
push str.first
mov ecx, dword [0x102f3418]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x102f3414], eax
push str.next
mov edx, dword [0x102f3418]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x102f33f8], eax
push str.access
mov eax, dword [0x102f3418]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x102f341c], eax
push str.databyte
mov ecx, dword [0x102f3418]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x102f33f4], eax
push str.gndtest
mov edx, dword [0x102f3418]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x102f3420], eax
push str.romdata
mov eax, dword [0x102f3418]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x102f33d8], eax
push str.dowcheck
mov ecx, dword [0x102f3418]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x102f33e0], eax
push str.keyopen
mov edx, dword [0x102f3418]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x102f33e8], eax
push str.keyclose
mov eax, dword [0x102f3418]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x102f33cc], eax
push str.OverdriveOn
mov ecx, dword [0x102f3418]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x102f33dc], eax
push str.OverdriveOff
mov edx, dword [0x102f3418]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x102f33ec], eax
cmp dword [0x102f33d4], 0
je 0x10068f36
cmp dword [0x102f3414], 0
je 0x10068f36
cmp dword [0x102f33f8], 0
je 0x10068f36
cmp dword [0x102f341c], 0
je 0x10068f36
cmp dword [0x102f33f4], 0
je 0x10068f36
cmp dword [0x102f3420], 0
je 0x10068f36
cmp dword [0x102f33d8], 0
je 0x10068f36
cmp dword [0x102f33e0], 0
je 0x10068f36
cmp dword [0x102f33cc], 0
je 0x10068f36
cmp dword [0x102f33e8], 0
je 0x10068f36
mov dword [0x102e2c34], 1
push 0x1006a12b
call fcn.100f3b26
add esp, 4
jmp 0x10068f50
mov eax, dword [0x102f3418]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x102e2c34], 0
xor al, al
jmp 0x10068f97
jmp 0x10068f56
xor al, al
jmp 0x10068f97
cmp dword [0x102f33e0], 0
je 0x10068f6a
call dword [0x102f33e0]
mov byte [ebp - 8], al
jmp 0x10068f6e
mov byte [ebp - 8], 0
mov al, byte [ebp - 8]
jmp 0x10068f97
cmp dword [0x102e2c28], 0
je 0x10068f95
call fcn.10068f9b
and eax, 0xff
test eax, eax
jne 0x10068f91
call fcn.10068b3c
jmp 0x10068f97
mov al, 1
jmp 0x10068f97
xor al, al
mov esp, ebp
pop ebp
ret