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

Disassembly:
push 0xffffffffffffffff
push 0x5e0206
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x48]
mov dword [esp + 0x3c], 0
call fcn.00559c60
mov byte [0x60fdac], 3
mov al, byte [ebp + 4]
test al, al
mov dword [esp + 0xc4], 1
jne 0x55444d
mov edi, dword [ebp + 0x14]
mov ecx, 0x19
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp + 0x1c], eax
mov eax, dword [ebp + 0xc]
mov bx, word [esp + 0xd0]
mov esi, 4
cmp eax, esi
je 0x554533
mov ecx, dword [ebp + 0x1c]
mov dword [ebp + 0xc], esi
mov byte [ecx], 2
mov edx, dword [ebp + 0x1c]
mov cl, byte [esp + 0xd4]
mov byte [edx + 1], 0xb
mov eax, dword [ebp + 0x1c]
test cl, cl
mov byte [eax + 2], bl
mov edx, dword [ebp + 0x1c]
setne cl
mov byte [edx + 3], cl
mov al, byte [ebp + 4]
test al, al
je 0x554526
lea ecx, [esp + 0x6c]
call fcn.00559c60
mov ebx, dword [ebp + 0x1c]
lea ecx, [ebp + 0x20]
add ebx, esi
lea edx, [esp + 0x40]
mov dword [ebp + 0x1c], ebx
mov eax, dword [ecx + 8]
push edx
push 1
push eax
mov byte [esp + 0xd0], 2
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 2
call fcn.0056e810
mov esi, dword [esp + 0xcc]
lea eax, [esp + 0x6c]
push eax
mov ecx, esi
call fcn.005553f0
lea ecx, [esp + 0x7c]
lea edi, [esi + 0x10]
push ecx
mov ecx, edi
mov byte [esp + 0xc8], 3
call fcn.005525e0
mov dl, byte [esp + 0x8c]
mov dword [esp + 0x3c], 1
mov byte [edi + 0x10], dl
lea ecx, [esp + 0x6c]
mov byte [esp + 0xc4], 1
call fcn.00559d60
jmp 0x554942
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp]
push esi
push eax
call fcn.00569ed0
mov edi, dword [ebp + 0x18]
mov ecx, 0x3fff
xor eax, eax
push 0xffff
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, dword [ebp + 0x18]
push ecx
mov ecx, dword [ebp]
call fcn.0056a100
test eax, eax
jne 0x5547bb
mov dl, byte [esp + 0x13]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x18], dl
call fcn.00401850
mov edi, str.W_UINT16_uiFlashType_
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0xc8], 4
mov ebp, ecx
lea ecx, [esp + 0x18]
push ebp
call fcn.004018c0
test al, al
je 0x5545b9
mov edi, dword [esp + 0x18]
mov ecx, ebp
mov eax, ecx
mov esi, str.W_UINT16_uiFlashType_
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.004018a0
cmp bx, 1
jne 0x5545d6
mov edi, str.QF_TOYOTA
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.QF_TOYOTA
jmp 0x5545eb
mov edi, str.unknow
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.unknow
lea ecx, [esp + 0x1c]
call fcn.00502fe0
mov al, byte [esp + 0xd4]
test al, al
je 0x554658
mov edi, str.__bRepeattrue
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x1c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [0x5e5150]
sub ecx, edx
cmp ecx, esi
ja 0x554625
call fcn.005bc520
test esi, esi
jbe 0x5546c2
mov edx, dword [esp + 0x1c]
push 0
lea ecx, [esp + 0x18]
lea ebp, [edx + esi]
push ebp
call fcn.004018c0
test al, al
je 0x5546c2
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea edi, [ecx + eax]
mov ecx, esi
mov esi, str.__bRepeattrue
jmp 0x5546aa
mov edi, str.__bRepeatfalse
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x1c]
repne scasb al, byte es:[edi]
mov eax, dword [0x5e5150]
not ecx
dec ecx
sub eax, edx
mov esi, ecx
cmp eax, esi
ja 0x55467d
call fcn.005bc520
test esi, esi
jbe 0x5546c2
mov ecx, dword [esp + 0x1c]
push 0
lea ebp, [ecx + esi]
lea ecx, [esp + 0x18]
push ebp
call fcn.004018c0
test al, al
je 0x5546c2
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, esi
mov esi, str.__bRepeatfalse
lea edi, [eax + edx]
mov edx, ecx
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.004018a0
mov al, byte [esp + 0x13]
sub esp, 0x10
mov ebp, esp
mov dword [esp + 0x34], esp
push 0
mov ecx, ebp
mov byte [ebp], al
call fcn.00401850
mov edi, str.CCommWithEcu::QuickFlash__
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov ecx, ebp
push ebx
call fcn.004018c0
test al, al
je 0x55471a
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
mov esi, str.CCommWithEcu::QuickFlash__
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
call fcn.004018a0
sub esp, 0x10
lea eax, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x60], esp
push eax
mov byte [esp + 0xe8], 5
call fcn.00411fd0
push 0xfffffffffffffff6
lea ecx, [esp + 0xb8]
mov byte [esp + 0xe8], 4
call fcn.0054a100
mov esi, eax
mov cx, word [esi + 4]
lea edi, [esi + 8]
mov word [esp + 0x70], cx
mov bl, 6
mov dl, byte [edi]
push 0
lea ecx, [esp + 0x78]
mov byte [esp + 0xc8], bl
mov byte [esp + 0x78], dl
call fcn.00401850
mov eax, dword [0x5e5150]
lea ecx, [esp + 0x74]
push eax
push 0
push edi
call fcn.004120f0
add esi, 0x18
lea ecx, [esp + 0x84]
push esi
mov byte [esp + 0xc8], 7
call fcn.00411fd0
lea ecx, [esp + 0x6c]
push 0x602fd0
push ecx
mov dword [esp + 0x74], 0x5e7dd8
mov byte [esp + 0xcc], bl
call fcn.005bd65b
mov esi, dword [ebp + 0x18]
lea ecx, [esp + 0x28]
add esi, 8
movzx di, byte [esi]
mov dword [esp + 0x24], edi
inc esi
call fcn.00558060
mov dl, byte [esp + 0x13]
xor ebx, ebx
xor ecx, ecx
mov byte [esp + 0x2c], dl
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ebx
movsx eax, di
test eax, eax
mov byte [esp + 0xc4], 9
jle 0x554876
movzx di, byte [esi]
inc esi
cmp di, 0xff
jne 0x554817
movzx di, byte [esi]
movzx ax, byte [esi + 1]
shl edi, 8
add edi, eax
add esi, 2
cmp word [esp + 0x24], 1
jne 0x554824
test di, di
je 0x554857
push edi
push esi
lea ecx, [esp + 0x30]
call fcn.00558600
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x28]
push ecx
push 1
push edx
lea ecx, [esp + 0x38]
call fcn.00402a90
movsx eax, di
mov ecx, dword [esp + 0x34]
add esi, eax
movsx eax, word [esp + 0x24]
inc ebx
cmp ebx, eax
jl 0x5547fa
mov eax, dword [esp + 0x30]
test eax, eax
je 0x554876
sub ecx, eax
sar ecx, 2
je 0x554876
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x4c]
call fcn.00559fd0
jmp 0x55487d
mov dword [ebp + 0xc], 0
mov esi, dword [esp + 0xcc]
mov ecx, dword [esp + 0x4c]
mov dl, byte [esp + 0x48]
test ecx, ecx
mov byte [esi], dl
jne 0x554896
xor eax, eax
jmp 0x55489f
mov eax, dword [esp + 0x50]
sub eax, ecx
sar eax, 4
test eax, eax
jge 0x5548a5
xor eax, eax
shl eax, 4
push eax
call fcn.005bcf2f
mov ecx, dword [esp + 0x50]
add esp, 4
mov dword [esi + 4], eax
push eax
mov eax, dword [esp + 0x54]
push eax
push ecx
mov ecx, esi
call fcn.00555460
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea edi, [esi + 0x10]
lea edx, [esp + 0x58]
push edx
mov ecx, edi
mov byte [esp + 0xc8], 0xa
call fcn.00412410
mov al, byte [esp + 0x68]
mov dword [esp + 0x3c], 1
mov byte [edi + 0x10], al
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
mov byte [esp + 0xc4], 8
cmp edi, eax
mov ebp, eax
je 0x55491a
mov ecx, edi
call fcn.005581a0
add edi, 4
cmp edi, ebp
jne 0x554908
mov edi, dword [esp + 0x30]
push edi
call fcn.005bc500
xor eax, eax
add esp, 4
lea ecx, [esp + 0x28]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov byte [esp + 0xc4], 1
call fcn.005581a0
lea ecx, [esp + 0x48]
mov byte [esp + 0xc4], 0
call fcn.00559d60
mov ecx, dword [esp + 0xbc]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xb8
ret 0xc