Function at 0x4a7940
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe8
mov eax, dword [0x541514]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0xd4], 0
mov dword [ebp - 4], 0
mov byte [ebp - 0xd0], 0
push 0xc7
push 0
lea eax, [ebp - 0xcf]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
cmp dword [ebp + 8], 0
je 0x4a7d96
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x19c], 0
je 0x4a7d96
push 0x20
mov edx, dword [ebp + 8]
push edx
call fcn.00495f00
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4a7d77
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x19c]
mov edx, dword [ebp - 4]
mov dword [ecx + 0x1d1c], edx
push 0x52df00
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
cmp dword [edx], 0
je 0x4a7d75
push str.TMExtendedStartSession
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
push str.TMEndSession
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
push str.TMFirst
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
push str.TMNext
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
push str.TMRom
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
push str.TMSetup
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
push str.TMTouchByte
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], eax
push str.Get_Version
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0
je 0x4a7ae8
mov edx, dword [ebp - 4]
cmp dword [edx + 4], 0
je 0x4a7ae8
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x4a7ae8
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0xc], 0
je 0x4a7ae8
mov edx, dword [ebp - 4]
cmp dword [edx + 0x10], 0
je 0x4a7ae8
mov eax, dword [ebp - 4]
cmp dword [eax + 0x14], 0
je 0x4a7ae8
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x18], 0
je 0x4a7ae8
mov edx, dword [ebp - 4]
cmp dword [edx + 0x1c], 0
jne 0x4a7baf
mov eax, dword [ebp + 8]
mov dword [eax + 0x80], 0xffffff92
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x80], 0
je 0x4a7b16
xor edx, edx
je 0x4a7b16
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x80]
mov dword [ebp - 0xe0], ecx
jmp 0x4a7b20
mov dword [ebp - 0xe0], 0xffffff92
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0xe0]
mov dword [edx + 0x80], eax
push 0
push 0xff
push 0
push 0
push 0x520d
push 0xffffffffffffff92
mov ecx, dword [ebp + 8]
push ecx
call fcn.0048a930
add esp, 0x1c
mov edx, dword [ebp + 8]
cmp dword [edx + 0x14c], 0
je 0x4a7b89
cmp dword [0x546ec8], 0
je 0x4a7b70
push 0x52df6c
call dword [0x546ec8]
add esp, 4
cmp dword [0x546ec8], 0
je 0x4a7b87
push 0x52dfa4
call dword [0x546ec8]
add esp, 4
jmp 0x4a7b9a
push 0x52dfd0
mov eax, dword [ebp + 8]
push eax
call fcn.0048b8d0
add esp, 8
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x80]
push edx
call dword [sym.imp.MSVCR80.dll__exit]
jmp 0x4a7d75
lea eax, [ebp - 0xd0]
push eax
call dword [ebp - 0xdc]
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 1
jne 0x4a7cb3
push str.IBFS32.DLL
lea ecx, [ebp - 0xd0]
push ecx
call dword [sym.imp.MSVCR80.dll_strstr]
add esp, 8
test eax, eax
jne 0x4a7cae
mov edx, dword [ebp + 8]
mov dword [edx + 0x80], 0xffffff92
mov eax, dword [ebp + 8]
cmp dword [eax + 0x80], 0
je 0x4a7c1a
xor ecx, ecx
je 0x4a7c1a
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x80]
mov dword [ebp - 0xe4], eax
jmp 0x4a7c24
mov dword [ebp - 0xe4], 0xffffff92
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xe4]
mov dword [ecx + 0x80], edx
push 0
push 0xff
push 0
push 0
push 0x520d
push 0xffffffffffffff92
mov eax, dword [ebp + 8]
push eax
call fcn.0048a930
add esp, 0x1c
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14c], 0
je 0x4a7c8d
cmp dword [0x546ec8], 0
je 0x4a7c74
push 0x52e03c
call dword [0x546ec8]
add esp, 4
cmp dword [0x546ec8], 0
je 0x4a7c8b
push 0x52e074
call dword [0x546ec8]
add esp, 4
jmp 0x4a7c9e
push 0x52e0a0
mov edx, dword [ebp + 8]
push edx
call fcn.0048b8d0
add esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x80]
push ecx
call dword [sym.imp.MSVCR80.dll__exit]
jmp 0x4a7d75
mov edx, dword [ebp + 8]
mov dword [edx + 0x80], 0xffffff92
mov eax, dword [ebp + 8]
cmp dword [eax + 0x80], 0
je 0x4a7ce1
xor ecx, ecx
je 0x4a7ce1
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x80]
mov dword [ebp - 0xe8], eax
jmp 0x4a7ceb
mov dword [ebp - 0xe8], 0xffffff92
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xe8]
mov dword [ecx + 0x80], edx
push 0
push 0xff
push 0
push 0
push 0x520d
push 0xffffffffffffff92
mov eax, dword [ebp + 8]
push eax
call fcn.0048a930
add esp, 0x1c
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14c], 0
je 0x4a7d54
cmp dword [0x546ec8], 0
je 0x4a7d3b
push str.Invalid_or_corrupted_FLEXID_8_dongle_driver_detected._n
call dword [0x546ec8]
add esp, 4
cmp dword [0x546ec8], 0
je 0x4a7d52
push str.Please_re_install_FLEXID_8_dongle_driver._n
call dword [0x546ec8]
add esp, 4
jmp 0x4a7d65
push str.Invalid_or_corrupted_FLEXID_8_dongle_driver_detected._nPlease_re_install_FLEXID_8_dongle_driver
mov edx, dword [ebp + 8]
push edx
call fcn.0048b8d0
add esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x80]
push ecx
call dword [sym.imp.MSVCR80.dll__exit]
jmp 0x4a7d94
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x19c]
mov dword [eax + 0x1d1c], 0
mov dword [ebp - 0xd4], 0xffffffd8
jmp 0x4a7da0
mov dword [ebp - 0xd4], 0xffffffd6
mov eax, dword [ebp - 0xd4]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0047294a
mov esp, ebp
pop ebp
ret