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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4f4ef2
push eax
mov dword fs:[0], esp
sub esp, 0xd8
push ebx
push ebp
push esi
push edi
mov ebp, ecx
call fcn.004cd070
test al, al
je 0x4c26aa
mov ecx, dword [ebp + 0x10]
xor esi, esi
cmp ecx, esi
je 0x4c26ac
call fcn.004d1e50
test eax, eax
je 0x4c26ac
mov al, byte [esp + 0x13]
push esi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2c], al
call fcn.00411e90
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.00412290
test al, al
je 0x4c2620
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.00412270
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.004e0015
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.00411ff0
mov edi, 0x51332c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x51332c
lea ecx, [esp + 0x30]
call fcn.00411ff0
mov eax, dword [esp + 0x2c]
cmp eax, esi
jne 0x4c2688
mov eax, 0x4f7480
mov ecx, dword [ebp + 0x10]
push esi
push eax
call fcn.004d2840
push 1
lea ecx, [esp + 0x2c]
mov dword [esp + 0xf4], 0xffffffff
call fcn.00411e90
jmp 0x4c26b3
xor esi, esi
mov ebx, dword [esp + 0xf8]
mov al, byte [ebp + 4]
mov dword [ebp + 0xc], esi
test al, al
jne 0x4c26cf
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 0x4c26df
xor edi, edi
mov dword [esp + 0xfc], edi
jmp 0x4c26ec
mov eax, dword [esp + 0xfc]
cmp eax, esi
mov edi, eax
jne 0x4c26f5
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 0x4c2733
mov ecx, dword [ebp + 0x1c]
mov byte [ecx + 6], 0
mov ecx, 7
jmp 0x4c2755
mov ecx, edi
call fcn.004c8080
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.004c80a0
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 0x4c277c
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 0x4c27d0
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.004c7660
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.004d7870
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.004d7aa0
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 0x4c2818
cmp ax, si
je 0x4c27b2
mov cl, byte [esp + 0x13]
push esi
mov byte [esp + 0x18], cl
lea ecx, [esp + 0x18]
call fcn.00411e90
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.004df246
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.00412290
test al, al
je 0x4c288f
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 0x4c28bd
call fcn.004deb1b
mov edx, dword [0x4f73d0]
test esi, esi
jbe 0x4c2908
mov edx, dword [esp + 0x1c]
push 0
lea ecx, [esp + 0x18]
lea ebp, [edx + esi]
push ebp
call fcn.00412290
test al, al
je 0x4c2902
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.00412270
mov edx, dword [0x4f73d0]
mov eax, dword [esp + 0xfc]
test eax, eax
je 0x4c2973
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 0x4c2933
call fcn.004deb1b
test esi, esi
jbe 0x4c29d8
mov eax, dword [esp + 0x1c]
push 0
lea ecx, [esp + 0x18]
lea ebp, [eax + esi]
push ebp
call fcn.00412290
test al, al
je 0x4c29d8
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 0x4c29c9
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 0x4c2993
call fcn.004deb1b
test esi, esi
jbe 0x4c29d8
mov ecx, dword [esp + 0x1c]
push 0
lea ebp, [ecx + esi]
lea ecx, [esp + 0x18]
push ebp
call fcn.00412290
test al, al
je 0x4c29d8
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.00412270
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x4c2add
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.00411e90
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.00412290
test al, al
je 0x4c2a3f
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.004118e0
push 0xfffffffffffffff6
lea ecx, [esp + 0xbc]
mov byte [esp + 0x114], 1
call fcn.004d6c20
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.00411e90
mov eax, dword [0x4f73d0]
lea ecx, [esp + 0x44]
push eax
push 0
push edi
call fcn.00411c90
add esi, 0x18
lea ecx, [esp + 0x54]
push esi
mov byte [esp + 0xf4], 4
call fcn.004118e0
lea ecx, [esp + 0x3c]
push 0x509610
push ecx
mov dword [esp + 0x44], 0x4f8190
mov byte [esp + 0xf8], 3
call fcn.004dffdb
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.00411e90
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.00412290
test al, al
je 0x4c2b39
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.004118e0
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0xe0]
push eax
mov byte [esp + 0x114], 1
call fcn.004d6c20
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.00411e90
mov eax, dword [0x4f73d0]
lea ecx, [esp + 0x44]
push eax
push 0
push edi
call fcn.00411c90
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.00411e90
mov edx, dword [0x4f73d0]
lea ecx, [esp + 0x54]
push edx
push 0
push esi
call fcn.00411c90
lea eax, [esp + 0x3c]
push 0x509610
push eax
mov dword [esp + 0x44], 0x4f8190
mov byte [esp + 0xf8], bl
call fcn.004dffdb
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop