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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4f4e82
push eax
mov dword fs:[0], esp
sub esp, 0xd8
push ebx
push ebp
push esi
push edi
mov ebp, ecx
call fcn.004cc820
test al, al
je 0x4c1eda
mov ecx, dword [ebp + 0x10]
xor esi, esi
cmp ecx, esi
je 0x4c1edc
call fcn.004d15a0
test eax, eax
je 0x4c1edc
mov al, byte [esp + 0x13]
push esi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2c], al
call fcn.00414090
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.004144a0
test al, al
je 0x4c1e50
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.00414480
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.004df995
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.00414200
mov edi, 0x5131d0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x5131d0
lea ecx, [esp + 0x30]
call fcn.00414200
mov eax, dword [esp + 0x2c]
cmp eax, esi
jne 0x4c1eb8
mov eax, 0x4f7480
mov ecx, dword [ebp + 0x10]
push esi
push eax
call fcn.004d1fb0
push 1
lea ecx, [esp + 0x2c]
mov dword [esp + 0xf4], 0xffffffff
call fcn.00414090
jmp 0x4c1ee3
xor esi, esi
mov ebx, dword [esp + 0xf8]
mov al, byte [ebp + 4]
mov dword [ebp + 0xc], esi
test al, al
jne 0x4c1eff
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 0x4c1f0f
xor edi, edi
mov dword [esp + 0xfc], edi
jmp 0x4c1f1c
mov eax, dword [esp + 0xfc]
cmp eax, esi
mov edi, eax
jne 0x4c1f25
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 0x4c1f63
mov ecx, dword [ebp + 0x1c]
mov byte [ecx + 6], 0
mov ecx, 7
jmp 0x4c1f85
mov ecx, edi
call fcn.004c7830
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.004c7850
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 0x4c1fac
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 0x4c2000
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.004c6dd0
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.004d6ec0
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.004d70f0
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 0x4c2048
cmp ax, si
je 0x4c1fe2
mov cl, byte [esp + 0x13]
push esi
mov byte [esp + 0x18], cl
lea ecx, [esp + 0x18]
call fcn.00414090
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.004de8d6
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.004144a0
test al, al
je 0x4c20bf
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 [0x4f73d0]
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 0x4c20ed
call fcn.004de1ab
mov edx, dword [0x4f73d0]
test esi, esi
jbe 0x4c2138
mov edx, dword [esp + 0x1c]
push 0
lea ecx, [esp + 0x18]
lea ebp, [edx + esi]
push ebp
call fcn.004144a0
test al, al
je 0x4c2132
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.00414480
mov edx, dword [0x4f73d0]
mov eax, dword [esp + 0xfc]
test eax, eax
je 0x4c21a3
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 0x4c2163
call fcn.004de1ab
test esi, esi
jbe 0x4c2208
mov eax, dword [esp + 0x1c]
push 0
lea ecx, [esp + 0x18]
lea ebp, [eax + esi]
push ebp
call fcn.004144a0
test al, al
je 0x4c2208
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 0x4c21f9
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 0x4c21c3
call fcn.004de1ab
test esi, esi
jbe 0x4c2208
mov ecx, dword [esp + 0x1c]
push 0
lea ebp, [ecx + esi]
lea ecx, [esp + 0x18]
push ebp
call fcn.004144a0
test al, al
je 0x4c2208
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.00414480
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x4c230d
mov al, byte [esp + 0x13]
sub esp, 0x10
mov ebx, esp
mov dword [esp + 0x48], esp
push 0
mov ecx, ebx
mov byte [ebx], al
call fcn.00414090
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.004144a0
test al, al
je 0x4c226f
mov edi, dword [ebx + 4]
mov ecx, ebp
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 eax, dword [ebx + 4]
mov dword [ebx + 8], ebp
add ebp, eax
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.00413ad0
push 0xfffffffffffffff6
lea ecx, [esp + 0xbc]
mov byte [esp + 0x114], 1
call fcn.004d6290
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.00414090
mov eax, dword [0x4f73d0]
lea ecx, [esp + 0x44]
push eax
push 0
push edi
call fcn.00413e90
add esi, 0x18
lea ecx, [esp + 0x54]
push esi
mov byte [esp + 0xf4], 4
call fcn.00413ad0
lea ecx, [esp + 0x3c]
push 0x509890
push ecx
mov dword [esp + 0x44], 0x4f8108
mov byte [esp + 0xf8], 3
call fcn.004df95b
mov dl, byte [esp + 0x13]
sub esp, 0x10
mov ebp, esp
mov dword [esp + 0x34], esp
push 0
mov ecx, ebp
mov byte [ebp], dl
call fcn.00414090
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.004144a0
test al, al
je 0x4c2369
mov edi, dword [ebp + 4]
mov ecx, ebx
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 dword [ebp + 8], ebx
mov ebp, dword [ebp + 4]
add ebp, ebx
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.00413ad0
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0xe0]
push eax
mov byte [esp + 0x114], 1
call fcn.004d6290
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.00414090
mov eax, dword [0x4f73d0]
lea ecx, [esp + 0x44]
push eax
push 0
push edi
call fcn.00413e90
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.00414090
mov edx, dword [0x4f73d0]
lea ecx, [esp + 0x54]
push edx
push 0
push esi
call fcn.00413e90
lea eax, [esp + 0x3c]
push 0x509890
push eax
mov dword [esp + 0x44], 0x4f8108
mov byte [esp + 0xf8], bl
call fcn.004df95b
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop