Function at 0x440b80
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5ac
lea eax, [esp + 0x70]
mov dword [esp + 4], eax
mov dword [esp], 0
call fcn.004666f0
sub esp, 8
cmp eax, 0
mov dword [esp + 0x6c], eax
jl 0x440c54
jne 0x440cb9
cmp byte [0x4a2d14], 0
jne 0x440bcf
cmp byte [0x4a0b60], 0
jne 0x440bcf
mov eax, dword [0x47f720]
test eax, eax
jle 0x440c32
lea eax, [esp + 0x3a0]
mov dword [esp + 4], eax
mov dword [esp], 1
mov dword [esp + 0x3a0], 0x20425355
mov dword [esp + 0x3a4], 0x3a6c6c61
mov dword [esp + 0x3a8], 0x756f6620
mov dword [esp + 0x3ac], 0x6e20646e
mov dword [esp + 0x3b0], 0x6564206f
mov dword [esp + 0x3b4], 0x65636976
mov word [esp + 0x3b8], 0x73
call fcn.0042ace0
mov eax, dword [esp + 0x70]
mov dword [esp + 4], 1
mov dword [esp], eax
call fcn.004666f8
sub esp, 8
add esp, 0x5ac
pop ebx
pop esi
pop edi
pop ebp
ret
cmp byte [0x4a2d14], 0
jne 0x440c6a
cmp byte [0x4a0b60], 0
je 0x441621
mov eax, dword [esp + 0x6c]
lea ebx, [esp + 0x3a0]
call fcn.0043edd0
mov dword [esp], ebx
mov dword [esp + 8], str.USB_all:_failed__err__d_s
mov dword [esp + 4], 0x100
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xc], eax
call fcn.00471bd0
mov dword [esp + 4], ebx
mov dword [esp], 0
call fcn.0042ace0
add esp, 0x5ac
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], 0x2711
mov dword [esp + 0x78], 0x2710
call fcn.0047a2e8
test eax, eax
mov dword [esp + 0x74], eax
je 0x44177b
mov edx, dword [esp + 0x6c]
mov dword [esp + 4], str.USB_all:_found__d_devices
mov dword [esp], eax
mov dword [esp + 8], edx
call fcn.0043ef80
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.0047a2e0
cmp byte [0x4a2db8], 0
mov dword [esp + 0x7c], eax
je 0x441635
mov dword [esp + 0x58], 0xffffffff
mov dword [esp + 0x68], 0
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x68]
mov ebx, dword [eax + ecx*4]
lea eax, [esp + 0x8a]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.004666a0
sub esp, 8
cmp byte [0x4a2db8], 0
je 0x440d50
test eax, eax
jne 0x4410cc
mov dword [esp], ebx
call fcn.004666a8
sub esp, 4
mov dword [esp], ebx
mov byte [esp + 0x44], al
call fcn.004666b0
sub esp, 4
mov ebp, eax
cmp byte [0x4a2db8], 0
jne 0x440f2c
cmp dword [0x47f7e0], 0xffffffff
je 0x440e78
movzx esi, word [esp + 0x92]
mov eax, 0x47f7ec
movzx edi, word [esp + 0x94]
jmp 0x440dad
add eax, 0x34
cmp dword [eax - 0xc], 0xffffffff
je 0x440e78
cmp word [eax], si
jne 0x440da0
cmp word [eax + 2], di
jne 0x440da0
mov eax, dword [esp + 0x5c0]
add dword [esp + 0x58], 1
test eax, eax
jne 0x440f50
movzx eax, byte [esp + 0x44]
lea edx, [esp + 0x3a0]
and ebp, 0xff
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
mov dword [esp + 4], str._n.USB_dev__d:_Bus__d_Device__d_ID:__04x:_04x
mov dword [esp], edx
mov dword [esp + 0x48], edx
call fcn.0043ef80
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x78]
mov dword [esp], ecx
lea eax, [esp + 0x74]
lea ecx, [esp + 0x7c]
call fcn.0043f060
lea eax, [esp + 0x80]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.004666d0
sub esp, 8
test eax, eax
je 0x441006
mov dword [esp + 0xc], eax
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x58]
mov dword [esp + 4], str._n___dev__d:_Failed_to_open__err__d
mov dword [esp], edx
mov dword [esp + 8], eax
call fcn.0043ef80
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x78]
mov dword [esp], ecx
lea eax, [esp + 0x74]
lea ecx, [esp + 0x7c]
call fcn.0043f060
add dword [esp + 0x68], 1
mov eax, dword [esp + 0x68]
cmp dword [esp + 0x6c], eax
jg 0x440d1e
mov eax, dword [esp + 0x74]
mov dword [esp], 1
mov dword [esp + 4], eax
call fcn.0042ace0
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.0047a350
cmp dword [esp + 0x58], 0xffffffff
je 0x441653
cmp byte [0x4a2d14], 0
jne 0x440ed5
cmp byte [0x4a0b60], 0
jne 0x440ed5
mov eax, dword [0x47f720]
test eax, eax
jle 0x440c32
cmp byte [0x4a2db8], 0
mov edx, 0x48a14c
mov eax, str.known
lea ebx, [esp + 0x3a0]
cmovne eax, edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 8], str._d__sUSB_devices
mov dword [esp + 4], 0x100
mov dword [esp], ebx
add eax, 1
mov dword [esp + 0xc], eax
call fcn.00471bd0
mov dword [esp + 4], ebx
mov dword [esp], 1
call fcn.0042ace0
jmp 0x440c32
mov eax, dword [esp + 0x5c0]
add dword [esp + 0x58], 1
movzx edi, word [esp + 0x94]
movzx esi, word [esp + 0x92]
test eax, eax
je 0x440dcc
movzx eax, byte [esp + 0x8b]
and ebp, 0xff
call fcn.0043ee20
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], esi
mov dword [esp + 0x10], ebp
mov dword [esp + 8], ecx
mov dword [esp + 4], str._n.USB_dev__d:_Bus__d_Device__d_Device_Descriptor:_n_tLength:__d_n_tDescriptor_Type:__s_n_tUSB:__04x_n_tDeviceClass:__d_n_tDeviceSubClass:__d_n_tDeviceProtocol:__d_n_tMaxPacketSize0:__d_n_tidVendor:__04x_n_tidProduct:__04x_n_tDeviceRelease:__x_n_tNumConfigurations:__d
mov edx, eax
movzx eax, byte [esp + 0x9b]
mov dword [esp + 0x18], edx
lea edx, [esp + 0x3a0]
mov dword [esp], edx
mov dword [esp + 0x48], edx
mov dword [esp + 0x3c], eax
movzx eax, word [esp + 0x96]
mov dword [esp + 0x38], eax
movzx eax, byte [esp + 0x91]
mov dword [esp + 0x2c], eax
movzx eax, byte [esp + 0x90]
mov dword [esp + 0x28], eax
movzx eax, byte [esp + 0x8f]
mov dword [esp + 0x24], eax
movzx eax, byte [esp + 0x8e]
mov dword [esp + 0x20], eax
movzx eax, word [esp + 0x8c]
mov dword [esp + 0x1c], eax
movzx eax, byte [esp + 0x8a]
mov dword [esp + 0x14], eax
movzx eax, byte [esp + 0x44]
mov dword [esp + 0xc], eax
call fcn.0043ef80
jmp 0x440e0a
lea eax, [esp + 0x9d]
mov dword [esp + 8], eax
movzx eax, byte [esp + 0x98]
mov dword [esp + 0xc], 0x100
mov dword [esp + 4], eax
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call fcn.004666d8
sub esp, 0x10
test eax, eax
mov esi, eax
js 0x4416f7
movzx eax, byte [esp + 0x99]
lea ecx, [esp + 0x19e]
mov dword [esp + 0xc], 0x100
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call fcn.004666d8
sub esp, 0x10
test eax, eax
mov esi, eax
js 0x4416ce
mov esi, dword [esp + 0x5c0]
test esi, esi
jne 0x44110f
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call fcn.004666e0
sub esp, 4
lea edx, [esp + 0x19e]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x9d]
mov dword [esp + 8], ecx
mov dword [esp + 4], str._n__Manufacturer:__s_n__Product:__s
mov dword [esp], edx
call fcn.0043ef80
jmp 0x440e60
add dword [esp + 0x58], 1
mov edx, dword [esp + 0x58]
lea ebx, [esp + 0x3a0]
mov dword [esp + 0xc], eax
mov dword [esp + 4], str._n.USB_dev__d:_Failed_to_get_descriptor__err__d
mov dword [esp], ebx
mov dword [esp + 8], edx
call fcn.0043ef80
lea eax, [esp + 0x78]
mov edx, ebx
mov dword [esp], eax
lea ecx, [esp + 0x7c]
lea eax, [esp + 0x74]
call fcn.0043f060
jmp 0x440e78
mov eax, dword [esp + 0x80]
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00466700
sub esp, 8
cmp eax, 1
je 0x441742
lea esi, [esp + 0x84]
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.004666c0
sub esp, 8
test eax, eax
jne 0x441564
mov ebx, dword [esp + 0x84]
movzx eax, byte [ebx + 1]
call fcn.0043ee20
movzx edx, byte [ebx + 8]
mov dword [esp + 0x1c], edx
movzx edx, byte [ebx + 7]
mov dword [esp + 0x18], edx
movzx edx, byte [ebx + 6]
mov dword [esp + 0x14], edx
movzx edx, byte [ebx + 4]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 4], str._n_____dev__d:_Active_Config:_n_tDescriptorType:__s_n_tNumInterfaces:__d_n_tConfigurationValue:__d_n_tAttributes:__d_n_tMaxPower:__d
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 8], eax
mov dword [esp], edx
call fcn.0043ef80
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x78]
mov dword [esp], ecx
lea eax, [esp + 0x74]
lea ecx, [esp + 0x7c]
call fcn.0043f060
mov edx, dword [esp + 0x84]
mov dword [esp + 0x64], 0
cmp byte [edx + 4], 0
je 0x441403
mov eax, dword [esp + 0x64]
mov dword [esp + 0x5c], 0
shl eax, 3
mov dword [esp + 0x60], eax
add eax, dword [edx + 0xc]
mov ecx, dword [eax + 4]
test ecx, ecx
jle 0x4413f0
mov ecx, dword [esp + 0x5c]
mov eax, dword [eax]
lea edx, [ecx + ecx*2]
lea ebp, [eax + edx*8]
movzx eax, byte [ebp + 1]
call fcn.0043ee20
movzx edx, byte [ebp + 7]
mov dword [esp + 0x24], edx
movzx edx, byte [ebp + 6]
mov dword [esp + 0x20], edx
movzx edx, byte [ebp + 5]
mov dword [esp + 0x1c], edx
movzx edx, byte [ebp + 4]
mov dword [esp + 0x18], edx
movzx edx, byte [ebp + 2]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], str._n______dev__d:_Interface_Descriptor__d:_n_tDescriptorType:__s_n_tInterfaceNumber:__d_n_tNumEndpoints:__d_n_tInterfaceClass:__d_n_tInterfaceSubClass:__d_n_tInterfaceProtocol:__d
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
mov edx, dword [esp + 0x48]
mov dword [esp], edx
call fcn.0043ef80
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x78]
mov dword [esp], ecx
lea eax, [esp + 0x74]
lea ecx, [esp + 0x7c]
call fcn.0043f060
cmp byte [ebp + 4], 0
je 0x4413d0
mov dword [esp + 0x44], 0
xor ebx, ebx
jmp 0x441337
movzx eax, byte [ecx + 2]
mov esi, str.Out:
movzx edx, al
and eax, 0x80
je 0x4412aa
cmp al, 0x80
mov esi, 0x48a9c1
mov eax, str.In:
cmove esi, eax
movzx eax, byte [ecx + 1]
mov dword [esp + 0x40], edx
call fcn.0043ee20
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x10], ebx
add ebx, 1
mov dword [esp + 0x20], edi
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x24], ecx
movzx eax, byte [ebp + 2]
mov dword [esp], edx
mov dword [esp + 4], str._n_______dev__d:_Interface__d_Endpoint__d:_n_tDescriptorType:__s_n_tEndpointAddress:__s0x_x_n_tAttributes:__s_n_tMaxPacketSize:__d_n_tInterval:__d_n_tRefresh:__d
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 8], eax
call fcn.0043ef80
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x78]
mov dword [esp], ecx
lea eax, [esp + 0x74]
lea ecx, [esp + 0x7c]
call fcn.0043f060
movzx eax, byte [ebp + 4]
add dword [esp + 0x44], 0x14
cmp ebx, eax
jge 0x4413d0
mov ecx, dword [esp + 0x44]
mov edi, str.Bulk
add ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 7]
mov dword [esp + 0x4c], edx
movzx edx, byte [ecx + 6]
mov dword [esp + 0x50], edx
movzx edx, word [ecx + 4]
mov dword [esp + 0x54], edx
movzx edx, byte [ecx + 3]
mov eax, edx
and eax, 3
cmp al, 2
je 0x441288
cmp al, 3
mov edi, str.Interrupt
je 0x441288
cmp al, 1
mov edi, str.Control
jne 0x441288
mov eax, edx
and eax, 0xc
cmp al, 1
je 0x441502
jae 0x4414c0
and edx, 0x30
mov edi, str.IsochronousNoneFeedback
cmp dl, 1
je 0x441288
mov edi, str.IsochronousNoneData
jb 0x441288
mov edi, str.IsochronousNone_
cmp dl, 2
mov eax, str.IsochronousNoneImplicit
cmove edi, eax
jmp 0x441288
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x60]
add dword [esp + 0x5c], 1
mov ecx, dword [esp + 0x5c]
add eax, dword [edx + 0xc]
cmp ecx, dword [eax + 4]
jl 0x4411f2
add dword [esp + 0x64], 1
movzx eax, byte [edx + 4]
cmp dword [esp + 0x64], eax
jl 0x4411d1
mov dword [esp], edx
call fcn.004666c8
sub esp, 4
movzx eax, byte [esp + 0x9a]
lea ebx, [esp + 0x29f]
mov dword [esp + 0xc], 0x100
mov dword [esp + 8], ebx
mov dword [esp + 0x84], 0
mov dword [esp + 4], eax
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call fcn.004666d8
sub esp, 0x10
test eax, eax
mov esi, eax
js 0x441720
lea edx, [esp + 0x19e]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x9d]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 8], eax
mov dword [esp], edx
mov dword [esp + 4], str._n_____dev__d:_More_Info:_n_tManufacturer:__s_n_tProduct:__s_n_tSerial__s
call fcn.0043ef80
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x78]
mov dword [esp], ecx
lea eax, [esp + 0x74]
lea ecx, [esp + 0x7c]
call fcn.0043f060
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call fcn.004666e0
sub esp, 4
jmp 0x440e78
cmp al, 2
je 0x441533
cmp al, 3
mov edi, str.Isochronous_
jne 0x441288
and edx, 0x30
mov edi, str.IsochronousSyncFeedback
cmp dl, 1
je 0x441288
mov edi, str.IsochronousSyncData
jb 0x441288
mov edi, str.IsochronousSync_
cmp dl, 2
mov eax, str.IsochronousSyncImplicit
cmove edi, eax
jmp 0x441288
and edx, 0x30
mov edi, str.IsochronousAsyncFeedback
cmp dl, 1
je 0x441288
mov edi, str.IsochronousAsyncData
jb 0x441288
cmp dl, 2
mov edi, str.IsochronousAsync_
mov eax, str.IsochronousAsyncImplicit
cmove edi, eax
jmp 0x441288
and edx, 0x30
mov edi, str.IsochronousAdaptiveFeedback
cmp dl, 1
je 0x441288
mov edi, str.IsochronousAdaptiveData
jb 0x441288
mov edi, str.IsochronousAdaptive_
cmp dl, 2
mov eax, str.IsochronousAdaptiveImplicit
cmove edi, eax
jmp 0x441288
lea eax, [esp + 0x78]
lea ecx, [esp + 0x74]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x58]
lea edx, [esp + 0x7c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0xc], edx
mov edx, ebx
mov dword [esp + 4], 1
mov dword [esp], esi
call fcn.0043f510
test al, al
jne 0x441150
lea eax, [esp + 0x78]
lea ecx, [esp + 0x74]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x58]
lea edx, [esp + 0x7c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0xc], edx
mov edx, ebx
mov dword [esp + 4], 0
mov dword [esp], esi
call fcn.0043f510
test al, al
jne 0x441150
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call fcn.004666e0
sub esp, 4
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 1
mov dword [esp + 8], eax
mov dword [esp + 4], str._n___dev__d:_Failed_to_set_config_descriptor_to__d_or__d
mov dword [esp], edx
call fcn.0043ef80
jmp 0x440e60
mov eax, dword [0x47f720]
test eax, eax
jns 0x440c6a
nop
jmp 0x440c49
lea eax, [esp + 0x78]
mov edx, str.___listing_known_devices
mov dword [esp], eax
lea ecx, [esp + 0x7c]
lea eax, [esp + 0x74]
call fcn.0043f060
jmp 0x440d0e
cmp byte [0x4a2d14], 0
jne 0x441673
cmp byte [0x4a0b60], 0
jne 0x441673
mov edx, dword [0x47f720]
test edx, edx
jle 0x440c32
lea eax, [esp + 0x3a0]
mov dword [esp + 4], eax
mov dword [esp], 1
mov dword [esp + 0x3a0], 0x6b206f4e
mov dword [esp + 0x3a4], 0x6e776f6e
mov dword [esp + 0x3a8], 0x42535520
mov dword [esp + 0x3ac], 0x76656420
mov dword [esp + 0x3b0], 0x73656369
mov byte [esp + 0x3b4], 0
call fcn.0042ace0
jmp 0x440c32
call fcn.0043edd0
mov dword [esp + 8], esi
mov dword [esp + 4], str._err__d__s
mov dword [esp + 0xc], eax
lea eax, [esp + 0x19e]
mov dword [esp], eax
call fcn.0043ef80
jmp 0x44107c
call fcn.0043edd0
lea edx, [esp + 0x9d]
mov dword [esp + 8], esi
mov dword [esp + 4], str._err__d__s
mov dword [esp], edx
mov dword [esp + 0xc], eax
call fcn.0043ef80
jmp 0x441041
call fcn.0043edd0
mov dword [esp + 8], esi
mov dword [esp + 4], str._err__d__s
mov dword [esp], ebx
mov dword [esp + 0xc], eax
call fcn.0043ef80
jmp 0x441454
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x58]
mov dword [esp + 4], str._n____dev__d:_kernel_attached
mov dword [esp], edx
mov dword [esp + 8], eax
call fcn.0043ef80
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x78]
mov dword [esp], ecx
lea eax, [esp + 0x74]
lea ecx, [esp + 0x7c]
call fcn.0043f060
jmp 0x441132
lea eax, [esp + 0x3a0]
mov dword [esp + 4], eax
mov dword [esp], 0
mov dword [esp + 0x3a0], 0x20425355
mov dword [esp + 0x3a4], 0x6c696166
mov dword [esp + 0x3a8], 0x74206465
mov dword [esp + 0x3ac], 0x616d206f
mov dword [esp + 0x3b0], 0x636f6c6c
mov dword [esp + 0x3b4], 0x66756220
mov dword [esp + 0x3b8], 0x206e6920
mov dword [esp + 0x3bc], 0x5f627375
mov dword [esp + 0x3c0], 0x6c6c61
call fcn.0042ace0
mov dword [esp], 1
call fcn.00404a60
mov eax, dword [esp + 0x74]
jmp 0x440cd9