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

Disassembly:
sub esp, 0x38
push ebx
mov ebx, dword [esp + 0x48]
push esi
mov esi, dword [esp + 0x44]
test bl, 1
je 0x1002575a
push ebx
push str._zu_bytes_received__which_is_not_a_multiple_of_two.
push esi
push 1
call fcn.10028c10
add esp, 0x10
and ebx, 0xfffffffe
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x30], 0
test ebx, ebx
je 0x1002740f
push ebp
lea ebp, [esi + 0x508]
lea ebx, [esi + 4]
push edi
cmp dword [ebp], 0
mov edi, ebx
jne 0x100257b9
push 0x2c
push 1
call fcn.10091108
add esp, 8
test eax, eax
je 0x10027339
mov dword [eax + 0x18], 4
lea edi, [esi + 4]
mov dword [eax], 0xffffffff
mov dword [eax + 4], 0xffffffff
mov dword [eax + 8], 0xffffffff
mov dword [eax + 0xc], 0xffffffff
mov dword [ebp], eax
cmp dword [esi + 0x538], 0
lea eax, [esi + 0x538]
jne 0x10025825
movzx edi, word [ebx]
mov ebp, dword [esi + 0x5c]
test di, di
js 0x100273a5
test ebp, ebp
js 0x100273a5
push 0x41c
push 1
call fcn.10091108
add esp, 8
test eax, eax
je 0x10027374
mov dword [eax + 0xc], ebp
xor ecx, ecx
mov word [eax + 2], di
lea ebp, [esi + 0x538]
mov word [eax], cx
lea edi, [esi + 4]
mov dword [eax + 4], 8
mov dword [eax + 8], 4
mov dword [eax + 0x10], 0x80
mov dword [ebp], eax
jmp 0x1002582b
lea ebp, [esi + 0x538]
cmp dword [esi + 0x520], 0
jne 0x10025856
push dword [esi + 0x5c]
movzx eax, word [edi]
push eax
push 0x1000
call fcn.100128b0
add esp, 0xc
mov dword [esi + 0x520], eax
test eax, eax
je 0x100273c3
cmp dword [esi + 0x528], 0
jne 0x100258ba
movsx ecx, word [esi + 0x2a]
movsx eax, word [esi + 0x2c]
movzx edx, word [edi]
test ecx, ecx
jle 0x100273db
test eax, eax
jle 0x100273db
imul ecx, eax
xor eax, eax
test ecx, ecx
jle 0x100258a9
cmp dword [esi + 0x30], eax
push 8
setne al
lea eax, [eax*4 + 2]
imul eax, ecx
add eax, 0x24
push eax
push 2
push dword [esi + 0x5c]
push edx
push 8
call fcn.10023f70
add esp, 0x18
mov dword [esi + 0x528], eax
test eax, eax
je 0x100273e5
lea edi, [esi + 4]
cmp dword [esi + 0x530], 0
jne 0x100258e2
push dword [esi + 0x5c]
movzx eax, word [edi]
push eax
push 0x40
call fcn.10012800
add esp, 0xc
mov dword [esi + 0x530], eax
test eax, eax
je 0x100273fd
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x50]
mov byte [esp + 0x30], 0
mov byte [esp + 0x4c], 0
movzx ebx, word [eax + ecx]
test bx, bx
jns 0x10025967
mov ecx, dword [esi + 0x60]
and ebx, 0x7fff
mov edx, dword [esi + 0x68]
add ecx, ebx
mov edi, dword [esi + 0x14]
mov dword [esi + 0x64], edx
mov dword [esi + 0x68], ecx
cmp ecx, edx
jg 0x10025937
mov eax, edx
sub eax, ecx
push eax
movzx eax, byte [esi + 0x40]
push ecx
push edx
push str.Timestamps:_non_strictly_monotonic_timestamp_detected:_lastTimestamp_i__currentTimestamp_i__difference_i.
push eax
push edi
push 1
call fcn.10012ae0
mov ecx, dword [esi + 0x68]
add esp, 0x1c
mov eax, dword [esi + 0x518]
and eax, dword [esi + 0x51c]
cmp eax, 0xffffffff
jne 0x10026e3d
mov eax, dword [esi + 0x510]
dec eax
add eax, ecx
cdq
mov dword [esi + 0x518], eax
mov dword [esi + 0x51c], edx
jmp 0x10026e3d
mov eax, ebx
shr eax, 0xc
and eax, 0xffffff07
and ebx, 0xfff
mov ecx, ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], ecx
movzx eax, al
jmp dword [eax*4 + 0x10027418]
mov eax, dword [esi + 0x50c]
test eax, eax
jle 0x10026e6b
cmp dword [esi + 0x524], eax
jge 0x10026e67
cmp dword [esi + 0x53c], eax
jge 0x10026e67
cmp dword [esi + 0x52c], eax
jge 0x10026e67
cmp dword [esi + 0x534], eax
jl 0x10026e6b
mov bl, 1
jmp 0x10026e6d
xor bl, bl
mov eax, dword [esi + 0x5c]
cdq
mov edi, eax
mov ecx, edx
mov eax, dword [esi + 0x68]
shld ecx, edi, 0x1f
cdq
shl edi, 0x1f
or ecx, edx
or edi, eax
cmp ecx, dword [esi + 0x51c]
jl 0x10026e9d
jg 0x10026e96
cmp edi, dword [esi + 0x518]
jbe 0x10026e9d
mov eax, 1
jmp 0x10026e9f
xor eax, eax
mov bh, byte [esp + 0x30]
test bh, bh
jne 0x10026ec3
cmp byte [esp + 0x4c], bh
jne 0x10026ec3
test bl, bl
jne 0x10026ec3
test eax, eax
jne 0x10026ec3
lea ebx, [esi + 4]
lea ebp, [esi + 0x508]
jmp 0x1002731c
cmp dword [esi + 0x524], 0
lea ebp, [esi + 0x508]
mov byte [esp + 0x18], 1
jle 0x100271ba
mov eax, dword [ebp]
mov edx, dword [esi + 0x520]
test eax, eax
je 0x10026f18
mov ecx, dword [eax + 0x18]
cmp ecx, 1
jg 0x10026f0c
lea eax, [ecx - 1]
push eax
push 1
push str.Called_caerEventPacketContainerSetEventPacket___with_invalid_event_offset__i__while_maximum_allowed_value_is__i._Negative_values_are_not_allowed_
push str.EventPacket_Container
push 2
call sym.fppr9_x64_0404.dll_caerLog
add esp, 0x14
jmp 0x10026f18
push eax
mov dword [eax + 0x20], edx
call fcn.10012600
add esp, 4
cmp byte [esi + 0x74], 0
je 0x1002718a
cmp dword [esi + 0x78], 0
jne 0x10026f76
movzx eax, word [esi + 0x22]
push eax
movzx eax, word [esi + 0x20]
push eax
call sym.fppr9_x64_0404.dll_caerFilterDVSNoiseInitialize
add esp, 8
mov dword [esi + 0x78], eax
test eax, eax
je 0x10027186
push 0
push 0x3e8
push 2
push eax
call sym.fppr9_x64_0404.dll_caerFilterDVSNoiseConfigSet
push 0
push 0xf4240
push 1
push dword [esi + 0x78]
call sym.fppr9_x64_0404.dll_caerFilterDVSNoiseConfigSet
push 0
push 1
push 0
push dword [esi + 0x78]
call sym.fppr9_x64_0404.dll_caerFilterDVSNoiseConfigSet
add esp, 0x30
push dword [esi + 0x520]
push dword [esi + 0x78]
call sym.fppr9_x64_0404.dll_caerFilterDVSNoiseApply
lea eax, [esp + 0x48]
mov dword [esp + 0x48], 1
push eax
push 0
push dword [esi + 0x78]
mov dword [esp + 0x58], 0
call sym.fppr9_x64_0404.dll_caerFilterDVSNoiseConfigGet
mov eax, dword [esp + 0x54]
add esp, 0x14
or eax, dword [esp + 0x44]
jne 0x100271a1
lea eax, [esp + 0x14]
push eax
push dword [esi + 0x78]
call sym.fppr9_x64_0404.dll_caerFilterDVSNoiseGetHotPixels
mov edi, eax
add esp, 8
test edi, edi
js 0x10027186
cmp edi, 8
jle 0x10026fda
mov edi, 8
jmp 0x10026fe8
xor ebx, ebx
mov dword [esp + 0x34], ebx
test edi, edi
je 0x100270d0
xor ebx, ebx
nop word [eax + eax]
cmp byte [esi + 0x72], 0
mov eax, dword [esp + 0x14]
je 0x10027001
movzx eax, word [eax + ebx*4 + 2]
jmp 0x10027005
movzx eax, word [eax + ebx*4]
movzx ecx, ax
mov eax, ecx
mov byte [esp + 0x23], cl
shr eax, 0x18
mov byte [esp + 0x20], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x21], al
mov eax, ecx
shr eax, 8
lea ecx, [esp + 0x20]
mov byte [esp + 0x22], al
mov al, bl
push 0
push 0
add al, al
push 4
mov byte [esp + 0x1f], al
add al, 0xc
push ecx
movzx eax, al
push eax
push 1
push 0xbf
push dword [esi + 0x558]
call fcn.1002b5b0
mov eax, dword [esp + 0x34]
add esp, 0x20
cmp byte [esi + 0x72], 0
je 0x10027065
movzx eax, word [eax + ebx*4]
jmp 0x1002706a
movzx eax, word [eax + ebx*4 + 2]
movzx ecx, ax
mov eax, ecx
mov byte [esp + 0x27], cl
shr eax, 0x18
mov byte [esp + 0x24], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x25], al
mov eax, ecx
push 0
shr eax, 8
push 0
mov byte [esp + 0x2e], al
lea eax, [esp + 0x2c]
push 4
push eax
mov al, byte [esp + 0x23]
add al, 0xb
movzx eax, al
push eax
push 1
push 0xbf
push dword [esi + 0x558]
call fcn.1002b5b0
inc ebx
add esp, 0x20
cmp ebx, edi
jb 0x10026ff0
mov dword [esp + 0x34], ebx
cmp ebx, 8
jae 0x10027176
nop dword [eax]
movzx ecx, word [esi + 0x6e]
add bl, bl
mov eax, ecx
mov byte [esp + 0x2b], cl
shr eax, 0x18
mov byte [esp + 0x28], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x29], al
mov eax, ecx
push 0
shr eax, 8
push 0
mov byte [esp + 0x32], al
lea eax, [esp + 0x30]
push 4
push eax
mov al, bl
add al, 0xc
movzx eax, al
push eax
push 1
push 0xbf
push dword [esi + 0x558]
call fcn.1002b5b0
movzx ecx, word [esi + 0x70]
add bl, 0xb
mov eax, ecx
mov byte [esp + 0x4f], cl
shr eax, 0x18
mov byte [esp + 0x4c], al
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x4d], al
mov eax, ecx
push 0
push 0
shr eax, 8
push 4
mov byte [esp + 0x5a], al
lea eax, [esp + 0x58]
push eax
movzx eax, bl
push eax
push 1
push 0xbf
push dword [esi + 0x558]
call fcn.1002b5b0
mov ebx, dword [esp + 0x74]
add esp, 0x40
inc ebx
mov dword [esp + 0x34], ebx
cmp ebx, 8
jb 0x100270d0
push dword [esp + 0x14]
call fcn.1008de93
mov bh, byte [esp + 0x34]
add esp, 4
mov byte [esi + 0x74], 0
mov eax, dword [esi + 0x78]
test eax, eax
je 0x100271a1
push eax
call sym.fppr9_x64_0404.dll_caerFilterDVSNoiseDestroy
add esp, 4
mov dword [esi + 0x78], 0
mov dword [esi + 0x520], 0
mov dword [esi + 0x524], 0
mov byte [esp + 0x18], 0
cmp dword [esi + 0x53c], 0
jle 0x10027218
mov eax, dword [ebp]
mov edx, dword [esi + 0x538]
test eax, eax
je 0x100271ff
mov ecx, dword [eax + 0x18]
test ecx, ecx
jg 0x100271f3
lea eax, [ecx - 1]
push eax
push 0
push str.Called_caerEventPacketContainerSetEventPacket___with_invalid_event_offset__i__while_maximum_allowed_value_is__i._Negative_values_are_not_allowed_
push str.EventPacket_Container
push 2
call sym.fppr9_x64_0404.dll_caerLog
add esp, 0x14
jmp 0x100271ff
push eax
mov dword [eax + 0x1c], edx
call fcn.10012600
add esp, 4
mov dword [esi + 0x538], 0
mov dword [esi + 0x53c], 0
mov byte [esp + 0x18], 0
cmp dword [esi + 0x52c], 0
jle 0x10027277
mov eax, dword [ebp]
mov edx, dword [esi + 0x528]
test eax, eax
je 0x1002725e
mov ecx, dword [eax + 0x18]
cmp ecx, 2
jg 0x10027252
lea eax, [ecx - 1]
push eax
push 2
push str.Called_caerEventPacketContainerSetEventPacket___with_invalid_event_offset__i__while_maximum_allowed_value_is__i._Negative_values_are_not_allowed_
push str.EventPacket_Container
push 2
call sym.fppr9_x64_0404.dll_caerLog
add esp, 0x14
jmp 0x1002725e
push eax
mov dword [eax + 0x24], edx
call fcn.10012600
add esp, 4
mov dword [esi + 0x528], 0
mov dword [esi + 0x52c], 0
mov byte [esp + 0x18], 0
cmp dword [esi + 0x534], 0
jle 0x100272d6
mov eax, dword [ebp]
mov edx, dword [esi + 0x530]
test eax, eax
je 0x100272bd
mov ecx, dword [eax + 0x18]
cmp ecx, 3
jg 0x100272b1
lea eax, [ecx - 1]
push eax
push 3
push str.Called_caerEventPacketContainerSetEventPacket___with_invalid_event_offset__i__while_maximum_allowed_value_is__i._Negative_values_are_not_allowed_
push str.EventPacket_Container
push 2
call sym.fppr9_x64_0404.dll_caerLog
add esp, 0x14
jmp 0x100272bd
push eax
mov dword [eax + 0x28], edx
call fcn.10012600
add esp, 4
mov dword [esi + 0x530], 0
mov dword [esi + 0x534], 0
mov byte [esp + 0x18], 0
test bh, bh
jne 0x100272e0
cmp byte [esp + 0x4c], bh
je 0x100272ee
mov byte [esi + 0x83], 1
mov byte [esi + 0x4d4], 1
lea eax, [esi + 0x40]
push eax
push dword [esi + 0x14]
movzx eax, word [esi + 4]
lea ebx, [esi + 4]
push eax
push dword [esp + 0x64]
lea eax, [esi + 0x44]
push eax
push dword [esi + 0x68]
push dword [esi + 0x5c]
push dword [esp + 0x4c]
push dword [esp + 0x38]
push ebp
call fcn.10012b10
add esp, 0x28
mov eax, dword [esp + 0x38]
add eax, 2
mov dword [esp + 0x38], eax
cmp eax, dword [esp + 0x54]
jb 0x10025775
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x38
ret
call fcn.100910f5
push dword [eax]
push 4
push 0x2c
push str.Failed_to_allocate__zu_bytes_of_memory_for_Event_Packet_Container__containing__i_packets._Error:__d.
push str.EventPacket_Container
push 2
call sym.fppr9_x64_0404.dll_caerLog
push str.Failed_to_allocate_event_packet_container.
push esi
push 2
mov dword [ebp], 0
call fcn.10028c10
add esp, 0x24
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x38
ret
call fcn.100910f5
push dword [eax]
movsx eax, di
push eax
push 0x80
push 0
push 0x41c
push str.Failed_to_allocate__zu_bytes_of_memory_for_Event_Packet_of_type__hi__capacity__i_from_source__hi._Error:__d.
push str.Event_Packet
push 2
call sym.fppr9_x64_0404.dll_caerLog
add esp, 0x20
lea eax, [esi + 0x538]
push str.Failed_to_allocate_special_event_packet.
push esi
push 2
mov dword [eax], 0
call fcn.10028c10
add esp, 0xc
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x38
ret
push str.Failed_to_allocate_polarity_event_packet.
push esi
push 2
call fcn.10028c10
add esp, 0xc
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x38
ret
mov dword [esi + 0x528], 0
push str.Failed_to_allocate_frame_event_packet.
push esi
push 2
call fcn.10028c10
add esp, 0xc
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x38
ret
push str.Failed_to_allocate_IMU6_event_packet.
push esi
push 2
call fcn.10028c10
add esp, 0xc
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x38
ret