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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42eb56
mov eax, dword fs:[0]
push eax
sub esp, 0x1d8
mov eax, dword [0x4411c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c4], ecx
push str.STA:_Reset_device_and_del...
call fcn.0042a0d0
add esp, 4
mov ecx, dword [ebp - 0x1c4]
call fcn.004066b0
push 0
mov eax, dword [ebp - 0x1c4]
push eax
mov ecx, dword [ebp - 0x1c4]
call fcn.00417990
lea ecx, [ebp - 0x68]
call fcn.00406530
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x84]
call fcn.00406530
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.004012b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x90]
call fcn.00406750
lea ecx, [ebp - 0xd4]
push ecx
mov ecx, dword [ebp - 0x1c4]
call fcn.004065d0
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x90], edx
mov dword [ebp - 0x8c], eax
jmp 0x4191bc
push 0
lea ecx, [ebp - 0xdc]
push ecx
lea ecx, [ebp - 0x90]
call fcn.00406790
lea edx, [ebp - 0xe4]
push edx
mov ecx, dword [ebp - 0x1c4]
call fcn.00406600
push eax
lea ecx, [ebp - 0x90]
call fcn.00406830
movzx eax, al
test eax, eax
je 0x4192e6
lea ecx, [ebp - 0x90]
call fcn.00406770
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401380
lea ecx, [ebp - 0x2c]
call fcn.004014a0
push eax
push str.My_device_list
call fcn.0042a0d0
add esp, 8
push 0x434ec8
lea ecx, [ebp - 0x2c]
call fcn.004014a0
push eax
call fcn.0040a030
add esp, 8
test eax, eax
je 0x4192a8
push 0x15
push 0
lea ecx, [ebp - 0x100]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00401540
mov dword [ebp - 0x1c8], eax
mov edx, dword [ebp - 0x1c8]
mov dword [ebp - 0x1cc], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1cc]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401380
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x100]
call fcn.00401360
lea ecx, [ebp - 0x2c]
call fcn.004014a0
push eax
lea ecx, [ebp - 0x11c]
call fcn.004012e0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x11c]
push ecx
lea ecx, [ebp - 0x68]
call fcn.00406670
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x11c]
call fcn.00401360
jmp 0x4192e1
lea ecx, [ebp - 0x2c]
call fcn.004014a0
push eax
lea ecx, [ebp - 0x138]
call fcn.004012e0
mov byte [ebp - 4], 5
lea edx, [ebp - 0x138]
push edx
lea ecx, [ebp - 0x84]
call fcn.00406670
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x138]
call fcn.00401360
jmp 0x4191a8
lea ecx, [ebp - 0x68]
call fcn.00406630
mov esi, eax
lea ecx, [ebp - 0x84]
call fcn.00406630
add esi, eax
mov dword [ebp - 0x4c], esi
mov eax, dword [ebp - 0x4c]
push eax
push str.Wait_time_for__d_devices...
call fcn.0042a0d0
add esp, 8
mov dword [ebp - 0x88], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x4c]
push ecx
mov ecx, dword [ebp - 0x1c4]
call fcn.00418d90
test eax, eax
jne 0x41935f
push str.NO_CDROM___Sleep_1S_before_deleting_mass_storage...
call fcn.0042a0d0
add esp, 4
push 0x5dc
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
mov ecx, dword [ebp - 0x1c4]
call fcn.00418d90
push 0x432f97
lea ecx, [ebp - 0x48]
call fcn.004012e0
mov byte [ebp - 4], 6
mov dword [ebp - 0x94], 0
jmp 0x41938b
mov edx, dword [ebp - 0x94]
add edx, 1
mov dword [ebp - 0x94], edx
cmp dword [ebp - 0x94], 3
jge 0x41980d
cmp dword [ebp - 0x94], 1
jl 0x4193f1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x88]
xor edx, edx
mov ecx, 0x3e8
div ecx
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov eax, dword [ebp - 0x4c]
imul eax, eax, 0xa
shl eax, 1
cdq
mov ecx, 3
idiv ecx
mov edx, dword [ebp + 8]
cmp dword [edx], eax
jle 0x4193f1
mov eax, dword [ebp - 0x4c]
imul eax, eax, 0xa
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
push str._d_exceed__d__return
call fcn.0042a0d0
add esp, 0xc
jmp 0x41980d
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x94]
push edx
push str.index___d__pass_time___d
call fcn.0042a0d0
add esp, 0xc
push 6
push 0x434f54
push 0x434f64
mov ecx, dword [ebp - 0x1c4]
call fcn.00418a60
push 6
push 0x434f90
push str.usbstorcdromhuawei__mass_storage____ffff
mov ecx, dword [ebp - 0x1c4]
call fcn.00418a60
push 6
push 0x434fcc
push 0x434fdc
mov ecx, dword [ebp - 0x1c4]
call fcn.00418a60
push 6
push 0x435008
push 0x435018
mov ecx, dword [ebp - 0x1c4]
call fcn.00418a60
lea ecx, [ebp - 0xb0]
call fcn.004012b0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xcc]
call fcn.004012b0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0x68]
call fcn.004065d0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x8c], edx
jmp 0x4194bb
push 0
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x90]
call fcn.00406790
lea ecx, [ebp - 0x150]
push ecx
lea ecx, [ebp - 0x68]
call fcn.00406600
push eax
lea ecx, [ebp - 0x90]
call fcn.00406830
movzx edx, al
test edx, edx
je 0x419734
push 0x435044
push str.Begin_to_com_Del_Device__ID:__s...
call fcn.0042a0d0
add esp, 8
push 6
push str.usbstordisk
push str.usbstordiskhuawei__sd_storage______2.31
mov ecx, dword [ebp - 0x1c4]
call fcn.00418a60
push 4
push 0x432fb5
push 0x4350d0
mov ecx, dword [ebp - 0x1c4]
call fcn.00418a60
push 4
push str.usbclass_03subclass_01prot_02
push str.usb_vid_12d1pid_1418rev_0000mi_01
mov ecx, dword [ebp - 0x1c4]
call fcn.00418a60
lea ecx, [ebp - 0x90]
call fcn.00406770
push eax
mov ecx, 0x443558
call fcn.00401380
push 0x435144
push 0x443558
lea eax, [ebp - 0x16c]
push eax
call fcn.00403570
add esp, 0xc
mov dword [ebp - 0x1d0], eax
mov ecx, dword [ebp - 0x1d0]
mov dword [ebp - 0x1d4], ecx
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x1d4]
push edx
mov ecx, 0x443574
call fcn.00401380
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x16c]
call fcn.00401360
lea ecx, [ebp - 0x48]
call fcn.004014a0
push eax
push 0x43514c
call fcn.0042a0d0
add esp, 8
push 4
push 0x435164
mov ecx, 0x443574
call fcn.004014a0
push eax
mov ecx, dword [ebp - 0x1c4]
call fcn.00418a60
push str.mi_01
push 0x443558
lea eax, [ebp - 0x188]
push eax
call fcn.00403570
add esp, 0xc
mov dword [ebp - 0x1d8], eax
mov ecx, dword [ebp - 0x1d8]
mov dword [ebp - 0x1dc], ecx
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x1dc]
push edx
lea ecx, [ebp - 0x48]
call fcn.00401380
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x188]
call fcn.00401360
lea ecx, [ebp - 0x48]
call fcn.004014a0
push eax
push 0x435190
call fcn.0042a0d0
add esp, 8
push 4
push 0x4351a8
lea ecx, [ebp - 0x48]
call fcn.004014a0
push eax
mov ecx, dword [ebp - 0x1c4]
call fcn.00418a60
push str.mi_02
push 0x443558
lea eax, [ebp - 0x1a4]
push eax
call fcn.00403570
add esp, 0xc
mov dword [ebp - 0x1e0], eax
mov ecx, dword [ebp - 0x1e0]
mov dword [ebp - 0x1e4], ecx
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x1e4]
push edx
lea ecx, [ebp - 0x48]
call fcn.00401380
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x1a4]
call fcn.00401360
lea ecx, [ebp - 0x48]
call fcn.004014a0
push eax
push 0x4351d4
call fcn.0042a0d0
add esp, 8
push 4
push 0x4351ec
lea ecx, [ebp - 0x48]
call fcn.004014a0
push eax
mov ecx, dword [ebp - 0x1c4]
call fcn.00418a60
push 4
push 0x435210
mov ecx, 0x443558
call fcn.004014a0
push eax
mov ecx, dword [ebp - 0x1c4]
call fcn.00418a60
push 0x443558
lea ecx, [ebp - 0x48]
call fcn.00401380
lea ecx, [ebp - 0x48]
call fcn.004014a0
push eax
push str.Del_Device__ID:__s...
call fcn.0042a0d0
add esp, 8
push 4
push str.usbdevclass_00subclass_00prot_00
lea ecx, [ebp - 0x48]
call fcn.004014a0
push eax
mov ecx, dword [ebp - 0x1c4]
call fcn.00418a60
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4194a7
lea eax, [ebp - 0x1ac]
push eax
lea ecx, [ebp - 0x84]
call fcn.004065d0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x8c], edx
jmp 0x41976d
push 0
lea eax, [ebp - 0x1b4]
push eax
lea ecx, [ebp - 0x90]
call fcn.00406790
lea ecx, [ebp - 0x1bc]
push ecx
lea ecx, [ebp - 0x84]
call fcn.00406600
push eax
lea ecx, [ebp - 0x90]
call fcn.00406830
movzx edx, al
test edx, edx
je 0x4197ea
lea ecx, [ebp - 0x90]
call fcn.00406770
push eax
mov ecx, 0x443558
call fcn.00401380
mov ecx, 0x443558
call fcn.004014a0
push eax
push str.Begin_to_remove_single_Dev:__s
call fcn.0042a0d0
add esp, 8
push 4
push 0x435290
mov ecx, 0x443558
call fcn.004014a0
push eax
mov ecx, dword [ebp - 0x1c4]
call fcn.00418a60
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x419759
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xcc]
call fcn.00401360
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xb0]
call fcn.00401360
jmp 0x41937c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x88]
xor edx, edx
mov ecx, 0x3e8
div ecx
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov eax, dword [ebp + 8]
cmp dword [eax], 0xf
jge 0x419840
mov ecx, dword [ebp + 8]
mov edx, 0xf
sub edx, dword [ecx]
mov eax, dword [ebp + 8]
mov dword [eax], edx
jmp 0x419849
mov ecx, dword [ebp + 8]
mov dword [ecx], 0
push str.Reset_device_and_del__SUC...
call fcn.0042a0d0
add esp, 4
mov dword [ebp - 0x1c0], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call fcn.00401360
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00401360
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x84]
call fcn.004065b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.004065b0
mov eax, dword [ebp - 0x1c0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00407a6c
mov esp, ebp
pop ebp
ret 4