Function at 0x441060
Capabilities:
Create thread
Encode data using xor
Get hostname
Hash data with crc32
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x284
mov eax, dword [0x4ff004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x100
push 0xd46dc0
mov dword [ebp - 0x284], ecx
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jns 0x4410eb
test byte [0xd46d80], 2
jne 0x4410c9
push str._n
push 2
call fcn.0044c738
add esp, 4
push eax
call fcn.00409510
add esp, 8
push 0x4f97b0
push 2
call fcn.0044c738
add esp, 4
push eax
call fcn.00409510
add esp, 8
push 0x4f8258
push str.Unable_to_get_host_name__v_s__n
push 2
call fcn.0044c738
add esp, 4
push eax
call fcn.00409510
add esp, 0xc
jmp 0x441415
mov ecx, 0xd46dc0
mov dword [ebp - 0x278], 0x67452301
mov dword [ebp - 0x274], 0xefcdab89
mov dword [ebp - 0x270], 0x98badcfe
mov dword [ebp - 0x26c], 0x10325476
mov dword [ebp - 0x268], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x264], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x441130
sub ecx, edx
mov edx, 0xd46dc0
movzx eax, cx
lea ecx, [ebp - 0x278]
push eax
call fcn.00412fa0
add esp, 4
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x278]
call fcn.00413080
push 1
push 5
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x10]
call fcn.00411cd0
add esp, 8
xor esi, esi
cmp esi, 0x14
jae 0x441181
inc esi
cmp byte [esi + str.VIRTHUB0_], 0
jne 0x441172
lea eax, [esi + 1]
cmp eax, 0x14
jbe 0x4411b5
push 0x14a
push str.ymemory
push str.YPANIC:_s:_d_n
push 0x14a
push str.ymemory
call fcn.00409950
add esp, 0x14
mov byte [0x500b70], 0
xor ecx, ecx
jmp 0x4411ef
push esi
push str.VIRTHUB0_
push 0x500b70
call fcn.00444290
xor ecx, ecx
mov byte [esi + 0x500b70], 0
add esp, 0xc
cmp byte [0x500b70], cl
je 0x4411ef
nop dword [eax]
cmp ecx, 0x14
jae 0x4411ef
inc ecx
cmp byte [ecx + 0x500b70], 0
jne 0x4411e0
lea eax, [ecx + 1]
cmp eax, 0x14
jbe 0x44121a
push 0x162
push str.ymemory
push str.YPANIC:_s:_d_n
push 0x162
push str.ymemory
call fcn.00409950
add esp, 0x14
jmp 0x441235
lea eax, [ebp - 0x10]
mov edx, 0x14
push 0x14
sub edx, ecx
lea ecx, [ecx + 0x500b70]
push eax
call fcn.0041c8a0
add esp, 8
mov al, byte [0xd46dc0]
mov ecx, 0xd470e4
mov esi, 0xd46dc0
test al, al
je 0x441265
xor edx, edx
nop word [eax + eax]
cmp al, 0x2e
je 0x441265
mov byte [ecx], al
inc edx
inc ecx
cmp edx, 0x13
jge 0x441265
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x441250
push 0x18
mov byte [ecx], 0
call fcn.00449be3
mov esi, eax
add esp, 4
xorps xmm0, xmm0
movups xmmword [esi], xmm0
push esi
movq qword [esi + 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push esi
mov dword [0xd4c6ac], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x8000
call fcn.00449be3
add esp, 4
mov dword [0xd4c6b4], eax
mov dword [0xd4c6c0], 0x8000
mov dword [0xd4c6d0], 0
mov dword [0xd4c6c4], eax
push 0x18
mov dword [0xd4c6cc], eax
mov dword [0xd4c6c8], eax
call fcn.00449be3
mov esi, eax
add esp, 4
xorps xmm0, xmm0
movups xmmword [esi], xmm0
push esi
movq qword [esi + 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push dword [0xd4c6ac]
mov dword [0xd4c6d0], esi
mov dword [0xd4c6b0], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push str.Sep_30_2024
push str.1.10.62824
push str.VirtualHub
push str.Yoctopuce__s__s__dated__s__n
call fcn.004362a0
push 0x500b70
push str.Serial_is__s_n
call fcn.004362a0
add esp, 0x18
lea edx, [ebp - 0x120]
mov ecx, 1
call fcn.00405ac0
test eax, eax
jns 0x44146d
test byte [0xd46d80], 2
jne 0x44137e
push str._n
push 2
call fcn.0044c738
add esp, 4
push eax
call fcn.00409510
add esp, 8
push 0x4f97b0
push 2
call fcn.0044c738
add esp, 4
push eax
call fcn.00409510
add esp, 8
push str.Yoctopuce_API_initialization_failed_:_n
push 2
call fcn.0044c738
add esp, 4
push eax
call fcn.00409510
add esp, 8
push 0x4f97b0
push 2
call fcn.0044c738
add esp, 4
push eax
call fcn.00409510
add esp, 8
lea eax, [ebp - 0x120]
push eax
push 0x4f812c
push 2
call fcn.0044c738
add esp, 4
push eax
call fcn.00409510
add esp, 0xc
push 0x4f97b0
push 2
call fcn.0044c738
add esp, 4
push eax
call fcn.00409510
add esp, 8
push str.Make_sure_there_is_no_other_process_using_n
push 2
call fcn.0044c738
add esp, 4
push eax
call fcn.00409510
add esp, 8
push str.local_Yoctopuce_devices_n
push 2
call fcn.0044c738
add esp, 4
push eax
call fcn.00409510
add esp, 8
test byte [0xd46d80], 2
jne 0x441459
push 0x4f97b0
push 2
call fcn.0044c738
add esp, 4
push eax
call fcn.00409510
add esp, 8
push str._n
push 2
call fcn.0044c738
add esp, 4
push eax
call fcn.00409510
add esp, 8
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004423fe
mov esp, ebp
pop ebp
ret
mov eax, dword [0x500b60]
test eax, eax
jne 0x44148c
lea edx, [ebp - 0x220]
xor ecx, ecx
call fcn.00405ac0
mov eax, dword [0x500b60]
test eax, eax
je 0x4414b3
push dword [eax + 0x3818]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x500b60]
mov dword [eax + 0x3e28], 0x441000
push dword [eax + 0x3818]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x4f8268]
movups xmm0, xmmword [0x4f8258]
mov dword [0x4ffc20], eax
movzx eax, word [0x4f826c]
mov word [0x4ffc24], ax
push 0x18
movups xmmword [str.Sep_30_2024_18:11:20], xmm0
mov byte [0x4ffc25], 0
call fcn.00449be3
mov esi, eax
add esp, 4
xorps xmm0, xmm0
movups xmmword [esi], xmm0
push esi
movq qword [esi + 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x170
push 0
push 0xd46f40
mov dword [0x542128], esi
call fcn.00443620
add esp, 0xc
push 0x2000
push 0xff
push 0xd49820
call fcn.00443620
mov ecx, dword [0x4ffa84]
xor eax, eax
mov word [0xd46f02], ax
add esp, 0xc
movzx eax, word [0x4ffad8]
shr ax, 7
movzx eax, ax
mov dword [ebp - 0x27c], eax
test ecx, ecx
je 0x441579
mov dx, ax
nop word [eax + eax]
mov eax, dword [ecx + 0x14]
mov word [eax + 2], dx
mov ax, word [ecx + 8]
mov ecx, dword [ecx + 0xc]
shr ax, 7
add dx, ax
test ecx, ecx
jne 0x441560
xor edi, edi
mov dword [ebp - 0x27c], 0x100
mov ebx, 0x541920
nop word [eax + eax]
mov eax, edi
mov esi, 8
mov edx, eax
mov ecx, eax
shr edx, 1
mov eax, edx
xor eax, 0xedb88320
and cl, 1
cmove eax, edx
sub esi, 1
jne 0x441597
mov dword [ebx], eax
inc edi
add ebx, 4
sub dword [ebp - 0x27c], 1
jne 0x441590
call fcn.00408c40
mov edx, dword [0x4ffdf0]
mov edi, 8
mov dword [ebp - 0x27c], esi
lea esi, [ebp - 0x280]
mov dword [ebp - 0x280], eax
movzx eax, byte [esi]
lea esi, [esi + 1]
mov ecx, edx
shr edx, 8
xor ecx, eax
movzx eax, cl
xor edx, dword [eax*4 + 0x541920]
sub edi, 1
jne 0x4415e0
test edx, edx
mov eax, 0x12d35cc
push 0x800000
cmove edx, eax
push 0xff
push 0x546b20
mov dword [0x4ffdf0], edx
call fcn.00443620
add esp, 0xc
push 0x8fdd4
push str.YFS3
push 0x746b20
call fcn.00444290
add esp, 0xc
mov ecx, 0x81ee
call fcn.0043a070
call fcn.00421050
xorps xmm0, xmm0
mov dword [0xd47620], edi
movups xmmword [0xd47628], xmm0
mov ebx, 0xc0
mov dword [0xd47638], edi
push 0x18
mov dword [0xd4762c], 0xd47650
mov word [0xd47628], bx
mov dword [0xd47634], 0xd47650
mov dword [0xd47630], 0xd47650
call fcn.00449be3
mov esi, eax
add esp, 4
xorps xmm0, xmm0
movups xmmword [esi], xmm0
push esi
movq qword [esi + 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xorps xmm0, xmm0
mov dword [0xd4764c], edi
movups xmmword [0xd4763c], xmm0
mov edi, 0xfff
mov dword [0xd47638], esi
push 0x18
mov dword [0xd47640], 0xd47710
mov word [0xd4763c], di
mov dword [0xd47648], 0xd47710
mov dword [0xd47644], 0xd47710
call fcn.00449be3
mov esi, eax
add esp, 4
xorps xmm0, xmm0
movups xmmword [esi], xmm0
push esi
movq qword [esi + 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xorps xmm0, xmm0
mov dword [0xd4764c], esi
movups xmmword [0xd48728], xmm0
push 0x18
mov dword [0xd48720], 0
mov dword [0xd48738], 0
mov dword [0xd4872c], 0xd48750
mov word [0xd48728], bx
mov dword [0xd48734], 0xd48750
mov dword [0xd48730], 0xd48750
call fcn.00449be3
mov esi, eax
add esp, 4
xorps xmm0, xmm0
movups xmmword [esi], xmm0
push esi
movq qword [esi + 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xorps xmm0, xmm0
mov dword [0xd48738], esi
movups xmmword [0xd4873c], xmm0
push 0x18
mov dword [0xd4874c], 0
mov dword [0xd48740], 0xd48810
mov word [0xd4873c], di
mov dword [0xd48748], 0xd48810
mov dword [0xd48744], 0xd48810
call fcn.00449be3
mov esi, eax
add esp, 4
xorps xmm0, xmm0
movups xmmword [esi], xmm0
push esi
movq qword [esi + 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea ecx, [ebx + 0x30]
mov dword [0xd4874c], esi
call fcn.0041e640
mov esi, 0xfbff
mov dword [0xd50ae4], eax
and word [0xd50bea], si
lea ecx, [ebx + 0x31]
or edi, 0xffffffff
mov dword [0xd50ae0], 0
mov dword [0xd50afc], 0
mov byte [0xd50bdc], 0xff
mov dword [0xd50b0c], 0
mov byte [0xd50bf4], 0
mov word [0xd50bee], di
mov byte [0xd50bed], 2
call fcn.0041e640
and word [0xd50d92], si
push 0x12c0
push 0
push 0xd76580
mov dword [0xd50c8c], eax
mov dword [0xd50c88], 0
mov dword [0xd50ca4], 0
mov byte [0xd50d84], 0xff
mov dword [0xd50cb4], 0
mov byte [0xd50d9c], 0
mov word [0xd50d96], di
mov byte [0xd50d95], 2
call fcn.00443620
add esp, 0xc
push 0xcb58
push 0
push 0xd69a20
call fcn.00443620
add esp, 0xc
mov eax, 0xd76584
mov ecx, 0xf0
nop word [eax + eax]
mov dword [eax], 0xffffffff
lea eax, [eax + 0x14]
mov dword [eax - 0x10], 0xffffffff
sub ecx, 1
jne 0x4418b0
mov eax, 0xd50ae8
mov ecx, 0xf1
nop
mov dword [eax], 0xffffffff
lea eax, [eax + 0x1a8]
sub ecx, 1
jne 0x4418d0
mov eax, 0xd50e34
mov ecx, 0xef
nop dword [eax + eax]
mov dword [eax], 0xffffffff
lea eax, [eax + 0x1a8]
sub ecx, 1
jne 0x4418f0
push 0x1cc
push ecx
push 0xd4c4e0
call fcn.00443620
add esp, 0xc
mov dword [0xd4c584], 0xd
mov eax, 1
mov word [0xd4c57c], ax
push 0x57e
push 0
push 0xd4bf20
call fcn.00443620
add esp, 0xc
push 0x18
call fcn.00449be3
mov esi, eax
add esp, 4
xorps xmm0, xmm0
movups xmmword [esi], xmm0
push esi
movq qword [esi + 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0xd4c4e4], esi
call fcn.00434d00
push 0xd470e4
push str.NetworkName_is__s_n
call fcn.004362a0
cmp byte [0xd46f04], 0
mov ecx, str.not_set
mov eax, 0xd46f04
cmove eax, ecx
push eax
push str.LogicalName_is__s_n
call fcn.004362a0
push 0x4980
push 0
push 0x542190
call fcn.00443620
add esp, 0x1c
push 0x18
call fcn.00449be3
mov esi, eax
add esp, 4
xorps xmm0, xmm0
movups xmmword [esi], xmm0
push esi
movq qword [esi + 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x546b14], esi
call fcn.0043cba0
cmp byte [0xd47134], 0
mov byte [0x5420a4], 0xff
mov dword [0x5420a0], 0
mov byte [0x5420b3], 0
mov byte [0x5420bf], 0
mov byte [0x5420cb], 0
mov byte [0x5420d7], 0
jne 0x441a3a
cmp dword [0x5420d8], 0
jne 0x441a3a
mov eax, 2
mov dword [0x5420d8], 1
mov word [0x5420e0], ax
call fcn.00408c40
mov word [0x5420e2], ax
call fcn.00408c40
mov dword [0x5420e4], eax
lea edx, [ebp - 0x120]
xor ecx, ecx
call fcn.00408a50
test eax, eax
jns 0x441a6f
mov esi, dword [ebp - 0x284]
lea ecx, [ebp - 0x120]
push ecx
push str.Unable_to_get_device_list___s__n
push 0x200
push esi
call fcn.0041c830
mov ecx, esi
jmp 0x441c53
mov ebx, dword [ebp - 0x284]
mov ecx, 0xd46b20
mov edx, ebx
mov dword [0xd46b20], 0xffffffff
mov dword [0xd46b24], 0xffffffff
call fcn.00415d40
test eax, eax
je 0x441aaf
mov eax, str.Unable_to_start_USB_socket_listener_for_Callback___s__n
push ebx
push eax
call fcn.004362a0
add esp, 8
mov ecx, ebx
jmp 0x441c56
mov edx, ebx
mov dword [0x546b18], 0xffffffff
mov ecx, 0x546b18
mov dword [0x546b1c], 0xffffffff
call fcn.00415d40
test eax, eax
je 0x441ae9
mov eax, str.Unable_to_start_USB_socket_listener___s__n
push ebx
push eax
call fcn.004362a0
add esp, 8
mov ecx, ebx
jmp 0x441c56
mov eax, dword [0x500b60]
test eax, eax
je 0x441af9
mov dword [eax + 0xc], 0x43ecc0
push 0
push 0
push 0
push 0x43eea0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x441c3f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movzx ecx, word [0xd46d84]
call fcn.0043f100
push str.Close_open_HTTP_request_n
call fcn.004362a0
add esp, 4
call fcn.00422f20
mov esi, eax
mov edi, edx
add esi, 0x4e20
adc edi, 0
cmp dword [0xd46d2c], 0
je 0x441b74
call fcn.00422f20
cmp edi, edx
jb 0x441b74
ja 0x441b60
cmp esi, eax
jbe 0x441b74
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0xd46d2c], 0
jne 0x441b51
push str.Release_USB_ports_n
call fcn.004362a0
add esp, 4
push dword [0xd4c4e4]
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push dword [0xd4c4e4]
call fcn.004460f9
add esp, 4
push 0x1cc
push 0
push 0xd4c4e0
call fcn.00443620
add esp, 0xc
call fcn.00405e10
push dword [0xd4c6ac]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [0xd4c6d0]
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push dword [0xd4c6d0]
call fcn.004460f9
add esp, 4
mov dword [0xd4c6d0], 0
xorps xmm0, xmm0
movups xmmword [0xd4c6c0], xmm0
push dword [0xd4c6b4]
call fcn.004460f9
add esp, 4
push dword [0xd4c6ac]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [0xd4c6ac]
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push dword [0xd4c6ac]
call fcn.004460f9
add esp, 4
mov dword [0xd4c6ac], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004423fe
mov esp, ebp
pop ebp
ret
push 0
push str.thread_creation_failed
push 0x200
push ebx
call fcn.0041c830
mov ecx, ebx
add esp, 0x10
call fcn.00436650
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004423fe
mov esp, ebp
pop ebp
ret