Function at 0x4ccb50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xac
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov edi, dword [eax + 8]
mov dword [ebp - 0x80], eax
mov eax, dword [eax + 0x48]
mov dword [ebp - 0x84], edi
cmp byte [eax], 2
mov dword [ebp - 0x61], 0x5c2e5c5c
mov dword [ebp - 0x5d], 0x7562696c
sete dl
cmp ebx, 0xffffffff
mov dword [ebp - 0x59], 0x2d306273
mov dword [ebp - 0x55], 0x30303030
mov byte [ebp - 0x51], 0
je 0x4ccd72
imul eax, ebx, 0x58
mov esi, dword [eax + 0x5bd240]
test esi, esi
je 0x4ccd68
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4ccbc3
test dl, dl
je 0x4ccc50
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
lea eax, [eax + edi*8]
mov dword [ebp - 0x94], eax
mov eax, dword [eax + 0x1c]
lea edx, [eax - 1]
cmp edx, 0xfffffffd
ja 0x4cd2f6
imul ebx, ebx, 0x58
lea esi, [ebp - 0x78]
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [ebx + 0x5bd26c]
sub esp, 8
test eax, eax
je 0x4ccd80
mov eax, dword [ebp - 0x78]
mov edi, dword [ebp - 0x94]
mov dword [edi + 0x20], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0xc], str.claimed_interface__d
mov dword [esp + 8], str.winusbx_claim_interface
mov dword [esp + 4], 4
mov dword [esp + 0x10], eax
mov dword [esp], 0
call dbg.usbi_log
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov dword [eax + 0x18], esi
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, dword [ebp + 0xc]
mov edx, dword [esi + 0x20]
lea ecx, [edx - 1]
cmp ecx, 0xfffffffd
mov dword [ebp - 0x78], edx
jbe 0x4cccb8
lea edx, [ebp - 0x78]
mov dword [esp + 4], edx
mov edx, dword [esi + 0x1c]
mov dword [esp], edx
call dword [eax + 0x5bd26c]
sub esp, 8
test eax, eax
je 0x4cd32f
mov eax, dword [ebp - 0x78]
mov esi, dword [ebp + 0xc]
mov dword [esi + 0x20], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0xc], str.auto_claimed_interface_0__required_to_claim__d_with_WinUSB_
mov dword [esp + 8], str.winusbx_claim_interface
mov dword [esp + 4], 2
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x84]
mov dword [esp], eax
call dbg.usbi_log
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp + 0xc]
imul ebx, ebx, 0x58
mov edi, dword [ebp + 0x10]
mov dword [esp], edx
lea eax, [eax + edi*8 + 0x20]
mov dword [esp + 8], eax
movzx eax, byte [ebp + 0x10]
sub eax, 1
movzx eax, al
mov dword [esp + 4], eax
call dword [ebx + 0x5bd254]
sub esp, 0xc
test eax, eax
jne 0x4ccc0b
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [eax + edi*8 + 0x20], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov eax, 0xfffffffa
cmp edx, 0xb7
je 0x4ccc41
cmp edx, 0x103
mov al, 0xfb
je 0x4ccc41
cmp edx, 0x16
mov al, 0xfc
je 0x4ccc41
mov dword [esp], 0
call dbg.windows_error_str
mov dword [esp + 0xc], str.could_not_claim_interface__d:__s
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x84]
mov dword [esp + 8], str.winusbx_claim_interface
mov dword [esp + 4], 1
mov dword [esp], eax
call dbg.usbi_log
mov eax, 0xfffffffd
jmp 0x4ccc41
mov eax, dword [ebp - 0x80]
mov ebx, dword [eax + 0x50]
jmp 0x4ccba3
mov eax, dword [ebp - 0x94]
mov dword [eax + 0x20], 0xffffffff
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x90], eax
call eax
cmp eax, 0x16
mov dword [ebp - 0x9c], eax
je 0x4cd376
mov dword [ebp - 0x88], 0
mov esi, 0xffffffff
xor edi, edi
mov dword [ebp - 0x98], ebx
test edi, edi
je 0x4ccff0
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0x1c
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], esi
call dword [0x5bd3cc]
sub esp, 0xc
test eax, eax
je 0x4cd280
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0x1c
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0x5985dc
mov dword [esp + 4], 0
mov dword [esp], esi
call dword [0x5bd3c8]
sub esp, 0x14
test eax, eax
je 0x4cd187
lea eax, [ebp - 0x34]
lea ebx, [ebp - 0x74]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [0x5bd3c4]
sub esp, 0x18
test eax, eax
jne 0x4cd1c0
mov eax, dword [ebp - 0x90]
call eax
cmp eax, 0x7a
jne 0x4cd0c0
mov edx, dword [ebp - 0x74]
mov dword [esp], 1
mov dword [esp + 4], edx
mov dword [ebp - 0x8c], edx
call sym._calloc
mov edx, dword [ebp - 0x8c]
test eax, eax
mov dword [ebp - 0x7c], eax
je 0x4cd300
mov eax, dword [ebp - 0x7c]
mov dword [eax], 5
mov dword [esp + 8], eax
lea eax, [ebp - 0x34]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [0x5bd3c4]
sub esp, 0x18
test eax, eax
je 0x4cd140
lea eax, [ebp - 0x34]
mov dword [esp + 0xc], 0x20019
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [0x5bd3b4]
sub esp, 0x10
cmp eax, 0xffffffff
mov ebx, eax
je 0x4ccf5f
lea eax, [ebp - 0x6c]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x70]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x68]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 4
mov dword [ebp - 0x68], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], str.LUsb0
mov dword [esp], ebx
call dword [0x5bd3ac]
sub esp, 0x18
test eax, eax
jne 0x4ccf53
mov eax, dword [ebp - 0x70]
cmp eax, 0xff
jbe 0x4cd222
mov dword [esp], ebx
call dword [0x5bd3a8]
sub esp, 4
mov edx, dword [ebp - 0x88]
test edx, edx
jne 0x4ccbff
mov eax, dword [ebp - 0x7c]
mov dword [esp + 4], 0x59714a
add eax, 4
mov dword [esp], eax
call sym._strtok
call dbg.sanitize_path
test eax, eax
mov ebx, eax
je 0x4cd180
mov dword [esp], eax
call sym._strlen
mov ecx, dword [ebp + 0x10]
lea edx, [ecx + ecx*2]
mov ecx, dword [ebp - 0x80]
mov ecx, dword [ecx + edx*8 + 0x54]
mov edx, 0x596f74
mov dword [esp + 8], eax
test ecx, ecx
cmove ecx, edx
test ebx, ebx
cmovne edx, ebx
mov dword [esp + 4], ecx
mov dword [esp], edx
call sym._strncmp
test eax, eax
je 0x4cd020
mov eax, dword [ebp - 0x7c]
add edi, 1
mov dword [esp], eax
call sym._free
test ebx, ebx
je 0x4ccdc0
mov dword [esp], ebx
call sym._free
test edi, edi
jne 0x4ccdc8
mov dword [esp + 0xc], 0x12
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x5985dc
call dword [0x5bd3d0]
sub esp, 0x10
mov esi, eax
jmp 0x4ccdc8
lea eax, [ebp - 0x61]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x40000080
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 3
mov dword [esp + 4], 0xc0000000
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
sub esp, 0x1c
cmp eax, 0xffffffff
je 0x4cd2b4
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x78]
mov dword [esp], eax
mov eax, dword [ebp - 0x98]
call dword [eax + 0x5bd250]
mov edx, dword [ebp - 0x8c]
lea ecx, [ebp - 0x78]
mov eax, dword [ebp - 0x98]
sub esp, 4
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [eax + 0x5bd26c]
sub esp, 8
test eax, eax
je 0x4cd1f0
mov dword [ebp - 0x88], 1
jmp 0x4ccfca
mov dword [esp], 0
call dbg.windows_error_str
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.could_not_access_interface_data__dummy__for_index__u:__s
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x84]
mov dword [esp + 8], str.get_interface_details_filter
mov dword [esp + 4], 1
mov dword [esp], eax
call dbg.usbi_log
mov dword [esp], esi
call dword [0x5bd3c0]
mov eax, dword [ebp - 0x88]
sub esp, 4
test eax, eax
jne 0x4ccbff
mov eax, dword [ebp - 0x9c]
mov dword [esp], eax
call dbg.windows_error_str
mov dword [esp + 0xc], str.could_not_access_interface__d:__s
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x10], eax
jmp 0x4ccd4a
mov dword [esp], 0
call dbg.windows_error_str
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.could_not_access_interface_data__actual__for_index__u:__s
mov dword [esp + 8], str.get_interface_details_filter
mov dword [esp + 4], 1
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x84]
mov dword [esp], eax
call dbg.usbi_log
jmp 0x4cced1
xor eax, eax
jmp 0x4ccf9a
mov eax, dword [ebp - 0x90]
lea esi, [esi]
call eax
cmp eax, 0x103
je 0x4cd0fa
mov dword [esp], 0
call dbg.windows_error_str
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.Could_not_obtain_interface_data_for_index__u:__s
mov dword [esp + 0x14], eax
jmp 0x4cd0dc
mov eax, dword [ebp - 0x84]
mov dword [esp + 0xc], str.program_assertion_failed___http:__msdn.microsoft.com_en_us_library_ms792901.aspx_is_wrong.
mov dword [esp + 8], str.get_interface_details_filter
mov dword [esp + 4], 1
mov dword [esp], eax
call dbg.usbi_log
jmp 0x4cd0fa
lea eax, [ebp - 0x61]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x84]
mov dword [esp + 0xc], str.could_not_initialize_filter_driver_for__s
mov dword [esp + 8], str.winusbx_claim_interface
mov dword [esp + 4], 1
mov dword [esp], eax
call dbg.usbi_log
jmp 0x4ccfca
lea edx, [ebp - 0x61]
mov dword [esp], edx
mov dword [ebp - 0x8c], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], str..libusb0__04u
mov dword [esp + 4], 0x11
call dword [sym.imp.msvcrt.dll__snprintf]
mov edx, dword [ebp - 0x8c]
mov dword [esp + 0xc], str.assigned_libusb0_symbolic_link__s
mov dword [esp + 8], str.get_interface_details_filter
mov dword [esp + 4], 4
mov dword [esp + 0x10], edx
mov dword [esp], 0
mov byte [ebp - 0x51], 0
call dbg.usbi_log
jmp 0x4ccf53
mov eax, dword [ebp - 0x90]
call eax
cmp eax, 0x103
je 0x4cd0fa
mov dword [esp], 0
call dbg.windows_error_str
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.Could_not_obtain_device_info_data_for_index__u:__s
mov dword [esp + 0x14], eax
jmp 0x4cd0dc
mov dword [esp], 0
call dbg.windows_error_str
mov dword [esp + 0xc], str.could_not_open_device__s:__s
mov dword [esp + 8], str.winusbx_claim_interface
mov dword [esp + 4], 1
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x61]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x84]
mov dword [esp], eax
call dbg.usbi_log
jmp 0x4ccfca
mov eax, 0xfffffffb
jmp 0x4ccc41
mov eax, dword [ebp - 0x84]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.could_not_allocate_interface_data_for_index__u.
mov dword [esp + 8], str.get_interface_details_filter
mov dword [esp + 4], 1
mov dword [esp], eax
call dbg.usbi_log
jmp 0x4cd0fa
mov dword [esp], 0
call dbg.windows_error_str
mov dword [esp + 0xc], str.failed_to_auto_claim_interface_0__required_to_claim__d_with_WinUSB_:__s
mov dword [esp + 8], str.winusbx_claim_interface
mov dword [esp + 4], 2
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x84]
mov dword [esp], eax
call dbg.usbi_log
mov eax, 0xfffffffd
jmp 0x4ccc41
mov dword [esp], 0
call dbg.windows_error_str
mov dword [esp + 0xc], str.could_not_access_interface__d:__s
mov dword [esp + 8], str.winusbx_claim_interface
mov dword [esp + 4], 1
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x84]
mov dword [esp], eax
call dbg.usbi_log
mov eax, 0xfffffffc
jmp 0x4ccc41