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

Disassembly:
sub esp, 0x130
cmp dword [0x512584], 4
jl 0x439882
push dword [esp + 0x134]
push str.RefreshTree__i_
push 4
call fcn.00449e4d
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, 0x505ba4
jmp 0x4398b2
call ebx
sub eax, ebp
cmp eax, 0xa
ja 0x439e75
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
call esi
test eax, eax
je 0x43989d
mov esi, dword [sym.imp.USER32.dll_KillTimer]
push 0x12340002
push dword [0x505c28]
call esi
push 0x12340003
push dword [0x505c28]
call esi
push 0x12340004
push dword [0x505c28]
call esi
xor esi, esi
cmp dword [0x51170c], esi
jne 0x439e75
mov edi, dword [sym.imp.USER32.dll_GetScrollPos]
push esi
push dword [0x505c30]
xor ebp, ebp
inc ebp
mov dword [0x51170c], ebp
mov dword [0x505bec], ebp
call edi
push ebp
push dword [0x505c34]
mov dword [esp + 0x20], eax
call edi
push 0x8a
push 0x5063a8
push 0x505b18
mov dword [esp + 0x30], eax
call fcn.00444400
mov eax, dword [0x506384]
add esp, 0xc
cmp eax, dword [0x50637c]
jne 0x439957
push str.Root
push 0x505b72
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x506438
push 0x506434
push 0xb0
push dword [0x505c34]
call edi
call dword [sym.imp.USER32.dll_GetFocus]
push esi
push dword [0x505c28]
mov dword [esp + 0x24], eax
call fcn.004289f4
push esi
push 9
push 0x110b
push dword [0x505c30]
call edi
push esi
push esi
mov dword [0x506384], esi
mov dword [0x508048], esi
mov dword [0x506e3c], esi
call fcn.004305a8
inc dword [0x50638c]
push str.RefreshTree
push esi
push 0x7f02
call fcn.004318be
push ebp
push dword [0x505c30]
call fcn.004279b5
push eax
call fcn.004317b2
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.00432ab8
push ebp
push dword [0x505c30]
call fcn.00427a12
push eax
call fcn.004317b2
push eax
lea eax, [esp + 0xb8]
push eax
call fcn.00432ab8
call ebx
mov dword [esp + 0x20], eax
call fcn.004483ce
push esi
mov dword [0x5055a8], eax
mov dword [0x504fc0], esi
mov dword [0x505b10], esi
mov dword [0x505734], esi
mov dword [0x505564], esi
call fcn.0043124d
cmp dword [0x511708], esi
je 0x439a44
mov dword [0x511708], esi
jmp 0x439a50
push esi
push esi
push 0xb
push dword [0x505c30]
call edi
push esi
push 0x431f41
push dword [0x50637c]
call fcn.00431478
push 0xffff0000
push esi
push 0x1101
push dword [0x505c30]
call edi
mov ecx, dword [0x508064]
call fcn.004074bb
cmp dword [esp + 0x144], esi
jne 0x439aa9
mov ecx, dword [0x508060]
call fcn.0040d336
mov ecx, dword [0x50806c]
call fcn.00441d7b
mov ecx, dword [0x508068]
call fcn.00405427
mov ecx, dword [0x508064]
call fcn.0040ce33
push 0x4507c1
push esi
push ebp
push dword [0x506390]
call fcn.00405bdb
mov eax, dword [0x508064]
add esp, 0x10
cmp dword [eax + 0xc], esi
mov dword [esp + 0x14], esi
jle 0x439c01
mov dword [esp + 0x10], 0x14
mov ecx, dword [esp + 0x10]
mov ebx, dword [ecx + eax]
lea eax, [ebx + 0xd60]
cmp word [eax], si
je 0x439b9a
mov ecx, dword [0x508068]
push eax
call fcn.00401875
cmp eax, esi
je 0x439b9a
cmp dword [ebx + 0x10], 3
jne 0x439b8d
mov ecx, dword [ebx + 0xfbc]
mov ecx, dword [ecx + 0x610]
cmp ecx, esi
je 0x439b8d
cmp dword [ecx + 0xfcc], esi
jne 0x439b4b
push dword [eax + 0x18]
mov ecx, dword [0x508068]
call fcn.00401ae0
mov ecx, dword [ebx + 0xfbc]
mov ecx, dword [ecx + 0x610]
mov dword [ecx + 0xfcc], eax
mov eax, dword [ebx + 0xfbc]
mov eax, dword [eax + 0x610]
cmp dword [eax + 0xfcc], esi
je 0x439b8d
cmp word [eax + 0xd60], si
jne 0x439b8d
mov eax, dword [ebx + 0xfbc]
mov eax, dword [eax + 0x610]
mov ecx, dword [eax + 0xfcc]
add ecx, 0x1c38
push ecx
add eax, 0xd60
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [ebx + 4], 0x1000
jg 0x439c99
lea eax, [ebx + 0x1c]
push eax
push esi
push ebx
call fcn.00409f85
lea eax, [ebx + 0x420]
push eax
push ebp
push ebx
call fcn.00409f85
mov eax, dword [ebx + 0x820]
cmp word [eax], si
jne 0x439be0
mov ebx, dword [ebx + 0xfc4]
cmp ebx, esi
je 0x439be0
mov ebx, dword [ebx + 0x10]
cmp ebx, esi
je 0x439be0
cmp dword [ebx + 0x1f], esi
je 0x439be0
push str.USB_Device
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
inc dword [esp + 0x14]
mov eax, dword [0x508064]
mov ecx, dword [esp + 0x14]
add dword [esp + 0x10], 4
cmp ecx, dword [eax + 0xc]
jl 0x439ae3
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
sub eax, dword [esp + 0x20]
push eax
push str._overall_time_u_
push ebp
call fcn.00449e4d
add esp, 0xc
call fcn.0043961d
cmp word [esp + 0x28], si
jne 0x439c44
cmp word [esp + 0x82], si
jne 0x439c44
cmp word [esp + 0xb4], si
jne 0x439c44
cmp word [esp + 0x10e], si
je 0x439d45
push esi
push 0xa
push 0x110a
push dword [0x505c30]
call edi
mov dword [esp + 0x10], eax
cmp eax, esi
je 0x439d45
push dword [esp + 0x10]
call fcn.004317b2
mov ebx, eax
cmp ebx, esi
jne 0x439cc9
push str.RefreshTree
push 0x2540
push str..UsbTreeView.cpp
push str.INT3_in__S_line__u__function__S
push ebp
call fcn.00449e4d
add esp, 0x14
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x439d3b
push str.RefreshTree
push 0x2516
push str..UsbTreeView.cpp
push str.INT3_in__S_line__u__function__S
push ebp
call fcn.00449e4d
add esp, 0x14
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [0x51170c], esi
jmp 0x439e75
push ebx
lea eax, [esp + 0x2c]
push eax
call fcn.00432aff
test eax, eax
je 0x439cf5
push dword [ebx + 8]
call fcn.00432721
test eax, eax
je 0x439cf5
push dword [ebx + 8]
push esi
push 0x1114
push dword [0x505c30]
call edi
push ebx
lea eax, [esp + 0xb8]
push eax
call fcn.00432aff
test eax, eax
je 0x439d24
push dword [ebx + 8]
call fcn.00432721
test eax, eax
je 0x439d24
push dword [ebx + 8]
push esi
push 0x1114
push dword [0x505c30]
call edi
push dword [esp + 0x10]
push 7
push 0x110a
push dword [0x505c30]
call edi
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], esi
jne 0x439c60
push 0x505b18
push dword [0x50637c]
call fcn.00431748
push ebp
push dword [esp + 0x1c]
push esi
push dword [0x505c30]
call dword [sym.imp.USER32.dll_SetScrollPos]
push dword [esp + 0x24]
push esi
push 0xb6
push dword [0x505c34]
call edi
push esi
push ebp
push 0xb
push dword [0x505c30]
call edi
push esi
push ebp
push 0xb
push dword [0x505c34]
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [0x505c30]
call ebx
push 5
push dword [0x505c34]
call ebx
push 5
push dword [0x505c40]
call ebx
push 5
push dword [0x505c48]
call ebx
call fcn.004310bf
push esi
call fcn.0043124d
push ebp
call fcn.0043124d
push ebp
push esi
push dword [0x505c34]
mov dword [0x505bec], esi
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [0x505c34]
mov ebx, dword [sym.imp.USER32.dll_UpdateWindow]
call ebx
push dword [0x505c28]
call ebx
push esi
push esi
push 0xb1
push dword [0x505c34]
call edi
push 0x85
push esi
push esi
push dword [0x505c28]
call dword [sym.imp.USER32.dll_RedrawWindow]
push dword [0x505c34]
call ebx
push dword [0x505c28]
call ebx
push dword [esp + 0x1c]
push dword [0x505c28]
call fcn.004289f4
mov ecx, dword [0x508064]
call fcn.004092b6
push 0x64
call fcn.0043591a
push 0x505ba4
mov dword [0x51170c], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [0x512584], 4
jl 0x439e75
push str.end_RefreshTree__
push 4
call fcn.00449e4d
pop ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x130
ret 4