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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x6cbba3
push eax
mov eax, 0x5e58
mov dword fs:[0], esp
call fcn.00698650
push ebx
push ebp
push esi
push edi
mov ebp, ecx
call fcn.00625cc0
xor esi, esi
test al, al
je 0x66bd03
cmp dword [esp + 0x5e80], esi
je 0x66bd03
mov eax, dword [ebp + 0xd4]
mov ecx, dword [eax + 0x201c]
cmp ecx, esi
je 0x66bd03
push str.Clear_DTC
call fcn.006244b0
push esi
push esi
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x17
push ecx
mov ecx, 0x71bec0
call fcn.00636830
sub esp, 0x10
mov ecx, 0x71bec0
mov edx, esp
mov dword [esp + 0x74], esp
push 7
push edx
mov dword [esp + 0x5ea0], esi
call fcn.00636830
mov ecx, 0x71b930
mov dword [esp + 0x5e98], 0xffffffff
call fcn.00611530
mov al, byte [esp + 0x1b]
mov dword [esp + 0x74], esi
mov byte [esp + 0x70], al
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov eax, dword [esp + 0x5e78]
mov dword [esp + 0x5e70], 1
mov ebx, dword [eax + 4]
cmp ebx, esi
mov dword [esp + 0x50], ebx
je 0x66c8d5
mov edi, dword [eax + 8]
mov eax, 0x38e38e39
mov ecx, edi
sub ecx, ebx
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov dword [esp + 0x48], edx
je 0x66c8d5
cmp ebx, edi
je 0x66c560
mov edx, dword [ebx + 0x1c]
mov ecx, dword [ebp + 0xd4]
push esi
push edx
call fcn.006421c0
mov ecx, dword [ebx + 4]
or eax, 0xffffffff
cmp ecx, eax
je 0x66c8d5
cmp dword [ebx + 0x10], eax
je 0x66be1b
push esi
push 1
sub esp, 0x10
mov ecx, 0x71bec0
mov eax, esp
mov dword [esp + 0x28], esp
push 0x17
push eax
call fcn.00636830
mov edx, dword [ebx + 0x10]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
push ecx
mov ecx, dword [ebp + 0xcc]
mov byte [esp + 0x5ea0], 2
call fcn.0066b150
mov ecx, 0x71b930
mov byte [esp + 0x5e98], 1
call fcn.00611530
mov eax, dword [ebx + 0xc]
add eax, 0xfffffffe
cmp eax, 3
ja case.default.0x66be2a
jmp dword [eax*4 + 0x66c8e8]
lea ecx, [esp + 0x3b48]
call fcn.00652890
mov eax, dword [ebp + 0xcc]
mov ecx, dword [ebx + 4]
push eax
push ecx
lea ecx, [esp + 0x3b50]
mov byte [esp + 0x5e78], 3
call fcn.00653050
lea ecx, [esp + 0x110]
mov dword [esp + 0x14], eax
call fcn.0060d180
mov eax, dword [esp + 0x14]
xor edi, edi
cmp eax, esi
mov byte [esp + 0x5e70], 4
mov dword [esp + 0x68], esi
jle 0x66bec7
push edi
lea ecx, [esp + 0x3b4c]
call fcn.00653190
mov edx, dword [ebp]
lea eax, [esp + 0x110]
lea ecx, [esp + 0x68]
push eax
push ecx
lea eax, [esp + 0x4a0]
push esi
lea ecx, [esp + 0x3b54]
push eax
push ecx
mov ecx, ebp
call dword [edx + 8]
cmp eax, 1
jne 0x66c5db
mov eax, dword [esp + 0x14]
inc edi
cmp edi, eax
jl 0x66be82
lea ecx, [esp + 0x110]
mov byte [esp + 0x5e70], 3
call fcn.0060d280
mov byte [esp + 0x5e70], 1
lea ecx, [esp + 0x3b48]
jmp 0x66c4f2
mov edx, dword [esp + 0x5e7c]
mov ecx, ebp
push edx
call fcn.0066b6a0
cmp eax, esi
je 0x66c6bd
lea ecx, [esp + 0x1828]
call fcn.00652890
mov eax, dword [ebp + 0xcc]
mov ecx, dword [ebx + 4]
push eax
push ecx
lea ecx, [esp + 0x1830]
mov byte [esp + 0x5e78], 6
call fcn.00653050
lea ecx, [esp + 0xc8]
mov dword [esp + 0x14], eax
call fcn.0060d180
mov eax, dword [esp + 0x14]
xor edi, edi
cmp eax, esi
mov byte [esp + 0x5e70], 7
mov dword [esp + 0x6c], esi
jle 0x66bf9c
push edi
lea ecx, [esp + 0x182c]
call fcn.00653190
mov edx, dword [ebp]
lea eax, [esp + 0xc8]
lea ecx, [esp + 0x6c]
push eax
push ecx
lea eax, [esp + 0x1a0]
push esi
lea ecx, [esp + 0x1834]
push eax
push ecx
mov ecx, ebp
call dword [edx + 8]
cmp eax, 1
jne 0x66c64c
mov eax, dword [esp + 0x14]
inc edi
cmp edi, eax
jl 0x66bf57
lea ecx, [esp + 0xc8]
mov byte [esp + 0x5e70], 6
call fcn.0060d280
mov byte [esp + 0x5e70], 1
lea ecx, [esp + 0x1828]
jmp 0x66c4f2
lea ecx, [esp + 0x29b8]
call fcn.00652890
mov edx, dword [ebp + 0xcc]
mov eax, dword [ebx + 4]
push edx
push eax
lea ecx, [esp + 0x29c0]
mov byte [esp + 0x5e78], 0xa
call fcn.00653050
lea ecx, [esp + 0x80]
mov dword [esp + 0x14], eax
call fcn.0060d180
mov eax, dword [esp + 0x14]
xor edi, edi
cmp eax, esi
mov byte [esp + 0x5e70], 0xb
mov dword [esp + 0x64], esi
jle 0x66c05a
push edi
lea ecx, [esp + 0x29bc]
call fcn.00653190
mov edx, dword [ebp]
lea eax, [esp + 0x80]
lea ecx, [esp + 0x64]
push eax
push ecx
lea eax, [esp + 0x2a0]
push esi
lea ecx, [esp + 0x29c4]
push eax
push ecx
mov ecx, ebp
call dword [edx + 8]
cmp eax, 1
jne 0x66c6ee
mov eax, dword [esp + 0x14]
inc edi
cmp edi, eax
jl 0x66c015
mov ecx, dword [ebp + 0xd4]
call fcn.00641380
lea ecx, [esp + 0x80]
mov byte [esp + 0x5e70], 0xa
call fcn.0060d280
mov byte [esp + 0x5e70], 1
lea ecx, [esp + 0x29b8]
jmp 0x66c4f2
mov edx, dword [esp + 0x5e7c]
mov ecx, ebp
push edx
call fcn.0066b6a0
cmp eax, esi
je 0x66c832
lea ecx, [esp + 0x698]
call fcn.00652890
mov eax, dword [ebp + 0xcc]
mov ecx, dword [ebx + 4]
push eax
push ecx
lea ecx, [esp + 0x6a0]
mov byte [esp + 0x5e78], 0xd
call fcn.00653050
mov edi, eax
lea ecx, [esp + 0xa4]
mov dword [esp + 0x10], edi
call fcn.0060d180
xor eax, eax
cmp edi, esi
mov byte [esp + 0x5e70], 0xe
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], eax
jle 0x66c410
push eax
lea ecx, [esp + 0x69c]
call fcn.00653190
mov dl, byte [esp + 0x1b]
mov dword [esp + 0x38], esi
mov byte [esp + 0x34], dl
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
lea eax, [esp + 0x34]
lea ecx, [esp + 0x698]
push eax
mov byte [esp + 0x5e74], 0xf
call fcn.00653600
mov dword [esp + 0x14], esi
mov dword [esp + 0x44], esi
mov eax, dword [ebp + 0x38]
cmp eax, esi
je 0x66c3da
mov ecx, dword [ebp + 0x3c]
sub ecx, eax
mov eax, 0x6bca1af3
imul ecx
mov eax, dword [esp + 0x14]
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp eax, edx
jae 0x66c3da
mov dl, byte [esp + 0x1b]
mov dword [esp + 0x28], esi
mov byte [esp + 0x24], dl
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
cmp eax, esi
mov byte [esp + 0x5e70], 0x10
je 0x66c198
mov edx, ecx
sub edx, eax
jne 0x66c1d8
xor edx, edx
cmp eax, ecx
mov edi, ecx
je 0x66c1b2
mov cl, byte [eax]
mov byte [edx], cl
inc edx
inc eax
cmp eax, edi
jne 0x66c1a0
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
cmp eax, esi
jne 0x66c1c7
mov edx, dword [esp + 0x28]
xor ecx, ecx
add edx, ecx
mov dword [esp + 0x2c], edx
jmp 0x66c259
mov edx, dword [esp + 0x28]
sub ecx, eax
add edx, ecx
mov dword [esp + 0x2c], edx
jmp 0x66c259
cmp edx, esi
push esi
ja 0x66c210
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.0063cbf0
mov ecx, dword [esp + 0x38]
cmp ecx, esi
jne 0x66c1fe
mov ecx, dword [esp + 0x28]
xor eax, eax
add ecx, eax
mov dword [esp + 0x2c], ecx
jmp 0x66c259
mov eax, dword [esp + 0x3c]
sub eax, ecx
mov ecx, dword [esp + 0x28]
add ecx, eax
mov dword [esp + 0x2c], ecx
jmp 0x66c259
call fcn.00697880
mov ecx, dword [esp + 0x3c]
add esp, 4
cmp ecx, esi
jne 0x66c224
xor eax, eax
jmp 0x66c22a
mov eax, dword [esp + 0x3c]
sub eax, ecx
cmp eax, esi
jge 0x66c230
xor eax, eax
push eax
call fcn.00697be2
mov edx, dword [esp + 0x40]
add esp, 4
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x24]
push eax
mov eax, dword [esp + 0x3c]
push edx
push eax
call fcn.0063cbf0
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x135]
mov byte [esp + 0x134], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edx, dword [0x6ce1fc]
stosb byte es:[edi], al
mov eax, dword [ebp + 0x38]
mov edi, dword [esp + 0x44]
add eax, edi
push edx
push esi
push eax
mov cl, byte [eax]
mov dword [esp + 0x64], esi
mov byte [esp + 0x60], cl
lea ecx, [esp + 0x60]
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
call fcn.004136a0
mov eax, dword [ebp + 0x38]
mov ecx, edi
mov byte [esp + 0x5e70], 0x11
mov ebx, dword [eax + edi + 8]
mov eax, dword [eax + ecx + 4]
shr ebx, 1
cmp eax, esi
mov byte [esp + 0x4c], bl
jne 0x66c2c5
mov eax, 0x6ce1f8
mov esi, dword [esp + 0x4c]
lea edx, [esp + 0x134]
and esi, 0xff
push esi
push eax
push edx
call fcn.00685dc0
mov eax, dword [ebp + 0x138]
add esp, 0xc
cmp eax, 1
jne 0x66c30b
cmp bl, 1
jb 0x66c32e
mov ecx, dword [esp + 0x2c]
lea eax, [esp + esi + 0x133]
push eax
push 1
push ecx
lea ecx, [esp + 0x30]
call fcn.00633ba0
jmp 0x66c32e
xor edi, edi
test esi, esi
jle 0x66c32e
mov eax, dword [esp + 0x2c]
lea edx, [esp + edi + 0x134]
push edx
push 1
push eax
lea ecx, [esp + 0x30]
call fcn.00633ba0
inc edi
cmp edi, esi
jl 0x66c311
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x69c]
call fcn.00653430
mov edx, dword [ebp]
lea eax, [esp + 0xa4]
lea ecx, [esp + 0x1c]
push eax
push ecx
lea eax, [esp + 0x3a0]
push 1
lea ecx, [esp + 0x6a4]
push eax
push ecx
mov ecx, ebp
call dword [edx + 8]
cmp eax, 1
jne 0x66c75f
mov eax, dword [esp + 0x58]
xor esi, esi
cmp eax, esi
je 0x66c396
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x66c38d
cmp al, 0xff
je 0x66c38d
dec al
mov byte [ecx], al
jmp 0x66c396
push ecx
call fcn.00697880
add esp, 4
mov edx, dword [esp + 0x28]
mov dword [esp + 0x58], esi
push edx
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
call fcn.00697880
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x54]
add esp, 4
inc ecx
add eax, 0x4c
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x44], eax
xor esi, esi
jmp 0x66c13d
mov eax, dword [esp + 0x38]
mov byte [esp + 0x5e70], 0xe
push eax
call fcn.00697880
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
add esp, 4
inc eax
cmp eax, ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x20], eax
jl 0x66c0fb
lea ecx, [esp + 0xa4]
mov byte [esp + 0x5e70], 0xd
call fcn.0060d280
mov byte [esp + 0x5e70], 1
lea ecx, [esp + 0x698]
jmp 0x66c4f2
lea ecx, [esp + 0x4cd8]
call fcn.00652890
mov ecx, dword [ebp + 0xcc]
mov edx, dword [ebx + 4]
push ecx
push edx
lea ecx, [esp + 0x4ce0]
mov byte [esp + 0x5e78], 0x14
call fcn.00653050
lea ecx, [esp + 0xec]
mov dword [esp + 0x20], eax
call fcn.0060d180
mov eax, dword [esp + 0x20]
xor edi, edi
cmp eax, esi
mov byte [esp + 0x5e70], 0x15
mov dword [esp + 0x48], esi
jle 0x66c4cf
push edi
lea ecx, [esp + 0x4cdc]
call fcn.00653190
mov eax, dword [ebp]
lea ecx, [esp + 0xec]
lea edx, [esp + 0x48]
push ecx
push edx
lea ecx, [esp + 0x5a0]
push 1
lea edx, [esp + 0x4ce4]
push ecx
push edx
mov ecx, ebp
call dword [eax + 8]
cmp eax, 1
jne 0x66c864
mov eax, dword [esp + 0x20]
inc edi
cmp edi, eax
jl 0x66c489
lea ecx, [esp + 0xec]
mov byte [esp + 0x5e70], 0x14
call fcn.0060d280
mov byte [esp + 0x5e70], 1
lea ecx, [esp + 0x4cd8]
call fcn.006529a0
cmp dword [ebx + 0x14], 0xffffffff
je 0x66c549
push esi
push 1
sub esp, 0x10
mov ecx, 0x71bec0
mov eax, esp
mov dword [esp + 0x28], esp
push 0x17
push eax
call fcn.00636830
mov edx, dword [ebx + 0x14]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x78], esp
push edx
push ecx
mov ecx, dword [ebp + 0xcc]
mov byte [esp + 0x5ea0], 0x17
call fcn.0066b150
mov ecx, 0x71b930
mov byte [esp + 0x5e98], 1
call fcn.00611530
mov eax, dword [esp + 0x5e78]
add ebx, 0x24
mov dword [esp + 0x50], ebx
cmp ebx, dword [eax + 8]
jne 0x66bdac
cmp dword [esp + 0x5e80], esi
je 0x66c5b2
push esi
push 1
sub esp, 0x10
mov ecx, 0x71bec0
mov edx, esp
mov dword [esp + 0x60], esp
push 0x17
push edx
call fcn.00636830
sub esp, 0x10
mov byte [esp + 0x5e98], 0x18
mov eax, esp
mov dword [esp + 0x38], esp
push 0x1f
push eax
mov ecx, 0x71bec0
call fcn.00636830
mov ecx, 0x71b930
mov byte [esp + 0x5e98], 1
call fcn.00611530
push esi
call fcn.00697880
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x5e68]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x5e64
ret 0xc
push esi
push 1
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x28], esp
push 1
push ecx
mov ecx, 0x71bec0
call fcn.00636830
sub esp, 0x10
mov ecx, 0x71bec0
mov edx, esp
mov dword [esp + 0x44], esp
push 0x1e
push edx
mov byte [esp + 0x5ea0], 5
call fcn.00636830
mov ecx, 0x71b930
mov byte [esp + 0x5e98], 4
call fcn.00611530
lea ecx, [esp + 0x110]
mov byte [esp + 0x5e70], 3
call fcn.0060d280
mov byte [esp + 0x5e70], 1
lea ecx, [esp + 0x3b48]
jmp 0x66c8d0
push esi
push 1
sub esp, 0x10
mov ecx, 0x71bec0
mov eax, esp
mov dword [esp + 0x28], esp
push 1
push eax
call fcn.00636830
sub esp, 0x10
mov byte [esp + 0x5e98], 8
mov ecx, esp
mov dword [esp + 0x44], esp
push 0x1e
push ecx
mov ecx, 0x71bec0
call fcn.00636830
mov ecx, 0x71b930
mov byte [esp + 0x5e98], 7
call fcn.00611530
lea ecx, [esp + 0xc8]
mov byte [esp + 0x5e70], 6
call fcn.0060d280
mov byte [esp + 0x5e70], 1
lea ecx, [esp + 0x1828]
jmp 0x66c8d0
push esi
push 1
sub esp, 0x10
mov ecx, 0x71bec0
mov edx, esp
mov dword [esp + 0x28], esp
push 0x17
push edx
call fcn.00636830
sub esp, 0x10
mov byte [esp + 0x5e98], 9
mov eax, esp
mov dword [esp + 0x44], esp
push 3
jmp 0x66c595
push esi
push 1
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x28], esp
push 1
push ecx
mov ecx, 0x71bec0
call fcn.00636830
sub esp, 0x10
mov ecx, 0x71bec0
mov edx, esp
mov dword [esp + 0x44], esp
push 0x1e
push edx
mov byte [esp + 0x5ea0], 0xc
call fcn.00636830
mov ecx, 0x71b930
mov byte [esp + 0x5e98], 0xb
call fcn.00611530
lea ecx, [esp + 0x80]
mov byte [esp + 0x5e70], 0xa
call fcn.0060d280
mov byte [esp + 0x5e70], 1
lea ecx, [esp + 0x29b8]
jmp 0x66c8d0
xor esi, esi
mov ecx, 0x71bec0
push esi
push 1
sub esp, 0x10
mov eax, esp
mov dword [esp + 0x28], esp
push 1
push eax
call fcn.00636830
sub esp, 0x10
mov byte [esp + 0x5e98], 0x12
mov ecx, esp
mov dword [esp + 0x74], esp
push 0x1e
push ecx
mov ecx, 0x71bec0
call fcn.00636830
mov ecx, 0x71b930
mov byte [esp + 0x5e98], 0x11
call fcn.00611530
mov eax, dword [esp + 0x58]
cmp eax, esi
je 0x66c7cf
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x66c7c6
cmp al, 0xff
je 0x66c7c6
dec al
mov byte [ecx], al
jmp 0x66c7cf
push ecx
call fcn.00697880
add esp, 4
mov edx, dword [esp + 0x28]
mov dword [esp + 0x58], esi
push edx
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
call fcn.00697880
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x2c], esi
push eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
call fcn.00697880
add esp, 8
lea ecx, [esp + 0xa4]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov byte [esp + 0x5e70], 0xd
call fcn.0060d280
mov byte [esp + 0x5e70], 1
lea ecx, [esp + 0x698]
jmp 0x66c8d0
push esi
push 1
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x17
push ecx
mov ecx, 0x71bec0
call fcn.00636830
sub esp, 0x10
mov byte [esp + 0x5e98], 0x13
mov edx, esp
mov dword [esp + 0x44], esp
push 3
push edx
jmp 0x66c596
push esi
push 1
sub esp, 0x10
mov ecx, 0x71bec0
mov eax, esp
mov dword [esp + 0x28], esp
push 1
push eax
call fcn.00636830
sub esp, 0x10
mov byte [esp + 0x5e98], 0x16
mov ecx, esp
mov dword [esp + 0x44], esp
push 0x1e
push ecx
mov ecx, 0x71bec0
call fcn.00636830
mov ecx, 0x71b930
mov byte [esp + 0x5e98], 0x15
call fcn.00611530
lea ecx, [esp + 0xec]
mov byte [esp + 0x5e70], 0x14
call fcn.0060d280
mov byte [esp + 0x5e70], 1
lea ecx, [esp + 0x4cd8]
call fcn.006529a0
push esi
call fcn.00697880
add esp, 4
xor eax, eax
jmp 0x66c5c0