Function at 0x1003f690
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c86f4
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x10264190]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x18], 0
jne 0x1003f725
push str.d:mycodewin_agent_toolwin_urdurdurdcommon._UsbURApi.cpp:CUsbURApi::UnshareAllUsbDevices__:Line_944
push 0
push 3
lea ecx, [ebp - 0x94]
push ecx
call fcn.10009d30
mov edx, dword [eax]
mov dword [ebp - 0x58], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x54], ecx
mov edx, dword [eax + 8]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x18]
push ecx
push str._tm_urGetLastError__d_
sub esp, 0xc
mov edx, esp
mov eax, dword [ebp - 0x58]
mov dword [edx], eax
mov ecx, dword [ebp - 0x54]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x50]
mov dword [edx + 8], eax
call fcn.10008d70
add esp, 0x14
xor eax, eax
jmp 0x1003faca
mov dword [ebp - 0x40], 0
mov ecx, dword [ebp + 8]
mov dword [ecx], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x38]
call fcn.1003dfa0
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x30]
push ecx
push str.Unshare_all_usb_device_count_d:_n
lea edx, [ebp - 0x28]
push edx
push 0x10270344
call fcn.100178f0
add esp, 0x10
mov dword [ebp - 4], 0
cmp dword [ebp - 0x3c], 0
je 0x1003fa19
mov dword [ebp - 0x34], 0
jmp 0x1003f793
mov eax, dword [ebp - 0x34]
add eax, 1
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [ebp - 0x30]
jae 0x1003fa17
imul edx, dword [ebp - 0x34], 0x52d
mov eax, dword [ebp - 0x2c]
cmp dword [eax + edx + 8], 3
je 0x1003f7e7
imul ecx, dword [ebp - 0x34], 0x52d
mov edx, dword [ebp - 0x2c]
cmp dword [edx + ecx + 8], 4
je 0x1003f7e7
imul eax, dword [ebp - 0x34], 0x52d
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + eax + 8], 0xc
je 0x1003f7e7
imul edx, dword [ebp - 0x34], 0x52d
mov eax, dword [ebp - 0x2c]
cmp dword [eax + edx + 8], 5
jne 0x1003f97e
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x74], eax
imul ecx, dword [ebp - 0x34], 0x52d
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + ecx]
push eax
mov ecx, dword [ebp - 0x38]
call fcn.1003f540
mov dword [ebp - 0x3c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x80]
sub ecx, dword [ebp - 0x74]
mov dword [ebp - 0x44], ecx
cmp dword [ebp - 0x3c], 0
je 0x1003f8c9
mov edx, dword [ebp - 0x44]
push edx
imul eax, dword [ebp - 0x34], 0x52d
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + eax + 8]
push edx
mov ecx, 0x10270a10
call fcn.1003eae0
push eax
imul eax, dword [ebp - 0x34], 0x52d
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + eax + 8]
push edx
imul eax, dword [ebp - 0x34], 0x52d
mov ecx, dword [ebp - 0x2c]
movzx edx, word [ecx + eax + 0x22]
push edx
imul eax, dword [ebp - 0x34], 0x52d
mov ecx, dword [ebp - 0x2c]
movzx edx, word [ecx + eax + 0x20]
push edx
mov eax, dword [ebp - 0x34]
push eax
push str._tUnshare___d__vid:_04X_pid:_04X_ulDeviceStatus_d__s__usb_device_sucess__usetime__lu_ms_._n
lea ecx, [ebp - 0xe8]
push ecx
push 0x10270344
call fcn.100178f0
add esp, 0x24
mov dword [ebp - 0x70], eax
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x5c], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x28]
call fcn.10018b10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xe8]
call fcn.100397d0
jmp 0x1003f979
push 0
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 0x18]
call edx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
mov ecx, dword [ebp - 0x38]
call fcn.1003ebe0
push eax
mov edx, dword [ebp - 0x40]
push edx
imul eax, dword [ebp - 0x34], 0x52d
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + eax + 8]
push edx
mov ecx, 0x10270a10
call fcn.1003eae0
push eax
imul eax, dword [ebp - 0x34], 0x52d
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + eax + 8]
push edx
imul eax, dword [ebp - 0x34], 0x52d
mov ecx, dword [ebp - 0x2c]
movzx edx, word [ecx + eax + 0x22]
push edx
imul eax, dword [ebp - 0x34], 0x52d
mov ecx, dword [ebp - 0x2c]
movzx edx, word [ecx + eax + 0x20]
push edx
mov eax, dword [ebp - 0x34]
push eax
push str._tUnshare___d__vid:_04X_pid:_04X_ulDeviceStatus_d__s__usb_device_failed_error_d__s___usetime__lu_ms_._n
lea ecx, [ebp - 0xac]
push ecx
push 0x10270344
call fcn.100178f0
add esp, 0x2c
mov dword [ebp - 0x78], eax
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x6c], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x28]
call fcn.10018b10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xac]
call fcn.100397d0
jmp 0x1003fa12
imul ecx, dword [ebp - 0x34], 0x52d
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + ecx + 8]
push eax
mov ecx, 0x10270a10
call fcn.1003eae0
push eax
imul ecx, dword [ebp - 0x34], 0x52d
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + ecx + 8]
push eax
imul ecx, dword [ebp - 0x34], 0x52d
mov edx, dword [ebp - 0x2c]
movzx eax, word [edx + ecx + 0x22]
push eax
imul ecx, dword [ebp - 0x34], 0x52d
mov edx, dword [ebp - 0x2c]
movzx eax, word [edx + ecx + 0x20]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
push str._tNot_Unshare___d__vid:_04X_pid:_04X_ulDeviceStatus_d__s__usb_device._n
lea edx, [ebp - 0xd0]
push edx
push 0x10270344
call fcn.100178f0
add esp, 0x20
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x88], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x88]
push ecx
lea ecx, [ebp - 0x28]
call fcn.10018b10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd0]
call fcn.100397d0
jmp 0x1003f78a
jmp 0x1003fa60
push str._tEnumAndPrintLocalDevices_failed._n
lea edx, [ebp - 0x100]
push edx
push 0x10270344
call fcn.100178f0
add esp, 0xc
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x7c], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.10018b10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x100]
call fcn.100397d0
push str.d:mycodewin_agent_toolwin_urdurdurdcommon._UsbURApi.cpp:CUsbURApi::UnshareAllUsbDevices__:Line_986
push 0
push 1
lea edx, [ebp - 0xb8]
push edx
call fcn.10009d30
mov ecx, dword [eax]
mov dword [ebp - 0x68], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x64], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0x60], eax
lea ecx, [ebp - 0x28]
call fcn.100397b0
push eax
push 0x10224978
sub esp, 0xc
mov ecx, esp
mov edx, dword [ebp - 0x68]
mov dword [ecx], edx
mov eax, dword [ebp - 0x64]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x60]
mov dword [ecx + 8], edx
call fcn.10008d70
add esp, 0x14
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100397d0
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1019110d
mov esp, ebp
pop ebp
ret 4