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

Disassembly:
push 0xffffffffffffffff
push 0x6c99fe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf4
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov ecx, dword [esp + 0x118]
xor esi, esi
cmp ecx, esi
mov dword [esp + 0x10c], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], esi
jne 0x639675
xor ebx, ebx
mov dword [esp + 0x30], ebx
jmp 0x639687
mov eax, dword [esp + 0x11c]
sub eax, ecx
sar eax, 3
mov dword [esp + 0x30], eax
mov ebx, eax
call fcn.00626120
neg al
sbb eax, eax
push esi
and eax, 0xc
lea ecx, [esp + 0x70]
add eax, 8
mov dword [esp + 0x30], 1
mov dword [esp + 0x18], eax
mov al, byte [esp + 0x17]
mov byte [esp + 0x70], al
call fcn.004138a0
mov cl, byte [esp + 0x13]
mov dword [esp + 0x20], esi
mov byte [esp + 0x1c], cl
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
push esi
push esi
lea ecx, [esp + 0x24]
mov byte [esp + 0x114], 2
mov dword [esp + 0x1c], ebx
call fcn.0063a0e0
cmp word [esp + 0x14], si
jle 0x63974d
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x48]
mov byte [esp + 0x48], dl
call fcn.004138a0
mov edi, 0x712a14
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x712a14
lea ecx, [esp + 0x4c]
call fcn.00414030
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x44]
push eax
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0x114], 3
call fcn.00639f50
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x110], 2
call fcn.004138a0
inc esi
cmp si, word [esp + 0x14]
jl 0x6396e6
lea esi, [ebp + 0x30]
mov dword [esp + 0x58], esi
movsx edx, word [esp + 0x14]
movsx eax, word [esp + 0x18]
push edx
push eax
sub esp, 0x10
lea edx, [esp + 0x12c]
mov ecx, esp
mov dword [esp + 0x6c], esp
push edx
call fcn.00639e90
mov eax, dword [ebp + 4]
mov ecx, dword [ebp + 0x1c]
push eax
push ecx
mov ecx, esi
call fcn.00667810
test eax, eax
je 0x639754
movsx edx, word [esp + 0x14]
movsx eax, word [esp + 0x18]
mov ecx, dword [esp + 0x2c]
push edx
push eax
lea edx, [esp + 0x24]
push ecx
push edx
mov ecx, esi
call fcn.00665a60
cmp eax, 0xaa
je 0x639a78
lea eax, [esp + 0x5c]
push 0x1d
push eax
mov ecx, 0x71bec0
call fcn.00636830
lea ecx, [esp + 0xa4]
push 0
push ecx
mov byte [esp + 0x114], 6
call fcn.00625aa0
add esp, 4
mov esi, eax
mov ecx, dword [ebp + 4]
lea edx, [esp + 0xb8]
push edx
mov byte [esp + 0x114], 7
call fcn.0066b070
push 0x7126ac
push eax
lea eax, [esp + 0xa0]
mov byte [esp + 0x118], 8
push eax
call fcn.006223c0
push esi
lea ecx, [esp + 0x58]
push eax
push ecx
mov byte [esp + 0x128], 9
call fcn.00624ea0
add esp, 8
mov byte [esp + 0x120], 0xa
mov edx, esp
mov dword [esp + 0x68], esp
push str..dat
push eax
push edx
call fcn.006223c0
push ecx
lea eax, [esp + 0x80]
mov ecx, esp
mov dword [esp + 0x50], esp
push eax
mov byte [esp + 0x134], 0xb
call fcn.00412ff0
mov ecx, dword [esp + 0x3c]
push ebx
push ecx
mov ecx, dword [0x71b938]
mov byte [esp + 0x138], 0xa
call fcn.0061eac0
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x110], 9
call fcn.004138a0
push 1
lea ecx, [esp + 0x98]
mov byte [esp + 0x110], 8
call fcn.004138a0
push 1
lea ecx, [esp + 0xb8]
mov byte [esp + 0x110], 7
call fcn.004138a0
push 1
lea ecx, [esp + 0xa8]
mov byte [esp + 0x110], 6
call fcn.004138a0
mov eax, dword [esp + 0x18]
movsx edx, word [esp + 0x14]
movsx esi, ax
mov dword [esp + 0x2c], eax
lea ecx, [edx + esi]
movsx edx, bx
cmp ecx, edx
mov ebx, edx
jg 0x6398ea
mov ebx, ecx
cmp esi, ebx
mov edi, eax
jge 0x6399fd
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], ecx
mov word [esp + 0x38], ax
mov eax, dword [esp + 0x118]
mov word [esp + 0x40], cx
lea edx, [esp + 0xc4]
mov ecx, dword [eax + esi*8]
push edx
push ecx
mov ecx, dword [ebp + 4]
call fcn.0063c730
test eax, eax
je 0x639ba3
mov edx, dword [esp + 0xd0]
mov ecx, dword [ebp + 4]
lea eax, [esp + 0x8c]
push edx
push eax
call fcn.0066b230
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x84]
mov dx, word [eax + 4]
mov eax, dword [esp + 0xe0]
push eax
push ecx
mov ecx, dword [ebp + 4]
mov word [esp + 0x40], dx
call fcn.0066b230
mov edx, dword [eax]
push 0
push 0xffff
push ecx
mov dword [esp + 0x48], edx
mov ax, word [eax + 4]
mov ecx, esp
mov dword [esp + 0x60], esp
lea edx, [esp + 0x48]
push 6
push edx
mov word [esp + 0x54], ax
call fcn.0060ff10
movsx eax, word [esp + 0x24]
sub esi, eax
lea ecx, [esp + 0x28]
push esi
mov byte [esp + 0x11c], 0xc
call fcn.00413370
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x9c], esp
push eax
call fcn.00412ff0
push ecx
lea edx, [esp + 0x54]
mov ecx, esp
mov dword [esp + 0x9c], esp
push 6
push edx
mov byte [esp + 0x134], 0xd
call fcn.0060ff10
mov ecx, dword [0x71b938]
mov byte [esp + 0x12c], 6
call fcn.0061f070
inc edi
movsx esi, di
cmp esi, ebx
jl 0x6398f4
lea eax, [esp + 0x14]
push 1
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, dword [0x71b938]
call fcn.0061f400
cmp ax, 0xb
je 0x639c1e
mov ax, word [esp + 0x2c]
mov ecx, dword [esp + 0x60]
xor edx, edx
cmp ax, word [esp + 0x18]
mov byte [esp + 0x10c], 2
setne dl
xor esi, esi
mov dword [esp + 0x2c], edx
cmp ecx, esi
je 0x639a5f
mov al, byte [ecx - 1]
test al, al
je 0x639a55
cmp al, 0xff
je 0x639a55
dec al
mov byte [ecx - 1], al
jmp 0x639a5f
dec ecx
push ecx
call fcn.00697880
add esp, 4
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov esi, dword [esp + 0x58]
jmp 0x639789
lea ecx, [esp + 0x44]
push 0x3d
push ecx
mov ecx, 0x71bec0
call fcn.00636830
mov edi, 0x71b8d8
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x4c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
xor ebp, ebp
push ecx
push 0x71b8d8
mov bl, 4
push edx
push ebp
lea ecx, [esp + 0x54]
mov byte [esp + 0x11c], bl
call fcn.0041a790
cmp eax, ebp
jne 0x639ada
mov edi, str.Can_not_get_any_ECU_information_
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.Can_not_get_any_ECU_information_
lea ecx, [esp + 0x4c]
call fcn.00414030
push ebp
push 1
sub esp, 0x10
mov ecx, 0x71bec0
mov eax, esp
mov dword [esp + 0x94], esp
push 0x17
push eax
call fcn.00636830
sub esp, 0x10
lea edx, [esp + 0x6c]
mov ecx, esp
mov dword [esp + 0xa8], esp
push edx
mov byte [esp + 0x138], 5
call fcn.00412ff0
mov ecx, 0x71b930
mov byte [esp + 0x134], bl
call fcn.00611530
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x110], 2
call fcn.004138a0
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
cmp esi, eax
mov byte [esp + 0x10c], 1
mov edi, eax
je 0x639b61
push ebp
mov ecx, esi
call fcn.004bdec0
add esi, 0x10
cmp esi, edi
jne 0x639b4e
mov esi, dword [esp + 0x20]
push esi
call fcn.00697880
add esp, 4
lea ecx, [esp + 0x6c]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
push 1
mov dword [esp + 0x2c], ebp
mov byte [esp + 0x110], 0
call fcn.004138a0
mov eax, dword [esp + 0x118]
push eax
call fcn.00697880
add esp, 4
mov eax, 0xaa
jmp 0x639cdc
push 1
lea ecx, [esp + 0x60]
mov byte [esp + 0x110], 2
call fcn.004138a0
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
cmp esi, edi
mov byte [esp + 0x10c], 1
je 0x639bde
push 0
mov ecx, esi
call fcn.004bdec0
add esi, 0x10
cmp esi, edi
jne 0x639bca
mov esi, dword [esp + 0x20]
push esi
call fcn.00697880
add esp, 4
xor eax, eax
lea ecx, [esp + 0x6c]
mov dword [esp + 0x20], eax
push 1
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov byte [esp + 0x110], al
call fcn.004138a0
mov ecx, dword [esp + 0x118]
push ecx
call fcn.00697880
add esp, 4
xor eax, eax
jmp 0x639cdc
mov ecx, dword [esp + 0x58]
call fcn.00669130
mov eax, dword [esp + 0x60]
xor ebx, ebx
cmp eax, ebx
je 0x639c4e
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x639c45
cmp al, 0xff
je 0x639c45
dec al
mov byte [ecx], al
jmp 0x639c4e
push ecx
call fcn.00697880
add esp, 4
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
cmp esi, edi
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov byte [esp + 0x10c], 1
je 0x639c82
push 1
mov ecx, esi
call fcn.004138a0
add esi, 0x10
cmp esi, edi
jne 0x639c6e
mov esi, dword [esp + 0x20]
push esi
call fcn.00697880
mov ecx, dword [esp + 0x74]
add esp, 4
cmp ecx, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
je 0x639cbb
mov al, byte [ecx - 1]
test al, al
je 0x639cb1
cmp al, 0xff
je 0x639cb1
dec al
mov byte [ecx - 1], al
jmp 0x639cbb
dec ecx
push ecx
call fcn.00697880
add esp, 4
mov edx, dword [esp + 0x118]
mov dword [esp + 0x70], ebx
push edx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
call fcn.00697880
add esp, 4
mov eax, 0xb
mov ecx, dword [esp + 0x104]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x100
ret 0x10