Function at 0x1007a3b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10206e10
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x10f8
call fcn.10203e10
mov eax, dword [0x105520d0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov ebx, ecx
mov byte [edi], 0
cmp byte [ebx + 0x479c04], 0
mov dword [ebp - 0x10fc], ebx
mov dword [ebp - 0x10f8], eax
mov dword [ebp - 0x1104], edi
mov byte [ebp - 0x10f1], 1
je 0x1007a4e5
movzx eax, word [ebp + 8]
mov edx, dword [ebp + 0x1c]
push edx
push eax
push str.QLIB_SendSync_iRequestSize_d__iTimeout_d___simulation_mode
lea ecx, [ebx + 0xa5e4]
push 2
push ecx
mov dword [ebp - 0x1100], ecx
call fcn.10115e20
movzx eax, word [ebp + 8]
add esp, 0x14
push eax
mov eax, dword [ebp - 0x10f8]
lea ecx, [ebx + 0xa5e9]
push eax
mov dword [ebp - 0x10fc], ecx
push ecx
mov ecx, dword [ebp - 0x1100]
call fcn.10115ce0
mov ecx, dword [ebp - 0x10fc]
mov edx, dword [ebp - 0x1100]
push ecx
push str.SEND:__s
push 1
push edx
call fcn.10115e20
add esp, 0x10
lea eax, [ebp - 0x10f0]
push eax
lea ecx, [ebx + 0xd9f8]
call fcn.10144a10
mov ax, word [ebp - 0x10f0]
movzx ecx, ax
push ecx
lea edx, [ebp - 0x10ee]
push edx
push edi
mov word [esi], ax
call sub.MSVCR100.dll_memcpy
movzx eax, word [esi]
mov ebx, dword [ebp - 0x10fc]
add esp, 0xc
push eax
push edi
mov edi, dword [ebp - 0x1100]
push ebx
mov ecx, edi
call fcn.10115ce0
movzx ecx, word [esi]
push ebx
push ecx
push str.SYNC_REC__listener____d_bytes_:__s
push 1
push edi
call fcn.10115e20
add esp, 0x14
mov al, 1
jmp 0x1007a7c5
cmp byte [ebx + 0x479bfc], 0
je 0x1007a6aa
call fcn.10079710
test al, al
je case.0x1007a789.22
movzx eax, word [ebp + 8]
push eax
mov eax, dword [ebp - 0x10f8]
lea edx, [ebx + 0xa5e9]
push eax
lea ecx, [ebx + 0xa5e4]
push edx
mov dword [ebp - 4], 0
call fcn.10115ce0
lea eax, [ebx + 0xa5e9]
push eax
movzx eax, word [ebp + 8]
push eax
push str.SEND___d_:__s
lea eax, [ebx + 0xa5e4]
push 1
push eax
call fcn.10115e20
add esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x10f8]
mov dword [ebp - 0x1100], eax
movzx eax, word [ebp + 8]
push eax
push ecx
lea ecx, [ebx + 0xa5e4]
call fcn.10115de0
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebx + 0xa5d4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x20]
push eax
mov eax, dword [ebp - 0x10f8]
push edi
push esi
push eax
movzx eax, word [ebp + 8]
push eax
call edx
movzx eax, word [esi]
push eax
push edi
lea eax, [ebx + 0xa5e9]
push eax
lea ecx, [ebx + 0xa5e4]
call fcn.10115ce0
movzx ecx, word [esi]
lea eax, [ebx + 0xa5e9]
push eax
push ecx
push str.REC___d_:__s
lea eax, [ebx + 0xa5e4]
push 1
push eax
call fcn.10115e20
add esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x1100]
push eax
push str.STACK_TIME__ms_:_t_d
lea eax, [ebx + 0xa5e4]
push 1
push eax
call fcn.10115e20
mov dl, byte [ebp + 0x18]
movzx eax, word [esi]
add esp, 0x10
cmp byte [edi], dl
sete byte [ebp - 0x10f1]
test ax, ax
je 0x1007a604
push eax
push edi
lea ecx, [ebx + 0xa5e4]
call fcn.10115df0
lea ecx, [ebx + 0xd9f8]
call fcn.101442d0
test al, al
jne 0x1007a625
lea ecx, [ebp - 0x10f0]
push ecx
lea ecx, [ebx + 0xd9f8]
call fcn.10144a10
cmp byte [ebp - 0x10f1], 0
jne 0x1007a64d
movzx edx, byte [edi]
movzx eax, byte [ebp + 0x18]
push edx
push eax
push str.SEND_SYNC_Failed:_expected__d_received__d
lea eax, [ebx + 0xa5e4]
push 1
push eax
call fcn.10115e20
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x10f1], 0
jne case.0x1007a789.22
jmp 0x1007a72b
call fcn.10079710
test al, al
je 0x1007a716
movzx eax, word [ebp + 8]
mov edx, dword [ebp - 0x10f8]
push eax
lea ecx, [ebx + 0xa5e4]
push edx
call fcn.10115de0
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
push eax
mov eax, dword [ebp - 0x10f8]
push ecx
push edx
push edi
push esi
push eax
movzx eax, word [ebp + 8]
push eax
lea ecx, [ebx + 0xa060]
call fcn.10145cc0
mov cl, byte [ebx + 0xa19c]
mov byte [ebx + 0xa5d8], cl
movzx edx, word [esi]
push edx
push edi
lea ecx, [ebx + 0xa5e4]
mov byte [ebp - 0x10f1], al
call fcn.10115df0
jmp 0x1007a654
mov byte [ebp - 0x10f1], 0
jmp 0x1007a72b
mov al, byte [edi]
test al, al
je case.0x1007a789.22
mov ecx, 0xa
mov esi, str.DIAG_BAD_CMD_F__19__received__bad_command
lea edi, [ebp - 0x40]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, 0xb
mov esi, str.DIAG_BAD_PARM_F__20__received__bad_parameter
lea edi, [ebp - 0x70]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 0xc
mov esi, str.DIAG_BAD_LEN_F__21__received__bad_request_length
lea edi, [ebp - 0xa4]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 0x11
mov esi, str.DIAG_BAD_MODE_F__24__received__command_is_invalid_for_the_current_mode
lea edi, [ebp - 0xec]
rep movsd dword es:[edi], dword [esi]
movzx eax, al
movsw word es:[edi], word [esi]
add eax, 0xffffffed
movsb byte es:[edi], byte [esi]
cmp eax, 5
ja case.0x1007a789.22
jmp dword [eax*4 + 0x1007a7e4]
lea eax, [ebp - 0x40]
jmp 0x1007a7a8
lea eax, [ebp - 0x70]
jmp 0x1007a7a8
lea eax, [ebp - 0xa4]
jmp 0x1007a7a8
lea eax, [ebp - 0xec]
push eax
push str.ERROR:_t_s
push 0x10
add ebx, 0xa5e4
push ebx
call fcn.10115e20
add esp, 0x10
mov al, byte [ebp - 0x10f1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10203cc8
mov esp, ebp
pop ebp
ret 0x1c