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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea ecx, [ebp - 0x58]
push ebx
sub esp, 0x33c
mov eax, dword [method.QVariant.QVariant_char_const_]
mov dword [esp], 0x4be420
mov dword [ebp - 0x2a0], eax
call eax
lea ecx, [ebp - 0x58]
mov esi, dword [method.QVariant.QVariant__]
sub esp, 4
call esi
mov eax, dword [sym.imp.Qt5Core.dll_QArrayData::shared_null]
mov dword [ebp - 0x284], eax
mov eax, dword [0x519e68]
test eax, eax
je 0x456d90
mov edi, dword [0x519e60]
test edi, edi
cmovne eax, edi
mov dword [ebp - 0x29c], eax
xor eax, eax
mov ecx, 0x10
lea edi, [ebp - 0x98]
rep stosd dword es:[edi], eax
mov ecx, 0x10
lea edi, [ebp - 0x58]
lea ebx, [ebp - 0x284]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
lea eax, [ebp - 0x98]
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
movzx eax, byte [ebp - 0x94]
add al, byte [ebp - 0x95]
mov byte [ebp - 0x28d], 0
mov dword [ebp - 0x298], 0
add al, byte [ebp - 0x93]
mov dword [ebp - 0x294], 0
add al, byte [ebp - 0x92]
mov dword [ebp - 0x2ac], 0
add al, byte [ebp - 0x91]
mov dword [ebp - 0x2a8], 0
add al, byte [ebp - 0x90]
xor eax, 0x66
mov byte [ebp - 0x96], al
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
lea eax, [ebp - 0x97]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x29c]
mov dword [esp], eax
call sub.hidapi.dll_hid_write
mov dword [ebp - 0x2a4], eax
movzx eax, byte [ebp - 0x77]
mov dword [esp + 0x8c], eax
movzx eax, byte [ebp - 0x78]
mov dword [esp + 0x88], eax
movzx eax, byte [ebp - 0x79]
mov dword [esp + 0x84], eax
movzx eax, byte [ebp - 0x7a]
mov dword [esp + 0x80], eax
movzx eax, byte [ebp - 0x7b]
mov dword [esp + 0x7c], eax
movzx eax, byte [ebp - 0x7c]
mov dword [esp + 0x78], eax
movzx eax, byte [ebp - 0x7d]
mov dword [esp + 0x74], eax
movzx eax, byte [ebp - 0x7e]
mov dword [esp + 0x70], eax
movzx eax, byte [ebp - 0x7f]
mov dword [esp + 0x6c], eax
movzx eax, byte [ebp - 0x80]
mov dword [esp + 0x68], eax
movzx eax, byte [ebp - 0x81]
mov dword [esp + 0x64], eax
movzx eax, byte [ebp - 0x82]
mov dword [esp + 0x60], eax
movzx eax, byte [ebp - 0x83]
mov dword [esp + 0x5c], eax
movzx eax, byte [ebp - 0x84]
mov dword [esp + 0x58], eax
movzx eax, byte [ebp - 0x85]
mov dword [esp + 0x54], eax
movzx eax, byte [ebp - 0x86]
mov dword [esp + 0x50], eax
movzx eax, byte [ebp - 0x87]
mov dword [esp + 0x4c], eax
movzx eax, byte [ebp - 0x88]
mov dword [esp + 0x48], eax
movzx eax, byte [ebp - 0x89]
mov dword [esp + 0x44], eax
movzx eax, byte [ebp - 0x8a]
mov dword [esp + 0x40], eax
movzx eax, byte [ebp - 0x8b]
mov dword [esp + 0x3c], eax
movzx eax, byte [ebp - 0x8c]
mov dword [esp + 0x38], eax
movzx eax, byte [ebp - 0x8d]
mov dword [esp + 0x34], eax
movzx eax, byte [ebp - 0x8e]
mov dword [esp + 0x30], eax
movzx eax, byte [ebp - 0x8f]
mov dword [esp + 0x2c], eax
movzx eax, byte [ebp - 0x90]
mov dword [esp + 0x28], eax
movzx eax, byte [ebp - 0x91]
mov dword [esp + 0x24], eax
movzx eax, byte [ebp - 0x92]
mov dword [esp + 0x20], eax
movzx eax, byte [ebp - 0x93]
mov dword [esp + 0x1c], eax
movzx eax, byte [ebp - 0x94]
mov dword [esp + 0x18], eax
movzx eax, byte [ebp - 0x95]
mov dword [esp + 0x14], eax
movzx eax, byte [ebp - 0x96]
mov dword [esp + 0x10], eax
movzx eax, byte [ebp - 0x97]
mov edi, dword [ebp + 0xc]
mov dword [esp + 4], str.hid_write_length_d_data_02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x
mov dword [esp + 0xc], eax
mov dword [esp + 8], edi
mov edi, dword [method.QString.sprintf_char_const__..._]
mov dword [esp], ebx
mov dword [ebp - 0x28c], edi
call edi
mov dword [esp], ebx
lea ecx, [ebp - 0x250]
mov edi, dword [method.QVariant.QVariant_QString_const_]
call edi
sub esp, 4
lea ecx, [ebp - 0x250]
call esi
mov eax, dword [ebp - 0x2a4]
test eax, eax
js 0x456f2b
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp], 0xa
mov dword [ebp - 0x2a4], eax
call eax
sub esp, 4
movzx eax, byte [ebp - 0x94]
cmp al, 0xa
setbe cl
cmp al, 0x46
sete dl
or cl, dl
jne 0x456991
cmp al, 0x40
jne 0x456cd0
mov dword [esp], str.hid_read
lea ecx, [ebp - 0x210]
mov eax, dword [ebp - 0x2a0]
call eax
sub esp, 4
lea ecx, [ebp - 0x210]
call esi
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xc], 0x96
mov dword [esp + 8], eax
lea eax, [ebp - 0x57]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x29c]
mov dword [esp], eax
call sub.hidapi.dll_hid_read_timeout
test eax, eax
js 0x456c34
movzx eax, byte [ebp - 0x37]
mov dword [esp + 0x8c], eax
movzx eax, byte [ebp - 0x38]
mov dword [esp + 0x88], eax
movzx eax, byte [ebp - 0x39]
mov dword [esp + 0x84], eax
movzx eax, byte [ebp - 0x3a]
mov dword [esp + 0x80], eax
movzx eax, byte [ebp - 0x3b]
mov dword [esp + 0x7c], eax
movzx eax, byte [ebp - 0x3c]
mov dword [esp + 0x78], eax
movzx eax, byte [ebp - 0x3d]
mov dword [esp + 0x74], eax
movzx eax, byte [ebp - 0x3e]
mov dword [esp + 0x70], eax
movzx eax, byte [ebp - 0x3f]
mov dword [esp + 0x6c], eax
movzx eax, byte [ebp - 0x40]
mov dword [esp + 0x68], eax
movzx eax, byte [ebp - 0x41]
mov dword [esp + 0x64], eax
movzx eax, byte [ebp - 0x42]
mov dword [esp + 0x60], eax
movzx eax, byte [ebp - 0x43]
mov dword [esp + 0x5c], eax
movzx eax, byte [ebp - 0x44]
mov dword [esp + 0x58], eax
movzx eax, byte [ebp - 0x45]
mov dword [esp + 0x54], eax
movzx eax, byte [ebp - 0x46]
mov dword [esp + 0x50], eax
movzx eax, byte [ebp - 0x47]
mov dword [esp + 0x4c], eax
movzx eax, byte [ebp - 0x48]
mov dword [esp + 0x48], eax
movzx eax, byte [ebp - 0x49]
mov dword [esp + 0x44], eax
movzx eax, byte [ebp - 0x4a]
mov dword [esp + 0x40], eax
movzx eax, byte [ebp - 0x4b]
mov dword [esp + 0x3c], eax
movzx eax, byte [ebp - 0x4c]
mov dword [esp + 0x38], eax
movzx eax, byte [ebp - 0x4d]
mov dword [esp + 0x34], eax
movzx eax, byte [ebp - 0x4e]
mov dword [esp + 0x30], eax
movzx eax, byte [ebp - 0x4f]
mov dword [esp + 0x2c], eax
movzx eax, byte [ebp - 0x50]
mov dword [esp + 0x28], eax
movzx eax, byte [ebp - 0x51]
mov dword [esp + 0x24], eax
movzx eax, byte [ebp - 0x52]
mov dword [esp + 0x20], eax
movzx eax, byte [ebp - 0x53]
mov dword [esp + 0x1c], eax
movzx eax, byte [ebp - 0x54]
mov dword [esp + 0x18], eax
movzx eax, byte [ebp - 0x55]
mov dword [esp + 0x14], eax
movzx eax, byte [ebp - 0x56]
mov dword [esp + 0x10], eax
movzx eax, byte [ebp - 0x57]
mov dword [esp + 4], str.hid_read_length_d_data_02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x__02x
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], ebx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x28c]
call eax
mov dword [esp], ebx
lea ecx, [ebp - 0x190]
call edi
sub esp, 4
lea ecx, [ebp - 0x190]
call esi
movzx eax, byte [ebp - 0x57]
or al, byte [ebp - 0x56]
or al, byte [ebp - 0x55]
or al, byte [ebp - 0x54]
or al, byte [ebp - 0x53]
or al, byte [ebp - 0x52]
or al, byte [ebp - 0x51]
or al, byte [ebp - 0x50]
jne 0x456b80
add dword [ebp - 0x2ac], 1
mov eax, dword [ebp - 0x2ac]
cmp eax, 5
jle 0x4570ed
mov dword [esp], str.0______________________________________
lea ecx, [ebp - 0x170]
mov eax, dword [ebp - 0x2a0]
call eax
sub esp, 4
lea ecx, [ebp - 0x170]
call esi
jmp 0x456bb0
cmp byte [ebp - 0x94], 0xa
ja 0x456cc0
mov dword [esp + 8], 1
lea eax, [ebp - 0x58]
mov dword [esp + 4], eax
lea eax, [ebp - 0x98]
mov dword [esp], eax
call fcn.00456600
mov byte [ebp - 0x28d], al
cmp byte [ebp - 0x28d], 2
je 0x456e10
cmp byte [ebp - 0x28d], 1
jne 0x456cd0
add dword [ebp - 0x294], 1
mov eax, dword [ebp - 0x294]
cmp eax, 0x13
jg 0x456e62
mov dword [esp], 0x32
mov eax, dword [ebp - 0x2a4]
call eax
mov eax, dword [ebp - 0x2a8]
sub esp, 4
mov dword [esp + 4], 0x4be7ec
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x28c]
mov dword [esp], ebx
call eax
mov dword [esp], ebx
lea ecx, [ebp - 0x120]
call edi
sub esp, 4
lea ecx, [ebp - 0x120]
call esi
mov dword [ebp - 0x2ac], 0
jmp 0x456974
mov eax, dword [ebp - 0x298]
mov edx, dword [ebp - 0x28c]
mov dword [esp], ebx
mov dword [esp + 4], str.hid_read__d
mov dword [esp + 8], eax
call edx
mov dword [esp], ebx
lea ecx, [ebp - 0x200]
call edi
sub esp, 4
lea ecx, [ebp - 0x200]
call esi
add dword [ebp - 0x298], 1
mov eax, dword [ebp - 0x298]
cmp eax, 0x1d
jg 0x456eb4
mov dword [esp], 0x32
mov eax, dword [ebp - 0x2a4]
call eax
sub esp, 4
mov edx, dword [ebp - 0x28c]
mov dword [esp + 4], 0x4be5e6
mov dword [esp], ebx
call edx
mov dword [esp], ebx
lea ecx, [ebp - 0x1f0]
call edi
sub esp, 4
lea ecx, [ebp - 0x1f0]
call esi
jmp 0x456974
mov dword [esp + 8], 0
jmp 0x456b95
mov dword [esp], str.______________________________________
lea ecx, [ebp - 0xd0]
mov edi, dword [ebp - 0x2a0]
call edi
sub esp, 4
lea ecx, [ebp - 0xd0]
call esi
mov dword [esp], 0x4be499
lea ecx, [ebp - 0xc0]
call edi
sub esp, 4
lea ecx, [ebp - 0xc0]
call esi
mov dword [esp], 0x4be499
lea ecx, [ebp - 0xb0]
call edi
sub esp, 4
lea ecx, [ebp - 0xb0]
call esi
mov byte [ebp - 0x28d], 0
mov eax, dword [ebp - 0x284]
mov edx, dword [eax]
test edx, edx
je 0x456d60
cmp edx, 0xffffffff
je 0x456d48
lock sub dword [eax], 1
mov eax, dword [ebp - 0x284]
je 0x456d60
movzx eax, byte [ebp - 0x28d]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], eax
mov dword [esp + 8], 4
mov dword [esp + 4], 2
call dword [method.QArrayData.deallocate_QArrayData__unsigned_int__unsigned_int_]
movzx eax, byte [ebp - 0x28d]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [0x519e60]
mov dword [ebp - 0x29c], eax
test eax, eax
jne 0x4566fa
mov dword [esp], 0x4be454
lea ebx, [ebp - 0x284]
lea ecx, [ebp - 0x280]
mov edi, dword [ebp - 0x2a0]
call edi
sub esp, 4
lea ecx, [ebp - 0x280]
call esi
mov dword [esp], 0x4be499
lea ecx, [ebp - 0x270]
call edi
sub esp, 4
lea ecx, [ebp - 0x270]
call esi
mov dword [esp], 0x4be499
lea ecx, [ebp - 0x260]
call edi
sub esp, 4
lea ecx, [ebp - 0x260]
call esi
mov byte [ebp - 0x28d], 1
jmp 0x456d2b
add dword [ebp - 0x2a8], 1
mov eax, dword [ebp - 0x2a8]
cmp eax, 2
jg 0x456fd4
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x28c]
mov dword [esp + 4], 0x4be778
mov dword [esp], ebx
call eax
mov dword [esp], ebx
lea ecx, [ebp - 0x160]
call edi
sub esp, 4
lea ecx, [ebp - 0x160]
call esi
mov dword [ebp - 0x2ac], 0
jmp 0x456795
add dword [ebp - 0x2a8], 1
mov eax, dword [ebp - 0x2a8]
cmp eax, 2
jg 0x45702d
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x28c]
mov dword [esp + 4], str.__d
mov dword [esp], ebx
call eax
mov dword [esp], ebx
lea ecx, [ebp - 0x110]
call edi
sub esp, 4
lea ecx, [ebp - 0x110]
call esi
mov dword [ebp - 0x2ac], 0
jmp 0x456795
mov eax, dword [ebp - 0x2a8]
mov edx, dword [ebp - 0x28c]
mov dword [esp], ebx
mov dword [esp + 4], 0x4be5f0
mov dword [esp + 8], eax
call edx
mov dword [esp], ebx
lea ecx, [ebp - 0x1e0]
call edi
sub esp, 4
lea ecx, [ebp - 0x1e0]
call esi
add dword [ebp - 0x2a8], 1
mov eax, dword [ebp - 0x2a8]
cmp eax, 2
jg 0x45708d
mov dword [esp + 4], 0x4be5fd
mov edx, dword [ebp - 0x28c]
mov dword [esp], ebx
call edx
mov dword [esp], ebx
lea ecx, [ebp - 0x1d0]
call edi
sub esp, 4
lea ecx, [ebp - 0x1d0]
call esi
jmp 0x456795
lea eax, [ebp - 0xb0]
mov dword [ebp - 0xb0], 2
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0x4be2a0
mov dword [esp + 4], 0x4be55c
mov dword [esp], eax
call dword [method.QMessageLogger.debug_char_const__...__const]
mov dword [esp], str.hid_write______________________________________
lea ecx, [ebp - 0x240]
mov edi, dword [ebp - 0x2a0]
call edi
sub esp, 4
lea ecx, [ebp - 0x240]
call esi
mov dword [esp], 0x4be499
lea ecx, [ebp - 0x230]
call edi
sub esp, 4
lea ecx, [ebp - 0x230]
call esi
mov dword [esp], 0x4be499
lea ecx, [ebp - 0x220]
call edi
sub esp, 4
lea ecx, [ebp - 0x220]
call esi
mov byte [ebp - 0x28d], 4
jmp 0x456d2b
mov dword [esp], 0x4be7a0
lea ecx, [ebp - 0x150]
mov edi, dword [ebp - 0x2a0]
call edi
sub esp, 4
lea ecx, [ebp - 0x150]
call esi
mov dword [esp], 0x4be499
lea ecx, [ebp - 0x140]
call edi
sub esp, 4
lea ecx, [ebp - 0x140]
call esi
mov dword [esp], 0x4be499
lea ecx, [ebp - 0x130]
call edi
sub esp, 4
lea ecx, [ebp - 0x130]
call esi
jmp 0x456d2b
mov dword [esp], 0x4be83c
lea ecx, [ebp - 0x100]
mov edi, dword [ebp - 0x2a0]
call edi
sub esp, 4
lea ecx, [ebp - 0x100]
call esi
mov dword [esp], 0x4be499
lea ecx, [ebp - 0xf0]
call edi
sub esp, 4
lea ecx, [ebp - 0xf0]
call esi
mov dword [esp], 0x4be499
lea ecx, [ebp - 0xe0]
call edi
sub esp, 4
lea ecx, [ebp - 0xe0]
call esi
mov byte [ebp - 0x28d], 2
jmp 0x456d2b
mov dword [esp], 0x4be608
lea ecx, [ebp - 0x1c0]
mov edi, dword [ebp - 0x2a0]
call edi
sub esp, 4
lea ecx, [ebp - 0x1c0]
call esi
mov dword [esp], 0x4be499
lea ecx, [ebp - 0x1b0]
call edi
sub esp, 4
lea ecx, [ebp - 0x1b0]
call esi
mov dword [esp], 0x4be499
lea ecx, [ebp - 0x1a0]
call edi
sub esp, 4
lea ecx, [ebp - 0x1a0]
call esi
mov byte [ebp - 0x28d], 2
jmp 0x456d2b
mov dword [esp], str.0
lea ecx, [ebp - 0x180]
mov eax, dword [ebp - 0x2a0]
call eax
sub esp, 4
lea ecx, [ebp - 0x180]
call esi
jmp 0x456795