Function at 0x100e0dd0
Capabilities:
Check for time delay via gettickcount
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x105520d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
push 0x100
lea ecx, [ebp - 0x104]
push 0
push ecx
mov dword [ebp - 0x108], edi
mov dword [ebp - 0x10c], eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x100e0fe6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebx
push str.OpenUserDefinedTransport
push esi
call edi
push str.UserDefinedSend
push esi
mov ebx, eax
call edi
push str.UserDefinedReceive
push esi
mov dword [ebp - 0x11c], eax
call edi
push str.UserDefinedFlushTxRx
push esi
mov dword [ebp - 0x110], eax
call edi
push str.QMSLHandlesTxHDLC
push esi
mov dword [ebp - 0x118], eax
call edi
push str.QMSLHandlesRxHDLC
push esi
mov dword [ebp - 0x120], eax
call edi
push str.CloseUserDefinedTransport
push esi
mov dword [ebp - 0x114], eax
call edi
test ebx, ebx
je 0x100e0fa4
cmp dword [ebp - 0x11c], 0
je 0x100e0fa4
cmp dword [ebp - 0x110], 0
je 0x100e0fa4
cmp dword [ebp - 0x118], 0
je 0x100e0fa4
cmp dword [ebp - 0x120], 0
je 0x100e0fa4
cmp dword [ebp - 0x114], 0
je 0x100e0fa4
test eax, eax
je 0x100e0fa4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [ebp - 0x10c]
push edi
mov dword [ebp - 0x108], eax
call ebx
mov esi, eax
add esp, 4
test esi, esi
je 0x100e0f2c
lea esp, [esp]
cmp dword [ebp + 0x10], 0
jle 0x100e0f28
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebp + 0x10]
sub eax, dword [ebp - 0x108]
imul edx, edx, 0x3e8
cmp eax, edx
jg 0x100e0f28
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
call ebx
mov esi, eax
add esp, 4
test esi, esi
jne 0x100e0ef0
jmp 0x100e0f2c
test esi, esi
jne 0x100e0f82
call dword [ebp - 0x120]
mov byte [ebp - 0x10c], al
call dword [ebp - 0x114]
mov ecx, dword [ebp - 0x10c]
mov edx, dword [ebp - 0x118]
mov byte [ebp - 0x108], al
mov eax, dword [ebp - 0x108]
push eax
mov eax, dword [ebp - 0x110]
push ecx
mov ecx, dword [ebp - 0x11c]
push edx
push eax
push ecx
push 1
call sym.QMSL_MSVC10R.dll_QLIB_ConnectServer_UserDefinedTransport
add esp, 0x18
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10203cc8
mov esp, ebp
pop ebp
ret
push str.UDT_Connect___function_did_not_return_success__and_retry_timeout_exceeded
xor esi, esi
call fcn.100e0a10
add esp, 4
pop ebx
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10203cc8
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x108]
push edx
lea eax, [ebp - 0x104]
push str.Failed_to_load_function_from__s_n
push eax
call dword [sym.imp.MSVCR100.dll_sprintf]
lea ecx, [ebp - 0x104]
push ecx
call fcn.100e0a10
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10203cc8
mov esp, ebp
pop ebp
ret
push edi
lea edx, [ebp - 0x104]
push str.Failed_to_load__s_._Make_sure_this_dll_is_in_your_system_path__or_is_in_the_current_working_directory_n
push edx
call dword [sym.imp.MSVCR100.dll_sprintf]
lea eax, [ebp - 0x104]
push eax
call fcn.100e0a10
mov ecx, dword [ebp - 4]
add esp, 0x10
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.10203cc8
mov esp, ebp
pop ebp
ret