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

Disassembly:
push 0xffffffffffffffff
push 0x48a8cb
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 0x409543
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.0041a020
test al, al
je 0x4095f3
mov ecx, dword [ebp + 0x10]
cmp ecx, esi
je 0x4095f3
call fcn.0044b050
test eax, eax
je 0x4095f3
mov cl, byte [esp + 0x13]
push esi
mov byte [esp + 0x1c], cl
lea ecx, [esp + 0x1c]
call fcn.004024d0
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.00402900
test al, al
je 0x4095c0
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 0x4095d5
mov eax, 0x490148
mov ecx, dword [ebp + 0x10]
push 0
push eax
call fcn.00418a80
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x94], 0
call fcn.004024d0
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.00410450
test ax, ax
jne 0x409629
mov eax, dword [ebp + 0x1c]
mov esi, 4
mov byte [eax + 2], 0
mov ecx, dword [ebp + 0x1c]
mov byte [ecx + 3], 0
jmp 0x4096d1
lea ecx, [esp + 0x98]
call fcn.0040c460
mov edx, dword [ebp + 0x1c]
lea ecx, [esp + 0x98]
mov byte [edx + 2], al
call fcn.004120e0
lea ecx, [esp + 0x98]
movsx ebx, ax
call fcn.0040c470
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.004120e0
movsx esi, ax
lea ecx, [esp + 0x1c8]
add esi, 3
call fcn.00410450
mov ecx, dword [ebp + 0x1c]
inc esi
xor edi, edi
mov byte [ecx + esi - 1], al
lea ecx, [esp + 0x1c8]
call fcn.00410450
test ax, ax
jle 0x4096d1
mov edx, dword [ebp + 0x1c]
push 0x64
add edx, esi
lea ecx, [esp + 0x1cc]
push edx
call fcn.00410470
add esi, eax
lea ecx, [esp + 0x1c8]
inc edi
call fcn.00410450
movsx eax, ax
cmp edi, eax
jl 0x4096a7
mov al, byte [ebp + 4]
test al, al
je 0x40973a
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.0040fa90
lea ecx, [esp + 0x1c8]
mov dword [esp + 0x90], 0xffffffff
call fcn.0040fee0
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.0041dcd0
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.0041df00
mov ebp, dword [ebp + 0x18]
xor esi, esi
add ebp, 8
cmp eax, esi
mov dword [esp + 0x14], eax
movsx bx, byte [ebp]
je 0x40977e
cmp bx, si
je 0x409705
mov cl, byte [esp + 0x13]
push esi
mov byte [esp + 0x2c], cl
lea ecx, [esp + 0x2c]
call fcn.004024d0
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.00402900
test al, al
je 0x4097d8
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 0x409900
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.004024d0
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.00402900
test al, al
je 0x409847
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.004023b0
push 0xfffffffffffffff6
lea ecx, [esp + 0x84]
mov byte [esp + 0xb4], 2
call fcn.00417100
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.004024d0
mov eax, dword [0x49014c]
lea ecx, [esp + 0x40]
push eax
push 0
push edi
call fcn.0040f3e0
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.004024d0
mov edx, dword [0x49014c]
lea ecx, [esp + 0x50]
push edx
push 0
push esi
call fcn.0040f3e0
lea eax, [esp + 0x38]
push 0x495310
push eax
mov dword [esp + 0x40], 0x490168
mov byte [esp + 0x98], 4
call fcn.0047ef80
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.00402840
sub esp, 0x10
lea edx, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
mov byte [esp + 0xb4], 6
call fcn.004023b0
push ebx
lea ecx, [esp + 0x84]
mov byte [esp + 0xb4], 2
call fcn.00417100
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.004024d0
mov edx, dword [0x49014c]
lea ecx, [esp + 0x40]
push edx
push 0
push edi
call fcn.0040f3e0
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.004024d0
mov ecx, dword [0x49014c]
push ecx
push 0
push esi
lea ecx, [esp + 0x5c]
call fcn.0040f3e0
lea edx, [esp + 0x38]
push 0x495310
push edx
mov dword [esp + 0x40], 0x490168
mov byte [esp + 0x98], bl
call fcn.0047ef80
nop
nop
nop