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

Disassembly:
sub esp, 0x13c
cmp dword [0x50da14], 4
jl 0x439341
push dword [esp + 0x140]
push str.RefreshTree__i_
push 4
call fcn.004487a4
add esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov esi, dword [sym.imp.KERNEL32.dll_TryEnterCriticalSection]
mov ebp, eax
mov ebx, 0x50103c
jmp 0x439371
call edi
sub eax, ebp
cmp eax, 0xa
ja 0x4399b6
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
call esi
test eax, eax
je 0x43935c
mov esi, dword [sym.imp.USER32.dll_KillTimer]
push 0x12340002
push dword [0x5010bc]
call esi
push 0x12340003
push dword [0x5010bc]
call esi
push 0x12340004
push dword [0x5010bc]
call esi
xor edi, edi
cmp dword [0x50cba4], edi
jne 0x4399b6
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 5
mov ebx, 0x110a
push ebx
push dword [0x5010c4]
xor ebp, ebp
inc ebp
mov dword [0x50cba4], ebp
mov dword [0x501084], ebp
call esi
push edi
push 0xa
push ebx
push dword [0x5010c4]
mov dword [esp + 0x34], eax
call esi
mov ebx, dword [sym.imp.USER32.dll_GetScrollPos]
push edi
push dword [0x5010c4]
mov dword [esp + 0x24], eax
call ebx
push ebp
push dword [0x5010c8]
mov dword [esp + 0x34], eax
call ebx
push 0x8a
push 0x501838
push 0x500fb0
mov dword [esp + 0x2c], eax
call fcn.00442d99
mov eax, dword [0x501818]
add esp, 0xc
cmp eax, dword [0x501810]
jne 0x439441
push str.Root
push 0x50100a
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x5018cc
push 0x5018c8
push 0xb0
push dword [0x5010c8]
call esi
call dword [sym.imp.USER32.dll_GetFocus]
push edi
push dword [0x5010bc]
mov dword [esp + 0x30], eax
call fcn.00427ffa
push edi
push 9
push 0x110b
push dword [0x5010c4]
call esi
push edi
push edi
mov dword [0x501818], edi
mov dword [0x5034dc], edi
mov dword [0x5034d8], edi
call fcn.0042f737
inc dword [0x501820]
push str.RefreshTree
push edi
push 0x7f02
call fcn.004309d8
push ebp
push dword [0x5010c4]
call fcn.0042703b
push eax
call fcn.004308cc
push eax
lea eax, [esp + 0x38]
push eax
call fcn.00431b32
push ebp
push dword [0x5010c4]
call fcn.00427098
push eax
call fcn.004308cc
push eax
lea eax, [esp + 0xc4]
push eax
call fcn.00431b32
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x30], eax
call fcn.00446cef
push edi
mov dword [0x500a40], eax
mov dword [0x500458], edi
mov dword [0x500fa8], edi
mov dword [0x500bcc], edi
mov dword [0x5009fc], edi
call fcn.00430367
cmp dword [0x50cba0], edi
je 0x43952c
mov dword [0x50cba0], edi
jmp 0x439538
push edi
push edi
push 0xb
push dword [0x5010c4]
call esi
push edi
push 0x43105e
push dword [0x501810]
call fcn.00430592
push 0xffff0000
push edi
push 0x1101
push dword [0x5010c4]
call esi
mov ecx, dword [0x5034f8]
call fcn.004072e2
cmp dword [esp + 0x150], edi
jne 0x439591
mov ecx, dword [0x5034f4]
call fcn.0040ce1a
mov ecx, dword [0x503500]
call fcn.00440732
mov ecx, dword [0x5034fc]
call fcn.00405309
mov ecx, dword [0x5034f8]
call fcn.0040c938
push 0x44e735
push edi
push ebp
push dword [0x501824]
call fcn.00405a42
mov eax, dword [0x5034f8]
add esp, 0x10
cmp dword [eax + 0xc], edi
mov dword [esp + 0x10], edi
jle 0x439710
mov dword [esp + 0x14], 0x14
mov ecx, dword [esp + 0x14]
mov ebx, dword [ecx + eax]
lea eax, [ebx + 0xd60]
cmp word [eax], di
je 0x4396af
mov ecx, dword [0x5034fc]
push eax
call fcn.00401862
mov dword [esp + 0x18], eax
cmp eax, edi
je 0x4396af
cmp dword [ebx + 0xfcc], eax
je 0x43960c
push ebp
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x18]
mov ecx, dword [ebx + 0xfc8]
cmp ecx, edi
je 0x439626
cmp dword [ecx + 4], eax
je 0x439626
push ebp
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x18]
cmp dword [ebx + 0x10], 3
jne 0x4396a2
mov ecx, dword [ebx + 0xfbc]
mov ecx, dword [ecx + 0x610]
cmp dword [ecx + 0xfcc], edi
jne 0x439660
push dword [eax + 0x18]
mov ecx, dword [0x5034fc]
call fcn.00401acd
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], edi
je 0x4396a2
cmp word [eax + 0xd60], di
jne 0x4396a2
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 0x4397cf
lea eax, [ebx + 0x1c]
push eax
push edi
push ebx
call fcn.00409d17
lea eax, [ebx + 0x420]
push eax
push ebp
push ebx
call fcn.00409d17
mov eax, dword [ebx + 0x820]
cmp word [eax], di
jne 0x4396f5
mov ebx, dword [ebx + 0xfc4]
cmp ebx, edi
je 0x4396f5
mov ebx, dword [ebx + 0x10]
cmp ebx, edi
je 0x4396f5
cmp dword [ebx + 0x1f], edi
je 0x4396f5
push str.USB_Device
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
inc dword [esp + 0x10]
mov eax, dword [0x5034f8]
mov ecx, dword [esp + 0x10]
add dword [esp + 0x14], 4
cmp ecx, dword [eax + 0xc]
jl 0x4395cb
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x30]
push eax
push str._overall_time_u_
push ebp
call fcn.004487a4
add esp, 0xc
call fcn.004390dc
push dword [esp + 0x24]
mov ebx, 0x1114
push edi
push ebx
push dword [0x5010c4]
call esi
push dword [esp + 0x1c]
push edi
push ebx
push dword [0x5010c4]
call esi
cmp word [esp + 0x34], di
jne 0x439778
cmp word [esp + 0x8e], di
jne 0x439778
cmp word [esp + 0xc0], di
jne 0x439778
cmp word [esp + 0x11a], di
je 0x439886
push edi
push 0xa
push 0x110a
push dword [0x5010c4]
call esi
mov dword [esp + 0x14], eax
cmp eax, edi
je 0x439886
push dword [esp + 0x14]
call fcn.004308cc
mov dword [esp + 0x10], eax
cmp eax, edi
jne 0x4397ff
push str.RefreshTree
push 0x24d7
push str..UsbTreeView.cpp
push str.INT3_in__S_line__u__function__S
push ebp
call fcn.004487a4
add esp, 0x14
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x43987c
push str.RefreshTree
push 0x24aa
push str..UsbTreeView.cpp
push str.INT3_in__S_line__u__function__S
push ebp
call fcn.004487a4
add esp, 0x14
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [0x50cba4], edi
jmp 0x4399b6
push eax
lea eax, [esp + 0x38]
push eax
call fcn.00431b79
test eax, eax
je 0x43982f
mov eax, dword [esp + 0x10]
push dword [eax + 8]
call fcn.0043183e
test eax, eax
je 0x43982f
mov eax, dword [esp + 0x10]
push dword [eax + 8]
push edi
push ebx
push dword [0x5010c4]
call esi
push dword [esp + 0x10]
lea eax, [esp + 0xc4]
push eax
call fcn.00431b79
test eax, eax
je 0x439865
mov eax, dword [esp + 0x10]
push dword [eax + 8]
call fcn.0043183e
test eax, eax
je 0x439865
mov eax, dword [esp + 0x10]
push dword [eax + 8]
push edi
push ebx
push dword [0x5010c4]
call esi
push dword [esp + 0x14]
push 7
push 0x110a
push dword [0x5010c4]
call esi
mov dword [esp + 0x14], eax
cmp dword [esp + 0x14], edi
jne 0x439794
push 0x500fb0
push dword [0x501810]
call fcn.00430862
push ebp
push dword [esp + 0x30]
push edi
push dword [0x5010c4]
call dword [sym.imp.USER32.dll_SetScrollPos]
push dword [esp + 0x20]
push edi
push 0xb6
push dword [0x5010c8]
call esi
push edi
push ebp
push 0xb
push dword [0x5010c4]
call esi
push edi
push ebp
push 0xb
push dword [0x5010c8]
call esi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [0x5010c4]
call ebx
push 5
push dword [0x5010c8]
call ebx
push 5
push dword [0x5010d4]
call ebx
push 5
push dword [0x5010dc]
call ebx
call fcn.004301d9
push edi
call fcn.00430367
push ebp
call fcn.00430367
push ebp
push edi
push dword [0x5010c8]
mov dword [0x501084], edi
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [0x5010c8]
mov ebx, dword [sym.imp.USER32.dll_UpdateWindow]
call ebx
push dword [0x5010bc]
call ebx
push edi
push edi
push 0xb1
push dword [0x5010c8]
call esi
push 0x85
push edi
push edi
push dword [0x5010bc]
call dword [sym.imp.USER32.dll_RedrawWindow]
push dword [0x5010c8]
call ebx
push dword [0x5010bc]
call ebx
push dword [esp + 0x28]
push dword [0x5010bc]
call fcn.00427ffa
mov ecx, dword [0x5034f8]
call fcn.00409063
push 0x64
call fcn.00434739
push 0x50103c
mov dword [0x50cba4], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [0x50da14], 4
jl 0x4399b6
push str.end_RefreshTree__
push 4
call fcn.004487a4
pop ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x13c
ret 4