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

Disassembly:
push 0xffffffffffffffff
push 0x49ed2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov al, byte [ebp + 4]
xor esi, esi
test al, al
mov dword [esp + 0x90], esi
mov dword [ebp + 0xc], esi
jne 0x478443
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
call fcn.00484620
test al, al
je 0x4784f3
mov ecx, dword [ebp + 0x10]
cmp ecx, esi
je 0x4784f3
call fcn.00482e30
test eax, eax
je 0x4784f3
mov cl, byte [esp + 0x13]
push esi
mov byte [esp + 0x1c], cl
lea ecx, [esp + 0x1c]
call fcn.00401bb0
mov edi, str.CCommWithEcu::SetAutoSendContinuedFrame_CFilterOrLengthRecognise_flrFilterCondition__CSendFrame_sfSendContinuedFrame_
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x1c]
push ebx
call fcn.0040aba0
test al, al
je 0x4784c0
mov edi, dword [esp + 0x1c]
mov ecx, ebx
mov edx, ecx
mov esi, str.CCommWithEcu::SetAutoSendContinuedFrame_CFilterOrLengthRecognise_flrFilterCondition__CSendFrame_sfSendContinuedFrame_
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 + 0x1c]
mov dword [esp + 0x20], ebx
mov byte [eax + ebx], 0
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x90], 1
test eax, eax
jne 0x4784d5
mov eax, 0x4a014c
mov ecx, dword [ebp + 0x10]
push 0
push eax
call fcn.004835e0
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x94], 0
call fcn.00401bb0
mov ecx, dword [ebp + 0x1c]
mov byte [ecx], 2
mov edx, dword [ebp + 0x1c]
lea ecx, [esp + 0x1c8]
mov byte [edx + 1], 0xe
call fcn.0047e2c0
test ax, ax
jne 0x478529
mov eax, dword [ebp + 0x1c]
mov esi, 4
mov byte [eax + 2], 0
mov ecx, dword [ebp + 0x1c]
mov byte [ecx + 3], 0
jmp 0x4785d1
lea ecx, [esp + 0x98]
call fcn.0047b370
mov edx, dword [ebp + 0x1c]
lea ecx, [esp + 0x98]
mov byte [edx + 2], al
call fcn.0047b360
lea ecx, [esp + 0x98]
movsx ebx, ax
call fcn.0047b380
mov edi, dword [ebp + 0x1c]
mov ecx, ebx
mov esi, eax
mov eax, ecx
add edi, 3
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x98]
call fcn.0047b360
movsx esi, ax
lea ecx, [esp + 0x1c8]
add esi, 3
call fcn.0047e2c0
mov ecx, dword [ebp + 0x1c]
inc esi
xor edi, edi
mov byte [ecx + esi - 1], al
lea ecx, [esp + 0x1c8]
call fcn.0047e2c0
test ax, ax
jle 0x4785d1
mov edx, dword [ebp + 0x1c]
push 0x64
add edx, esi
lea ecx, [esp + 0x1cc]
push edx
call fcn.0047e2e0
add esi, eax
lea ecx, [esp + 0x1c8]
inc edi
call fcn.0047e2c0
movsx eax, ax
cmp edi, eax
jl 0x4785a7
mov al, byte [ebp + 4]
test al, al
je 0x47863a
mov edi, dword [ebp + 0x1c]
add ebp, 0x20
add edi, esi
lea ecx, [esp + 0x18]
mov dword [ebp - 4], edi
mov eax, dword [ebp + 8]
push ecx
push 1
push eax
mov ecx, ebp
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 1
call fcn.0047db00
lea ecx, [esp + 0x1c8]
mov dword [esp + 0x90], 0xffffffff
call fcn.0047de50
mov ecx, dword [esp + 0x88]
pop edi
pop esi
pop ebp
xor ax, ax
mov dword fs:[0], ecx
pop ebx
add esp, 0x84
ret 0x140
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp]
push esi
push edx
call fcn.00484c00
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.00484e10
mov ebp, dword [ebp + 0x18]
xor esi, esi
add ebp, 8
cmp eax, esi
mov dword [esp + 0x14], eax
movsx bx, byte [ebp]
je 0x47867e
cmp bx, si
je 0x478605
mov cl, byte [esp + 0x13]
push esi
mov byte [esp + 0x2c], cl
lea ecx, [esp + 0x2c]
call fcn.00401bb0
mov edi, str.CFilterOrLengthRecognise_flrFilterCondition__CSendFrame_sfSendContinuedFrame
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x2c]
push ebp
call fcn.0040aba0
test al, al
je 0x4786d8
mov edi, dword [esp + 0x2c]
mov ecx, ebp
mov edx, ecx
mov esi, str.CFilterOrLengthRecognise_flrFilterCondition__CSendFrame_sfSendContinuedFrame
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 + 0x2c]
mov dword [esp + 0x30], ebp
xor esi, esi
mov byte [eax + ebp], 0
mov eax, dword [esp + 0x14]
mov byte [esp + 0x90], 2
cmp eax, esi
jne 0x478800
mov cl, byte [esp + 0x13]
sub esp, 0x10
mov ebp, esp
mov dword [esp + 0x24], esp
push esi
mov byte [ebp], cl
mov ecx, ebp
call fcn.00401bb0
mov edi, str.CCommWithEcu::SetAutoSendContinuedFrame__
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.0040aba0
test al, al
je 0x478747
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
mov esi, str.CCommWithEcu::SetAutoSendContinuedFrame__
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 + 0x48]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
mov byte [esp + 0xb4], 3
call fcn.0040a690
push 0xfffffffffffffff6
lea ecx, [esp + 0x84]
mov byte [esp + 0xb4], 2
call fcn.00481f40
mov esi, eax
mov cx, word [esi + 4]
lea edi, [esi + 8]
mov word [esp + 0x3c], cx
push 0
mov dl, byte [edi]
lea ecx, [esp + 0x44]
mov byte [esp + 0x94], 4
mov byte [esp + 0x44], dl
call fcn.00401bb0
mov eax, dword [0x4a0148]
lea ecx, [esp + 0x40]
push eax
push 0
push edi
call fcn.0040a8e0
mov cl, byte [esi + 0x18]
add esi, 0x18
mov byte [esp + 0x50], cl
push 0
lea ecx, [esp + 0x54]
mov byte [esp + 0x94], 5
call fcn.00401bb0
mov edx, dword [0x4a0148]
lea ecx, [esp + 0x50]
push edx
push 0
push esi
call fcn.0040a8e0
lea eax, [esp + 0x38]
push 0x4abb48
push eax
mov dword [esp + 0x40], 0x4a0270
mov byte [esp + 0x98], 4
call fcn.0048e553
mov cl, byte [esp + 0x13]
sub esp, 0x10
mov edx, esp
mov edi, str.CCommWithEcu::SetAutoSendContinuedFrame__
xor eax, eax
mov dword [esp + 0x28], esp
mov byte [edx], cl
or ecx, 0xffffffff
mov dword [edx + 4], esi
mov dword [edx + 8], esi
mov dword [edx + 0xc], esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.CCommWithEcu::SetAutoSendContinuedFrame__
mov ecx, edx
call fcn.00418330
sub esp, 0x10
lea edx, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
mov byte [esp + 0xb4], 6
call fcn.0040a690
push ebx
lea ecx, [esp + 0x84]
mov byte [esp + 0xb4], 2
call fcn.00481f40
mov esi, eax
mov ax, word [esi + 4]
lea edi, [esi + 8]
mov word [esp + 0x3c], ax
mov bl, 7
mov cl, byte [edi]
push 0
mov byte [esp + 0x44], cl
lea ecx, [esp + 0x44]
mov byte [esp + 0x94], bl
call fcn.00401bb0
mov edx, dword [0x4a0148]
lea ecx, [esp + 0x40]
push edx
push 0
push edi
call fcn.0040a8e0
mov al, byte [esi + 0x18]
add esi, 0x18
push 0
lea ecx, [esp + 0x54]
mov byte [esp + 0x94], 8
mov byte [esp + 0x54], al
call fcn.00401bb0
mov ecx, dword [0x4a0148]
push ecx
push 0
push esi
lea ecx, [esp + 0x5c]
call fcn.0040a8e0
lea edx, [esp + 0x38]
push 0x4abb48
push edx
mov dword [esp + 0x40], 0x4a0270
mov byte [esp + 0x98], bl
call fcn.0048e553
nop
nop
nop