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

Disassembly:
push 0xffffffffffffffff
push 0x48c750
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.0042d530
add esp, 0xc
mov esi, eax
mov eax, dword [ebx + 8]
mov ecx, ebx
push eax
push esi
call fcn.0042cf40
mov dword [ebx + 8], esi
mov ecx, dword [edi + 4]
xor esi, esi
cmp ecx, esi
jne 0x42c478
xor eax, eax
jmp 0x42c81f
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0xffffffff
push eax
push esi
call fcn.0042ba00
test eax, eax
je 0x42c81f
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [edi + 4]
push edx
call fcn.0042c2b0
test eax, eax
je 0x42c81f
mov eax, dword [esp + 0x24]
cmp eax, esi
jne 0x42c4bc
xor eax, eax
jmp 0x42c81f
lea eax, [eax + eax*2]
shl eax, 2
push eax
call fcn.0047e9c2
mov ebp, eax
add esp, 4
cmp ebp, esi
mov dword [esp + 0x1c], ebp
jne 0x42c4dc
xor eax, eax
jmp 0x42c81f
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
push ebp
push ecx
mov ecx, dword [edi + 4]
push edx
call fcn.0042ba70
test eax, eax
je 0x42c81f
mov al, byte [esp + 0x78]
push esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x30], al
call fcn.004024d0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x70], esi
cmp eax, esi
mov dword [esp + 0x14], esi
jbe 0x42c7a4
mov esi, ebp
mov dword [esp + 0x18], esi
mov eax, dword [esi]
cmp eax, 1
jb 0x42c770
cmp eax, 6
ja 0x42c770
mov edx, dword [esi + 4]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [edi + 4]
push edx
call fcn.0043e3a0
test eax, eax
je case.default.0x42c568
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x42c6c5
mov eax, dword [esi]
dec eax
cmp eax, 5
ja case.default.0x42c568
jmp dword [eax*4 + 0x42c834]
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.00402900
test al, al
je 0x42c6c5
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 0x42c6b6
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.00402900
test al, al
je 0x42c6c5
mov ecx, ebp
mov esi, str.Read_DTC
jmp 0x42c6a9
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.00402900
test al, al
je 0x42c6c5
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 0x42c6b6
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.00402900
test al, al
je 0x42c6c5
mov ecx, ebp
mov esi, str.Data_Stream
jmp 0x42c6a9
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.00402900
test al, al
je 0x42c6c5
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 0x42c6b6
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.00402900
test al, al
je 0x42c6c5
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.004028e0
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.004024d0
mov ecx, dword [0x49014c]
lea edx, [esp + 0x2c]
push ecx
push edi
push edx
lea ecx, [esp + 0x4c]
call fcn.0040f3e0
lea eax, [esp + 0x78]
lea ecx, [esp + 0x54]
push eax
mov byte [esp + 0x74], 1
mov dword [esp + 0x54], edi
call fcn.0041aeb0
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.0042cf70
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.00461520
mov ecx, dword [esp + 0x58]
push ecx
call fcn.0047e190
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.004024d0
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 0x42c7a4
jmp 0x42c523
push 1
lea ecx, [esp + 0x30]
mov dword [esp + 0x74], 0xffffffff
call fcn.004024d0
xor eax, eax
jmp 0x42c81f
push ebp
call fcn.0047e190
mov eax, dword [ebx + 4]
add esp, 4
test eax, eax
je 0x42c7cc
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 0x42c7f6
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x42c7f2
mov al, byte [ecx - 1]
test al, al
je 0x42c7e8
cmp al, 0xff
je 0x42c7e8
dec al
mov byte [ecx - 1], al
xor eax, eax
jmp 0x42c81f
dec ecx
push ecx
call fcn.0047e190
add esp, 4
xor eax, eax
jmp 0x42c81f
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x42c81a
mov al, byte [ecx - 1]
test al, al
je 0x42c810
cmp al, 0xff
je 0x42c810
dec al
mov byte [ecx - 1], al
jmp 0x42c81a
dec ecx
push ecx
call fcn.0047e190
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