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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x52dbd2
push eax
mov dword fs:[0], esp
sub esp, 0xd8
push ebx
push ebp
push esi
push edi
mov ebp, ecx
call fcn.00500d10
test al, al
je 0x4f130a
mov ecx, dword [ebp + 0x10]
xor esi, esi
cmp ecx, esi
je 0x4f130c
call fcn.00503490
test eax, eax
je 0x4f130c
mov al, byte [esp + 0x13]
push esi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2c], al
call fcn.004013e0
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.004016f0
test al, al
je 0x4f1280
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.004016d0
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.0051541e
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.00466f90
mov edi, 0x54d228
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x54d228
lea ecx, [esp + 0x30]
call fcn.00466f90
mov eax, dword [esp + 0x2c]
cmp eax, esi
jne 0x4f12e8
mov eax, 0x530164
mov ecx, dword [ebp + 0x10]
push esi
push eax
call fcn.00503c30
push 1
lea ecx, [esp + 0x2c]
mov dword [esp + 0xf4], 0xffffffff
call fcn.004013e0
jmp 0x4f1313
xor esi, esi
mov ebx, dword [esp + 0xf8]
mov al, byte [ebp + 4]
mov dword [ebp + 0xc], esi
test al, al
jne 0x4f132f
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 0x4f133f
xor edi, edi
mov dword [esp + 0xfc], edi
jmp 0x4f134c
mov eax, dword [esp + 0xfc]
cmp eax, esi
mov edi, eax
jne 0x4f1355
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 0x4f1393
mov ecx, dword [ebp + 0x1c]
mov byte [ecx + 6], 0
mov ecx, 7
jmp 0x4f13b5
mov ecx, edi
call fcn.004f6b90
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.004f6bb0
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 0x4f13dc
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 0x4f1430
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.004f5430
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.005080d0
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.00508300
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 0x4f1478
cmp ax, si
je 0x4f1412
mov cl, byte [esp + 0x13]
push esi
mov byte [esp + 0x18], cl
lea ecx, [esp + 0x18]
call fcn.004013e0
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.0051497a
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.004016f0
test al, al
je 0x4f14ef
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 [0x530168]
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 0x4f151d
call fcn.0051414b
mov edx, dword [0x530168]
test esi, esi
jbe 0x4f1568
mov edx, dword [esp + 0x1c]
push 0
lea ecx, [esp + 0x18]
lea ebp, [edx + esi]
push ebp
call fcn.004016f0
test al, al
je 0x4f1562
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.004016d0
mov edx, dword [0x530168]
mov eax, dword [esp + 0xfc]
test eax, eax
je 0x4f15d3
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 0x4f1593
call fcn.0051414b
test esi, esi
jbe 0x4f1638
mov eax, dword [esp + 0x1c]
push 0
lea ecx, [esp + 0x18]
lea ebp, [eax + esi]
push ebp
call fcn.004016f0
test al, al
je 0x4f1638
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 0x4f1629
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 0x4f15f3
call fcn.0051414b
test esi, esi
jbe 0x4f1638
mov ecx, dword [esp + 0x1c]
push 0
lea ebp, [ecx + esi]
lea ecx, [esp + 0x18]
push ebp
call fcn.004016f0
test al, al
je 0x4f1638
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.004016d0
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x4f173d
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.004013e0
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.004016f0
test al, al
je 0x4f169f
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.0041fc70
push 0xfffffffffffffff6
lea ecx, [esp + 0xbc]
mov byte [esp + 0x114], 1
call fcn.00502530
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.004013e0
mov eax, dword [0x530168]
lea ecx, [esp + 0x44]
push eax
push 0
push edi
call fcn.004011e0
add esi, 0x18
lea ecx, [esp + 0x54]
push esi
mov byte [esp + 0xf4], 4
call fcn.0041fc70
lea ecx, [esp + 0x3c]
push 0x544fc8
push ecx
mov dword [esp + 0x44], 0x530cf8
mov byte [esp + 0xf8], 3
call fcn.005153e4
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.004013e0
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.004016f0
test al, al
je 0x4f1799
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.0041fc70
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0xe0]
push eax
mov byte [esp + 0x114], 1
call fcn.00502530
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.004013e0
mov eax, dword [0x530168]
lea ecx, [esp + 0x44]
push eax
push 0
push edi
call fcn.004011e0
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.004013e0
mov edx, dword [0x530168]
lea ecx, [esp + 0x54]
push edx
push 0
push esi
call fcn.004011e0
lea eax, [esp + 0x3c]
push 0x544fc8
push eax
mov dword [esp + 0x44], 0x530cf8
mov byte [esp + 0xf8], bl
call fcn.005153e4
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop