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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5dfc62
push eax
mov dword fs:[0], esp
sub esp, 0xd8
push ebx
push ebp
push esi
push edi
mov ebp, ecx
call fcn.005579d0
test al, al
je 0x54e8c5
mov eax, dword [ebp + 0x10]
xor esi, esi
cmp eax, esi
je 0x54e8bc
mov al, byte [esp + 0x13]
push esi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2c], al
call fcn.00401850
mov edi, str.CCommWithEcu::KeepLink_
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x2c]
push ebx
call fcn.004018c0
test al, al
je 0x54e833
mov edi, dword [esp + 0x2c]
mov ecx, ebx
mov edx, ecx
mov esi, str.CCommWithEcu::KeepLink_
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]
lea ecx, [esp + 0x2c]
call fcn.004018a0
xor esi, esi
mov ebx, dword [esp + 0xf8]
lea eax, [esp + 0x98]
movsx ecx, bx
push 0xa
push eax
push ecx
mov dword [esp + 0xfc], esi
call fcn.005bd695
mov edx, eax
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x30]
call fcn.00502fe0
mov edi, 0x60aa34
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x60aa34
lea ecx, [esp + 0x30]
call fcn.00502fe0
mov eax, dword [esp + 0x2c]
cmp eax, esi
jne 0x54e89b
mov eax, 0x5e514c
mov ecx, dword [ebp + 0x10]
push eax
call fcn.005566e0
push 1
lea ecx, [esp + 0x2c]
mov dword [esp + 0xf4], 0xffffffff
call fcn.00401850
jmp 0x54e8ce
mov ebx, dword [esp + 0xf8]
jmp 0x54e8ce
mov ebx, dword [esp + 0xf8]
xor esi, esi
mov al, byte [ebp + 4]
mov dword [ebp + 0xc], esi
test al, al
jne 0x54e8ea
mov edi, dword [ebp + 0x14]
mov ecx, 0x19
xor eax, eax
rep stosd dword es:[edi], eax
mov edx, dword [ebp + 0x14]
mov dword [ebp + 0x1c], edx
cmp bx, si
jne 0x54e8fa
xor edi, edi
mov dword [esp + 0xfc], edi
jmp 0x54e907
mov eax, dword [esp + 0xfc]
cmp eax, esi
mov edi, eax
jne 0x54e910
mov dword [esp + 0xf8], esi
mov ebx, esi
mov eax, dword [ebp + 0x1c]
mov byte [eax], 2
mov ecx, dword [ebp + 0x1c]
mov byte [ecx + 1], 1
mov edx, dword [ebp + 0x1c]
mov ecx, ebx
mov byte [edx + 2], 0
mov eax, dword [ebp + 0x1c]
sar ecx, 8
mov byte [eax + 3], 0
mov edx, dword [ebp + 0x1c]
cmp edi, esi
mov byte [edx + 4], cl
mov eax, dword [ebp + 0x1c]
mov byte [eax + 5], bl
jne 0x54e94e
mov ecx, dword [ebp + 0x1c]
mov byte [ecx + 6], 0
mov ecx, 7
jmp 0x54e970
mov ecx, edi
call fcn.005594d0
mov edx, dword [ebp + 0x1c]
push 0x32
mov ecx, edi
mov byte [edx + 6], al
mov eax, dword [ebp + 0x1c]
add eax, 7
push eax
call fcn.005594f0
mov ecx, eax
add ecx, 7
lea edi, [ecx - 4]
mov eax, edi
cdq
and edx, 0xff
add eax, edx
mov edx, dword [ebp + 0x1c]
sar eax, 8
mov byte [edx + 2], al
mov eax, edi
and eax, 0x800000ff
jns 0x54e997
dec eax
or eax, 0xffffff00
inc eax
mov edx, dword [ebp + 0x1c]
mov byte [edx + 3], al
mov al, byte [ebp + 4]
test al, al
je 0x54e9eb
mov edi, dword [ebp + 0x1c]
add ebp, 0x20
add edi, ecx
lea eax, [esp + 0x28]
mov dword [ebp - 4], edi
mov ecx, dword [ebp + 8]
push eax
push 1
push ecx
mov ecx, ebp
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], 1
call fcn.0056e810
mov ecx, dword [esp + 0xe8]
pop edi
pop esi
pop ebp
xor ax, ax
mov dword fs:[0], ecx
pop ebx
add esp, 0xe4
ret 8
mov edx, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp]
push edx
call fcn.00569ed0
mov edi, dword [ebp + 0x18]
mov ecx, 0x19
xor eax, eax
push 0xffff
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp]
push eax
call fcn.0056a100
mov ebp, dword [ebp + 0x18]
mov ecx, eax
add ebp, 8
cmp ecx, esi
mov dword [esp + 0x24], ecx
movsx ax, byte [ebp]
mov dword [esp + 0x38], eax
je 0x54ea33
cmp ax, si
je 0x54e9cd
mov cl, byte [esp + 0x13]
push esi
mov byte [esp + 0x18], cl
lea ecx, [esp + 0x18]
call fcn.00401850
movsx edx, bx
push edx
lea eax, [esp + 0x68]
push str.W_INT16_iKeepTime___d__ms__
push eax
mov dword [esp + 0xfc], 1
call fcn.005bcf3d
lea edi, [esp + 0x70]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
lea ecx, [esp + 0x18]
push ebp
call fcn.004018c0
test al, al
je 0x54eaaa
mov edi, dword [esp + 0x18]
mov ecx, ebp
mov edx, ecx
lea esi, [esp + 0x64]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], ebp
mov byte [eax + ebp], 0
mov edi, str._n__CSendFrame_pKeepLinkCommand_
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [0x5e5150]
repne scasb al, byte es:[edi]
mov edi, dword [esp + 0x1c]
not ecx
dec ecx
mov esi, ecx
mov ecx, edx
sub ecx, edi
cmp ecx, esi
ja 0x54ead8
call fcn.005bc520
mov edx, dword [0x5e5150]
test esi, esi
jbe 0x54eb23
mov edx, dword [esp + 0x1c]
push 0
lea ecx, [esp + 0x18]
lea ebp, [edx + esi]
push ebp
call fcn.004018c0
test al, al
je 0x54eb1d
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push ebp
lea edi, [ecx + eax]
mov ecx, esi
mov edx, ecx
mov esi, str._n__CSendFrame_pKeepLinkCommand_
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 edx, dword [0x5e5150]
mov eax, dword [esp + 0xfc]
test eax, eax
je 0x54eb8e
mov edi, str.NOT_NULL
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [esp + 0x1c]
sub edx, ecx
cmp edx, esi
ja 0x54eb4e
call fcn.005bc520
test esi, esi
jbe 0x54ebf3
mov eax, dword [esp + 0x1c]
push 0
lea ecx, [esp + 0x18]
lea ebp, [eax + esi]
push ebp
call fcn.004018c0
test al, al
je 0x54ebf3
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea edi, [edx + ecx]
mov ecx, esi
mov eax, ecx
mov esi, str.NOT_NULL
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
jmp 0x54ebe4
mov edi, str.NULL
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
mov ecx, dword [esp + 0x1c]
sub edx, ecx
cmp edx, esi
ja 0x54ebae
call fcn.005bc520
test esi, esi
jbe 0x54ebf3
mov ecx, dword [esp + 0x1c]
push 0
lea ebp, [ecx + esi]
lea ecx, [esp + 0x18]
push ebp
call fcn.004018c0
test al, al
je 0x54ebf3
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, esi
mov esi, str.NULL
lea edi, [eax + edx]
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 + 0x18]
call fcn.004018a0
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x54ecf9
mov al, byte [esp + 0x13]
sub esp, 0x10
mov ebp, esp
mov dword [esp + 0x48], esp
push 0
mov ecx, ebp
mov byte [ebp], al
call fcn.00401850
mov edi, str.CCommWithEcu::KeepLink__
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 0x54ec5b
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
mov esi, str.CCommWithEcu::KeepLink__
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp + 8], ebx
mov ebp, dword [ebp + 4]
add ebp, ebx
mov byte [ebp], 0
sub esp, 0x10
lea eax, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
mov byte [esp + 0x114], 2
call fcn.00411fd0
push 0xfffffffffffffff6
lea ecx, [esp + 0xbc]
mov byte [esp + 0x114], 1
call fcn.0054a100
mov esi, eax
mov cx, word [esi + 4]
lea edi, [esi + 8]
mov word [esp + 0x40], cx
push 0
mov dl, byte [edi]
lea ecx, [esp + 0x48]
mov byte [esp + 0xf4], 3
mov byte [esp + 0x48], dl
call fcn.00401850
mov eax, dword [0x5e5150]
lea ecx, [esp + 0x44]
push eax
push 0
push edi
call fcn.004120f0
add esi, 0x18
lea ecx, [esp + 0x54]
push esi
mov byte [esp + 0xf4], 4
call fcn.00411fd0
lea ecx, [esp + 0x3c]
push 0x602fd0
push ecx
mov dword [esp + 0x44], 0x5e7dd8
mov byte [esp + 0xf8], 3
call fcn.005bd65b
mov dl, byte [esp + 0x13]
sub esp, 0x10
mov ebx, esp
mov dword [esp + 0x34], esp
push 0
mov ecx, ebx
mov byte [ebx], dl
call fcn.00401850
mov edi, str.CCommWithEcu::KeepLink__
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
mov ecx, ebx
push ebp
call fcn.004018c0
test al, al
je 0x54ed54
mov edi, dword [ebx + 4]
mov ecx, ebp
mov eax, ecx
mov esi, str.CCommWithEcu::KeepLink__
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 4]
mov dword [ebx + 8], ebp
add ebp, eax
mov byte [ebp], 0
sub esp, 0x10
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
mov byte [esp + 0x114], 5
call fcn.00411fd0
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0xe0]
push eax
mov byte [esp + 0x114], 1
call fcn.0054a100
mov esi, eax
mov cx, word [esi + 4]
lea edi, [esi + 8]
mov word [esp + 0x40], cx
mov bl, 6
mov dl, byte [edi]
push 0
lea ecx, [esp + 0x48]
mov byte [esp + 0xf4], bl
mov byte [esp + 0x48], dl
call fcn.00401850
mov eax, dword [0x5e5150]
lea ecx, [esp + 0x44]
push eax
push 0
push edi
call fcn.004120f0
mov cl, byte [esi + 0x18]
add esi, 0x18
mov byte [esp + 0x54], cl
push 0
lea ecx, [esp + 0x58]
mov byte [esp + 0xf4], 7
call fcn.00401850
mov edx, dword [0x5e5150]
lea ecx, [esp + 0x54]
push edx
push 0
push esi
call fcn.004120f0
lea eax, [esp + 0x3c]
push 0x602fd0
push eax
mov dword [esp + 0x44], 0x5e7dd8
mov byte [esp + 0xf8], bl
call fcn.005bd65b