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

Disassembly:
push 0xffffffffffffffff
push 0x6d93e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
mov ebx, dword [esp + 0x6c]
push ebp
push esi
mov eax, dword [ebx + 8]
push edi
mov edi, ecx
mov ecx, dword [ebx + 4]
mov dword [esp + 0x20], edi
push ecx
push eax
push eax
call fcn.0064b9a0
add esp, 0xc
mov esi, eax
mov eax, dword [ebx + 8]
mov ecx, ebx
push eax
push esi
call fcn.0064b3b0
mov dword [ebx + 8], esi
mov ecx, dword [edi + 4]
xor esi, esi
cmp ecx, esi
jne 0x64a888
xor eax, eax
jmp 0x64ac2f
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0xffffffff
push eax
push esi
call fcn.00649e20
test eax, eax
je 0x64ac2f
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [edi + 4]
push edx
call fcn.0064a6a0
test eax, eax
je 0x64ac2f
mov eax, dword [esp + 0x24]
cmp eax, esi
jne 0x64a8cc
xor eax, eax
jmp 0x64ac2f
lea eax, [eax + eax*2]
shl eax, 2
push eax
call fcn.006a6832
mov ebp, eax
add esp, 4
cmp ebp, esi
mov dword [esp + 0x1c], ebp
jne 0x64a8ec
xor eax, eax
jmp 0x64ac2f
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
push ebp
push ecx
mov ecx, dword [edi + 4]
push edx
call fcn.00649e90
test eax, eax
je 0x64ac2f
mov al, byte [esp + 0x78]
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x30], al
call fcn.004138c0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x70], esi
cmp eax, esi
mov dword [esp + 0x14], esi
jbe 0x64abb4
mov esi, ebp
mov dword [esp + 0x18], esi
mov eax, dword [esi]
cmp eax, 1
jb 0x64ab80
cmp eax, 6
ja 0x64ab80
mov edx, dword [esi + 4]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [edi + 4]
push edx
call fcn.006793d0
test eax, eax
je case.default.0x64a978
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x64aad5
mov eax, dword [esi]
dec eax
cmp eax, 5
ja case.default.0x64a978
jmp dword [eax*4 + 0x64ac44]
mov edi, str.ECU_Information
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x30]
push ebp
call fcn.00414230
test al, al
je 0x64aad5
mov edi, dword [esp + 0x30]
mov ecx, ebp
mov eax, ecx
mov esi, str.ECU_Information
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
jmp 0x64aac6
mov edi, str.Read_DTC
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x30]
push ebp
call fcn.00414230
test al, al
je 0x64aad5
mov ecx, ebp
mov esi, str.Read_DTC
jmp 0x64aab9
mov edi, str.Erase_DTC
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x30]
push ebp
call fcn.00414230
test al, al
je 0x64aad5
mov edi, dword [esp + 0x30]
mov ecx, ebp
mov eax, ecx
mov esi, str.Erase_DTC
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
jmp 0x64aac6
mov edi, str.Data_Stream
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x30]
push ebp
call fcn.00414230
test al, al
je 0x64aad5
mov ecx, ebp
mov esi, str.Data_Stream
jmp 0x64aab9
mov edi, str.Functional_Test
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x30]
push ebp
call fcn.00414230
test al, al
je 0x64aad5
mov edi, dword [esp + 0x30]
mov ecx, ebp
mov eax, ecx
mov esi, str.Functional_Test
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
jmp 0x64aac6
mov edi, str.Special_Function
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x30]
push ebp
call fcn.00414230
test al, al
je 0x64aad5
mov ecx, ebp
mov esi, str.Special_Function
mov edi, dword [esp + 0x30]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
push ebp
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x30]
call fcn.00414210
mov esi, dword [esp + 0x18]
xor edi, edi
push edi
lea ecx, [esp + 0x44]
mov eax, dword [esi]
mov dword [esp + 0x40], eax
mov al, byte [esp + 0x30]
mov byte [esp + 0x44], al
call fcn.004138c0
mov ecx, dword [0x6dd1fc]
lea edx, [esp + 0x2c]
push ecx
push edi
push edx
lea ecx, [esp + 0x4c]
call fcn.004136c0
lea eax, [esp + 0x78]
lea ecx, [esp + 0x54]
push eax
mov byte [esp + 0x74], 1
mov dword [esp + 0x54], edi
call fcn.00437610
mov eax, dword [ebx + 8]
lea ecx, [esp + 0x3c]
push ecx
push 1
push eax
mov ecx, ebx
mov byte [esp + 0x7c], 2
call fcn.0064b3e0
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
push edx
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x78], 3
call fcn.00641c50
mov ecx, dword [esp + 0x58]
push ecx
call fcn.006a64d0
add esp, 4
lea ecx, [esp + 0x40]
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
push 1
mov dword [esp + 0x64], edi
mov byte [esp + 0x74], 0
call fcn.004138c0
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
inc eax
add esi, 0xc
cmp eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], esi
jae 0x64abb4
jmp 0x64a933
push 1
lea ecx, [esp + 0x30]
mov dword [esp + 0x74], 0xffffffff
call fcn.004138c0
xor eax, eax
jmp 0x64ac2f
push ebp
call fcn.006a64d0
mov eax, dword [ebx + 4]
add esp, 4
test eax, eax
je 0x64abdc
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
jne 0x64ac06
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x64ac02
mov al, byte [ecx - 1]
test al, al
je 0x64abf8
cmp al, 0xff
je 0x64abf8
dec al
mov byte [ecx - 1], al
xor eax, eax
jmp 0x64ac2f
dec ecx
push ecx
call fcn.006a64d0
add esp, 4
xor eax, eax
jmp 0x64ac2f
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x64ac2a
mov al, byte [ecx - 1]
test al, al
je 0x64ac20
cmp al, 0xff
je 0x64ac20
dec al
mov byte [ecx - 1], al
jmp 0x64ac2a
dec ecx
push ecx
call fcn.006a64d0
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 4