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

Disassembly:
sub esp, 0x130
cmp dword [0x5168ac], 4
jl 0x43c595
push dword [esp + 0x134]
push str.RefreshTree__i_
push 4
call fcn.0044d31e
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, 0x50a0ac
jmp 0x43c5c5
call ebx
sub eax, ebp
cmp eax, 0xa
ja 0x43cb94
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
call esi
test eax, eax
je 0x43c5b0
mov esi, dword [sym.imp.USER32.dll_KillTimer]
push 0x12340002
push dword [0x50a13c]
call esi
push 0x12340003
push dword [0x50a13c]
call esi
push 0x12340004
push dword [0x50a13c]
call esi
xor edi, edi
cmp dword [0x515e3c], edi
jne 0x43cb94
mov esi, dword [sym.imp.USER32.dll_GetScrollPos]
push edi
push dword [0x50a144]
xor ebp, ebp
inc ebp
mov dword [0x515e3c], ebp
mov dword [0x50a0fc], ebp
call esi
push ebp
push dword [0x50a148]
mov dword [esp + 0x20], eax
call esi
push 0x8a
push 0x50aac8
push 0x50a020
mov dword [esp + 0x30], eax
call fcn.00447767
mov eax, dword [0x50aaa8]
add esp, 0xc
cmp eax, dword [0x50aaa0]
jne 0x43c66a
push str.Root
push 0x50a07a
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x50ab5c
push 0x50ab58
push 0xb0
push dword [0x50a148]
call esi
call dword [sym.imp.USER32.dll_GetFocus]
push edi
push dword [0x50a13c]
mov dword [esp + 0x24], eax
call fcn.004299e8
push edi
push 9
push 0x110b
push dword [0x50a144]
call esi
push edi
push edi
mov dword [0x50aaa8], edi
mov dword [0x50c76c], edi
mov dword [0x50c768], edi
call fcn.004328a7
inc dword [0x50aab0]
push str.RefreshTree
push edi
push 0x7f02
call fcn.0043401d
push ebp
push dword [0x50a144]
call fcn.004289ad
push eax
call fcn.00433f11
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.00435316
push ebp
push dword [0x50a144]
call fcn.00428a0a
push eax
call fcn.00433f11
push eax
lea eax, [esp + 0xb8]
push eax
call fcn.00435316
call ebx
mov dword [esp + 0x20], eax
call fcn.0044b88b
push edi
mov dword [0x509a14], eax
mov dword [0x509410], edi
mov dword [0x50a018], edi
mov dword [0x509c3c], edi
mov dword [0x5099b4], edi
call fcn.004339ac
cmp dword [0x515e38], edi
je 0x43c757
mov dword [0x515e38], edi
jmp 0x43c763
push edi
push edi
push 0xb
push dword [0x50a144]
call esi
push edi
push 0x4346a0
push dword [0x50aaa0]
call fcn.00433bd7
push 0xffff0000
push edi
push 0x1101
push dword [0x50a144]
call esi
mov ecx, dword [0x50c788]
call fcn.00407db0
cmp dword [esp + 0x144], edi
jne 0x43c7bc
mov ecx, dword [0x50c784]
call fcn.0040de55
mov ecx, dword [0x50c790]
call fcn.004451c9
mov ecx, dword [0x50c78c]
call fcn.00405645
mov ecx, dword [0x50c788]
call fcn.0040d951
push 0x453999
push edi
push ebp
push dword [0x50aab4]
call fcn.00405e29
mov eax, dword [0x50c788]
add esp, 0x10
cmp dword [eax + 0xc], edi
mov dword [esp + 0x14], edi
jle 0x43c914
mov dword [esp + 0x10], 0x14
mov ecx, dword [esp + 0x10]
mov ebx, dword [ecx + eax]
lea eax, [ebx + 0xd64]
cmp word [eax], di
je 0x43c8ad
mov ecx, dword [0x50c78c]
push eax
call fcn.00401891
cmp eax, edi
je 0x43c8ad
cmp dword [ebx + 0x14], 3
jne 0x43c8a0
mov ecx, dword [ebx + 0xfc0]
mov ecx, dword [ecx + 0x610]
cmp ecx, edi
je 0x43c8a0
cmp dword [ecx + 0xfd0], edi
jne 0x43c85e
push dword [eax + 0x18]
mov ecx, dword [0x50c78c]
call fcn.00401afc
mov ecx, dword [ebx + 0xfc0]
mov ecx, dword [ecx + 0x610]
mov dword [ecx + 0xfd0], eax
mov eax, dword [ebx + 0xfc0]
mov eax, dword [eax + 0x610]
cmp dword [eax + 0xfd0], edi
je 0x43c8a0
cmp word [eax + 0xd64], di
jne 0x43c8a0
mov eax, dword [ebx + 0xfc0]
mov eax, dword [eax + 0x610]
mov ecx, dword [eax + 0xfd0]
add ecx, 0x1c38
push ecx
add eax, 0xd64
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [ebx + 4], 0x1000
jg 0x43c9ac
lea eax, [ebx + 0x20]
push eax
push edi
push ebx
call fcn.0040a9a4
lea eax, [ebx + 0x424]
push eax
push ebp
push ebx
call fcn.0040a9a4
mov eax, dword [ebx + 0x824]
cmp word [eax], di
jne 0x43c8f3
mov ebx, dword [ebx + 0xfc8]
cmp ebx, edi
je 0x43c8f3
mov ebx, dword [ebx + 0x10]
cmp ebx, edi
je 0x43c8f3
cmp dword [ebx + 0x1f], edi
je 0x43c8f3
push str.USB_Device
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
inc dword [esp + 0x14]
mov eax, dword [0x50c788]
mov ecx, dword [esp + 0x14]
add dword [esp + 0x10], 4
cmp ecx, dword [eax + 0xc]
jl 0x43c7f6
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.0044d31e
add esp, 0xc
call fcn.0043c343
cmp word [esp + 0x28], di
jne 0x43c957
cmp word [esp + 0x82], di
jne 0x43c957
cmp word [esp + 0xb4], di
jne 0x43c957
cmp word [esp + 0x10e], di
je 0x43ca58
push edi
push 0xa
push 0x110a
push dword [0x50a144]
call esi
mov dword [esp + 0x10], eax
cmp eax, edi
je 0x43ca58
push dword [esp + 0x10]
call fcn.00433f11
mov ebx, eax
cmp ebx, edi
jne 0x43c9dc
push str.RefreshTree
push 0x2871
push str..UsbTreeView.cpp
push str.INT3_in__S_line__u__function__S
push ebp
call fcn.0044d31e
add esp, 0x14
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x43ca4e
push str.RefreshTree
push 0x2847
push str..UsbTreeView.cpp
push str.INT3_in__S_line__u__function__S
push ebp
call fcn.0044d31e
add esp, 0x14
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [0x515e3c], edi
jmp 0x43cb94
push ebx
lea eax, [esp + 0x2c]
push eax
call fcn.0043535d
test eax, eax
je 0x43ca08
push dword [ebx + 8]
call fcn.00434e94
test eax, eax
je 0x43ca08
push dword [ebx + 8]
push edi
push 0x1114
push dword [0x50a144]
call esi
push ebx
lea eax, [esp + 0xb8]
push eax
call fcn.0043535d
test eax, eax
je 0x43ca37
push dword [ebx + 8]
call fcn.00434e94
test eax, eax
je 0x43ca37
push dword [ebx + 8]
push edi
push 0x1114
push dword [0x50a144]
call esi
push dword [esp + 0x10]
push 7
push 0x110a
push dword [0x50a144]
call esi
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], edi
jne 0x43c973
push 0x50a020
push dword [0x50aaa0]
call fcn.00433ea7
push ebp
push dword [esp + 0x1c]
push edi
push dword [0x50a144]
call dword [sym.imp.USER32.dll_SetScrollPos]
push dword [esp + 0x24]
push edi
push 0xb6
push dword [0x50a148]
call esi
push edi
push ebp
push 0xb
push dword [0x50a144]
call esi
push edi
push ebp
push 0xb
push dword [0x50a148]
call esi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [0x50a144]
call ebx
push 5
push dword [0x50a148]
call ebx
push 5
push dword [0x50a154]
call ebx
push 5
push dword [0x50a15c]
call ebx
call fcn.0043381e
push edi
call fcn.004339ac
push ebp
call fcn.004339ac
push ebp
push edi
push dword [0x50a148]
mov dword [0x50a0fc], edi
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [0x50a148]
mov ebx, dword [sym.imp.USER32.dll_UpdateWindow]
call ebx
push dword [0x50a13c]
call ebx
push edi
push edi
mov ebp, 0xb1
push ebp
push dword [0x50a148]
call esi
push 0x85
push edi
push edi
push dword [0x50a13c]
call dword [sym.imp.USER32.dll_RedrawWindow]
push dword [0x50a148]
call ebx
push dword [0x50a13c]
call ebx
push dword [esp + 0x1c]
push dword [0x50a13c]
call fcn.004299e8
push edi
push edi
push ebp
push dword [0x50a148]
call esi
mov ecx, dword [0x50c788]
call fcn.00409cca
push 0x64
call fcn.00438628
push 0x50a0ac
mov dword [0x515e3c], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [0x5168ac], 4
jl 0x43cb94
push str.end_RefreshTree__
push 4
call fcn.0044d31e
pop ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x130
ret 4