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

Disassembly:
sub esp, 0x134
cmp dword [0x506fb4], 4
jl 0x4357ee
push dword [esp + 0x138]
push str.RefreshTree__i_
push 4
call fcn.004452a3
add esp, 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebp
push esi
push edi
call ebx
mov esi, dword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
mov ebp, eax
mov edi, 0x4fa4d4
jmp 0x43581e
call ebx
sub eax, ebp
cmp eax, 0xa
ja 0x435df0
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
call esi
test eax, eax
je 0x435809
mov esi, dword [sym.imp.USER32.dll_KillTimer]
push 0x12340002
push dword [0x4fa548]
call esi
push 0x12340003
push dword [0x4fa548]
call esi
push 0x12340004
push dword [0x4fa548]
call esi
xor esi, esi
cmp dword [0x505f50], esi
jne 0x435df0
mov edi, dword [sym.imp.USER32.dll_GetScrollPos]
push esi
push dword [0x4fa550]
xor ebp, ebp
inc ebp
mov dword [0x505f50], ebp
mov dword [0x4fa51c], ebp
call edi
push ebp
push dword [0x4fa554]
mov dword [esp + 0x24], eax
call edi
push 0x8a
push 0x4fac90
push 0x4fa448
mov dword [esp + 0x34], eax
call fcn.0043f542
mov eax, dword [0x4fac6c]
add esp, 0xc
cmp eax, dword [0x4fac64]
jne 0x4358c3
push str.Root
push 0x4fa4a2
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x4fad1c
push 0x4fac8c
push 0xb0
push dword [0x4fa554]
call edi
call dword [sym.imp.USER32.dll_GetFocus]
push esi
push dword [0x4fa548]
mov dword [esp + 0x28], eax
call fcn.00426804
push esi
push 9
push 0x110b
push dword [0x4fa550]
call edi
push esi
push esi
mov dword [0x4fac6c], esi
mov dword [0x4fc92c], esi
mov dword [0x4fc928], esi
call fcn.0042db22
inc dword [0x4fac74]
push str.RefreshTree
push esi
push 0x7f02
call fcn.0042ed07
push ebp
push dword [0x4fa550]
call fcn.004258c3
push eax
call fcn.0042ebfb
push eax
lea eax, [esp + 0x30]
push eax
call fcn.0042fd3c
push ebp
push dword [0x4fa550]
call fcn.00425920
push eax
call fcn.0042ebfb
push eax
lea eax, [esp + 0xbc]
push eax
call fcn.0042fd3c
call ebx
mov dword [esp + 0x24], eax
call fcn.00443dfa
push esi
mov dword [0x4f9ee4], eax
mov dword [0x4f9970], esi
mov dword [0x4fa444], esi
mov dword [0x4f9f4c], esi
mov dword [0x4f9ee0], esi
call fcn.0042e718
cmp dword [0x505f4c], esi
je 0x4359b0
mov dword [0x505f4c], esi
jmp 0x4359bc
push esi
push esi
push 0xb
push dword [0x4fa550]
call edi
push esi
push 0x42f378
push dword [0x4fac64]
call fcn.0042e943
push 0xffff0000
push esi
push 0x1101
push dword [0x4fa550]
call edi
mov ecx, dword [0x4fc948]
call fcn.0040737b
cmp dword [esp + 0x148], esi
jne 0x435a15
mov ecx, dword [0x4fc944]
call fcn.0040c627
mov ecx, dword [0x4fc950]
call fcn.0043cee9
mov ecx, dword [0x4fc94c]
call fcn.00404f35
mov ecx, dword [0x4fc948]
call fcn.0040c149
push 0x44b285
push esi
push ebp
push dword [0x4fac78]
call fcn.00405605
mov eax, dword [0x4fc948]
add esp, 0x10
cmp dword [eax + 0xc], esi
mov dword [esp + 0x10], esi
jle 0x435b9a
mov dword [esp + 0x14], 0x14
mov ecx, dword [esp + 0x14]
mov ebx, dword [ecx + eax]
lea eax, [ebx + 0xd4c]
cmp word [eax], si
je 0x435b33
mov ecx, dword [0x4fc94c]
push eax
call fcn.0040187b
mov dword [esp + 0x18], eax
cmp eax, esi
je 0x435b33
cmp dword [ebx + 0xfc0], eax
je 0x435a90
push ebp
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x18]
mov ecx, dword [ebx + 0xfb4]
cmp ecx, esi
je 0x435aaa
cmp dword [ecx + 4], eax
je 0x435aaa
push ebp
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x18]
cmp dword [ebx + 0x10], 3
jne 0x435b26
mov ecx, dword [ebx + 0xfa8]
mov ecx, dword [ecx + 0x610]
cmp dword [ecx + 0xfc0], esi
jne 0x435ae4
push dword [eax + 0x18]
mov ecx, dword [0x4fc94c]
call fcn.00401ad5
mov ecx, dword [ebx + 0xfa8]
mov ecx, dword [ecx + 0x610]
mov dword [ecx + 0xfc0], eax
mov eax, dword [ebx + 0xfa8]
mov eax, dword [eax + 0x610]
cmp dword [eax + 0xfc0], esi
je 0x435b26
cmp word [eax + 0xd4c], si
jne 0x435b26
mov eax, dword [ebx + 0xfa8]
mov eax, dword [eax + 0x610]
mov ecx, dword [eax + 0xfc0]
add ecx, 0x1c34
push ecx
add eax, 0xd4c
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [ebx + 4], 0x1000
jg 0x435be5
lea eax, [ebx + 0x18]
push eax
push esi
push ebx
call fcn.004098c8
lea eax, [ebx + 0x41c]
push eax
push ebp
push ebx
call fcn.004098c8
mov eax, dword [ebx + 0x81c]
cmp word [eax], si
jne 0x435b79
mov ebx, dword [ebx + 0xfb0]
cmp ebx, esi
je 0x435b79
mov ebx, dword [ebx + 0x10]
cmp ebx, esi
je 0x435b79
cmp dword [ebx + 0x1f], esi
je 0x435b79
push str.USB_Device
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
inc dword [esp + 0x10]
mov eax, dword [0x4fc948]
mov ecx, dword [esp + 0x10]
add dword [esp + 0x14], 4
cmp ecx, dword [eax + 0xc]
jl 0x435a4f
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
sub eax, dword [esp + 0x24]
push eax
push str._overall_time_u_
push ebp
call fcn.004452a3
add esp, 0xc
call fcn.004355a7
cmp word [esp + 0x2c], si
jne 0x435bdd
cmp word [esp + 0x86], si
jne 0x435bdd
cmp word [esp + 0xb8], si
jne 0x435bdd
cmp word [esp + 0x112], si
je 0x435cc6
push esi
push 0xa
jmp 0x435caf
push str.RefreshTree
push 0x20d9
push str..UsbTreeView.cpp
push str.INT3_in__S_line__u__function__S
push ebp
call fcn.004452a3
add esp, 0x14
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [0x505f50], esi
jmp 0x435df0
push ebx
call fcn.0042ebfb
mov dword [esp + 0x10], eax
cmp eax, esi
jne 0x435c4a
push str.RefreshTree
push 0x20fc
push str..UsbTreeView.cpp
push str.INT3_in__S_line__u__function__S
push ebp
call fcn.004452a3
add esp, 0x14
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x435cbe
push eax
lea eax, [esp + 0x30]
push eax
call fcn.0042fd83
test eax, eax
je 0x435c78
mov eax, dword [esp + 0x10]
push dword [eax + 8]
call fcn.0042fb24
test eax, eax
je 0x435c78
push ebx
push esi
push 0x1114
push dword [0x4fa550]
call edi
push dword [esp + 0x10]
lea eax, [esp + 0xbc]
push eax
call fcn.0042fd83
test eax, eax
je 0x435cac
mov eax, dword [esp + 0x10]
push dword [eax + 8]
call fcn.0042fb24
test eax, eax
je 0x435cac
push ebx
push esi
push 0x1114
push dword [0x4fa550]
call edi
push ebx
push 7
push 0x110a
push dword [0x4fa550]
call edi
mov ebx, eax
cmp ebx, esi
jne 0x435c15
push 0x4fa448
push dword [0x4fac64]
call fcn.0042eb91
push ebp
push dword [esp + 0x20]
push esi
push dword [0x4fa550]
call dword [sym.imp.USER32.dll_SetScrollPos]
push dword [esp + 0x28]
push esi
push 0xb6
push dword [0x4fa554]
call edi
push esi
push ebp
push 0xb
push dword [0x4fa550]
call edi
push esi
push ebp
push 0xb
push dword [0x4fa554]
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [0x4fa550]
call ebx
push 5
push dword [0x4fa554]
call ebx
push 5
push dword [0x4fa560]
call ebx
push 5
push dword [0x4fa568]
call ebx
call fcn.0042e58a
push esi
call fcn.0042e718
push ebp
call fcn.0042e718
push ebp
push esi
push dword [0x4fa554]
mov dword [0x4fa51c], esi
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [0x4fa554]
mov ebx, dword [sym.imp.USER32.dll_UpdateWindow]
call ebx
push dword [0x4fa548]
call ebx
push esi
push esi
push 0xb1
push dword [0x4fa554]
call edi
push 0x85
push esi
push esi
push dword [0x4fa548]
call dword [sym.imp.USER32.dll_RedrawWindow]
push dword [0x4fa554]
call ebx
push dword [0x4fa548]
call ebx
push dword [esp + 0x20]
push dword [0x4fa548]
call fcn.00426804
call fcn.0043546a
push 0x64
call fcn.004320b5
push 0x4fa4d4
mov dword [0x505f50], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [0x506fb4], 4
jl 0x435df0
push str.end_RefreshTree__
push 4
call fcn.004452a3
pop ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x134
ret 4