Function at 0x66b880
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x6cba7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
push esi
push edi
push 0
push 0
sub esp, 0x10
mov ebp, ecx
mov eax, esp
mov dword [esp + 0x28], esp
push 0x17
push eax
mov ecx, 0x71bec0
call fcn.00636830
sub esp, 0x10
mov dword [esp + 0x98], 0
mov ecx, esp
mov dword [esp + 0x3c], esp
push 7
push ecx
mov ecx, 0x71bec0
call fcn.00636830
or edi, 0xffffffff
mov ecx, 0x71b930
mov dword [esp + 0x98], edi
call fcn.00611530
mov eax, dword [ebp + 0xe8]
lea esi, [ebp + 0xe4]
lea edx, [esp + 0x14]
push eax
push edx
mov ecx, esi
call fcn.00672ca0
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, esi
call fcn.00672ef0
mov eax, dword [ebp + 0x4c]
mov edx, dword [ebp + 0x48]
lea ecx, [ebp + 0x44]
push eax
push edx
call fcn.00672ba0
call fcn.00625cc0
test al, al
je 0x66b953
mov eax, dword [esp + 0x80]
test eax, eax
je 0x66b953
mov edx, dword [ebp + 0xd4]
mov ecx, dword [edx + 0x201c]
test ecx, ecx
je 0x66b953
push str.Read_DTC
call fcn.006244b0
push 0x420
call fcn.00697be2
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x70], 1
je 0x66b979
mov ecx, eax
call fcn.00692710
jmp 0x66b97b
xor eax, eax
mov dword [ebp + 0xd0], eax
mov al, byte [esp + 0x78]
push 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x74], edi
mov byte [esp + 0x1c], al
call fcn.004138a0
mov esi, dword [esp + 0x78]
lea ecx, [esp + 0x28]
mov dword [esp + 0x70], 2
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x44]
push eax
push ecx
mov ecx, dword [ebp + 0xcc]
call fcn.0066b150
mov edx, dword [0x6ce1fc]
lea ecx, [esp + 0x18]
push edx
push 0
push eax
mov byte [esp + 0x7c], 3
call fcn.004136a0
push 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x74], 2
call fcn.004138a0
lea eax, [esp + 0x58]
push eax
call fcn.00625aa0
add esp, 4
mov eax, dword [eax + 4]
mov byte [esp + 0x70], 4
test eax, eax
mov edi, 0x6ce1f8
je 0x66ba03
mov edi, eax
lea ecx, [esp + 0x48]
push ecx
call fcn.006258a0
push 0x712684
lea edx, [esp + 0x40]
push eax
push edx
mov byte [esp + 0x80], 5
call fcn.006223c0
lea ecx, [esp + 0x28]
lea edx, [esp + 0x38]
push ecx
mov bl, 6
push eax
push edx
mov byte [esp + 0x8c], bl
call fcn.00624ea0
add esp, 0x1c
mov eax, dword [eax + 4]
mov byte [esp + 0x70], 7
test eax, eax
jne 0x66ba52
mov eax, 0x6ce1f8
mov ecx, dword [ebp + 0xd0]
push edi
push eax
call fcn.0066aca0
push 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x74], bl
call fcn.004138a0
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x74], 5
call fcn.004138a0
push 1
lea ecx, [esp + 0x4c]
mov byte [esp + 0x74], 4
call fcn.004138a0
push 1
lea ecx, [esp + 0x5c]
mov byte [esp + 0x74], 2
call fcn.004138a0
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
cmp eax, ecx
mov dword [esp + 0x10], eax
je 0x66bbf1
mov cl, byte [ebp + 0xe0]
inc cl
mov byte [ebp + 0xe0], cl
mov ebx, dword [ebp + 0x3c]
mov esi, dword [ebp + 0x38]
cmp ebx, ebx
mov edi, ebx
je 0x66badc
push edi
mov ecx, esi
call fcn.00651780
add edi, 0x4c
add esi, 0x4c
cmp edi, ebx
jne 0x66baca
mov ebx, dword [ebp + 0x3c]
mov edi, esi
cmp esi, ebx
je 0x66baf5
push 0
mov ecx, edi
call fcn.00651a00
add edi, 0x4c
cmp edi, ebx
jne 0x66bae5
mov eax, dword [esp + 0x10]
mov dword [ebp + 0x3c], esi
lea edi, [ebp + 0x54]
mov ecx, 0x15
mov esi, eax
push eax
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
call fcn.0066c900
test ax, ax
je 0x66bb46
cmp ax, 0xfffe
je 0x66bb65
cmp ax, 0xfffd
je 0x66bb9a
mov esi, dword [esp + 0x7c]
mov ecx, dword [esp + 0x10]
movsx edx, ax
push esi
push ecx
push edx
mov ecx, ebp
call fcn.0066e100
test eax, eax
je 0x66bbec
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x10]
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x10]
add eax, 0x54
mov edx, dword [ecx + 8]
mov dword [esp + 0x10], eax
cmp eax, edx
jne 0x66bab0
jmp 0x66bbf1
mov edx, dword [esp + 0x7c]
mov dword [edx], 1
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x66bc40
mov al, byte [ecx - 1]
test al, al
je 0x66bc36
cmp al, 0xff
je 0x66bc36
dec al
mov byte [ecx - 1], al
xor eax, eax
jmp 0x66bc93
push 0
push 1
sub esp, 0x10
mov ecx, 0x71bec0
mov eax, esp
mov dword [esp + 0x90], esp
push 0xf
push eax
call fcn.00636830
sub esp, 0x10
mov byte [esp + 0x98], 8
mov ecx, esp
mov dword [esp + 0xa4], esp
push 0x1b
push ecx
mov ecx, 0x71bec0
call fcn.00636830
mov ecx, 0x71b930
mov byte [esp + 0x98], 2
call fcn.00611530
jmp 0x66bb6f
cmp dword [esi], 0
jne 0x66bc1a
mov eax, dword [ebp + 0xdc]
test eax, eax
je 0x66bc44
mov eax, dword [ebp + 0x38]
test eax, eax
je 0x66bc1a
mov ebp, dword [ebp + 0x3c]
sub ebp, eax
mov eax, 0x6bca1af3
imul ebp
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
jne 0x66bc6a
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x66bc40
mov al, byte [ecx - 1]
test al, al
je 0x66bc36
cmp al, 0xff
je 0x66bc36
dec al
mov byte [ecx - 1], al
xor eax, eax
jmp 0x66bc93
dec ecx
push ecx
call fcn.00697880
add esp, 4
xor eax, eax
jmp 0x66bc93
mov eax, dword [esp + 0x80]
test eax, eax
je 0x66bc57
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 4]
mov ebp, dword [ebp + 0xd0]
test ebp, ebp
je 0x66bc6a
mov eax, dword [ebp]
push 1
mov ecx, ebp
call dword [eax]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x66bc8e
mov al, byte [ecx - 1]
test al, al
je 0x66bc84
cmp al, 0xff
je 0x66bc84
dec al
mov byte [ecx - 1], al
jmp 0x66bc8e
dec ecx
push ecx
call fcn.00697880
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x64
ret 0xc