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

Disassembly:
sub esp, 0x138
cmp dword [0x51adac], 4
jl 0x43e23c
push dword [esp + 0x13c]
push str.RefreshTree__i_
push 4
call fcn.0044fe2e
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, 0x50e5e8
jmp 0x43e26c
call ebx
sub eax, ebp
cmp eax, 0xa
ja 0x43e83e
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
call esi
test eax, eax
je 0x43e257
mov esi, dword [sym.imp.USER32.dll_KillTimer]
push 0x12340002
push dword [0x50e67c]
call esi
push 0x12340003
push dword [0x50e67c]
call esi
push 0x12340004
push dword [0x50e67c]
call esi
xor esi, esi
cmp dword [0x51a2f4], esi
jne 0x43e83e
mov edi, dword [sym.imp.USER32.dll_GetScrollPos]
push esi
push dword [0x50e684]
xor ebp, ebp
inc ebp
mov dword [0x51a2f4], ebp
mov dword [0x50e63c], ebp
call edi
push ebp
push dword [0x50e688]
mov dword [esp + 0x20], eax
call edi
push 0x90
push 0x50d9b8
push 0x50e558
mov dword [esp + 0x30], eax
call fcn.00449ce2
mov eax, dword [0x50efe8]
add esp, 0xc
cmp eax, dword [0x50efe0]
jne 0x43e311
push str.Root
push 0x50e5b6
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x50f010
push 0x50f00c
push 0xb0
push dword [0x50e688]
call edi
call dword [sym.imp.USER32.dll_GetFocus]
push esi
push dword [0x50e67c]
mov dword [esp + 0x24], eax
call fcn.0042a84d
push esi
push 9
push 0x110b
push dword [0x50e684]
call edi
push esi
push esi
mov dword [0x50efe8], esi
mov dword [0x510c24], esi
mov dword [0x510c20], esi
call fcn.0043412b
inc dword [0x50eff0]
push str.RefreshTree
push esi
push 0x7f02
call fcn.00435888
push ebp
push dword [0x50e684]
call fcn.00429836
push eax
call fcn.0043577c
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.00436aa2
push ebp
push dword [0x50e684]
call fcn.00429893
push eax
call fcn.0043577c
push eax
lea eax, [esp + 0xbc]
push eax
call fcn.00436aa2
call ebx
mov dword [esp + 0x20], eax
call fcn.0044dfb0
push esi
mov dword [0x50df3c], eax
mov dword [0x50d8a8], esi
mov dword [0x50e550], esi
mov dword [0x50e16c], esi
mov dword [0x50dedc], esi
call fcn.0043527c
cmp dword [0x51a2f0], esi
je 0x43e3fe
mov dword [0x51a2f0], esi
jmp 0x43e40a
push esi
push esi
push 0xb
push dword [0x50e684]
call edi
push esi
push 0x435f10
push dword [0x50efe0]
call fcn.00435441
push 0xffff0000
push esi
push 0x1101
push dword [0x50e684]
call edi
mov ecx, dword [0x510c40]
call fcn.00407e45
cmp dword [esp + 0x14c], esi
jne 0x43e463
mov ecx, dword [0x510c3c]
call fcn.0040e742
mov ecx, dword [0x510c48]
call fcn.00447744
mov ecx, dword [0x510c44]
call fcn.00405795
mov ecx, dword [0x510c40]
call fcn.0040e221
push 0x4569e1
push esi
push ebp
push dword [0x50eff4]
call fcn.00405f8f
mov eax, dword [0x510c40]
add esp, 0x10
cmp dword [eax + 0xc], esi
mov dword [esp + 0x14], esi
jle 0x43e5bb
mov dword [esp + 0x10], 0x14
mov ecx, dword [esp + 0x10]
mov ebx, dword [ecx + eax]
lea eax, [ebx + 0xde4]
cmp word [eax], si
je 0x43e554
mov ecx, dword [0x510c44]
push eax
call fcn.004019fa
cmp eax, esi
je 0x43e554
cmp dword [ebx + 0x18], 3
jne 0x43e547
mov ecx, dword [ebx + 0x1140]
mov ecx, dword [ecx + 0x610]
cmp ecx, esi
je 0x43e547
cmp dword [ecx + 0x1154], esi
jne 0x43e505
push dword [eax + 0x18]
mov ecx, dword [0x510c44]
call fcn.00401c56
mov ecx, dword [ebx + 0x1140]
mov ecx, dword [ecx + 0x610]
mov dword [ecx + 0x1154], eax
mov eax, dword [ebx + 0x1140]
mov eax, dword [eax + 0x610]
cmp dword [eax + 0x1154], esi
je 0x43e547
cmp word [eax + 0xde4], si
jne 0x43e547
mov eax, dword [ebx + 0x1140]
mov eax, dword [eax + 0x610]
mov ecx, dword [eax + 0x1154]
add ecx, 0x1cb8
push ecx
add eax, 0xde4
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [ebx + 4], 0x1000
jg 0x43e65e
lea eax, [ebx + 0x24]
push eax
push esi
push ebx
call fcn.0040ac0f
lea eax, [ebx + 0x428]
push eax
push ebp
push ebx
call fcn.0040ac0f
mov eax, dword [ebx + 0x828]
cmp word [eax], si
jne 0x43e59a
mov ebx, dword [ebx + 0x1148]
cmp ebx, esi
je 0x43e59a
mov ebx, dword [ebx + 0x14]
cmp ebx, esi
je 0x43e59a
cmp dword [ebx + 0x1f], esi
je 0x43e59a
push str.USB_Device
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
inc dword [esp + 0x14]
mov eax, dword [0x510c40]
mov ecx, dword [esp + 0x14]
add dword [esp + 0x10], 4
cmp ecx, dword [eax + 0xc]
jl 0x43e49d
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.0044fe2e
add esp, 0xc
call fcn.0043dfea
cmp dword [esp + 0x28], 2
je 0x43e704
cmp word [esp + 0x2c], si
jne 0x43e609
cmp word [esp + 0x86], si
jne 0x43e609
cmp word [esp + 0xbc], si
jne 0x43e609
cmp word [esp + 0x116], si
je 0x43e704
push esi
push 0xa
push 0x110a
push dword [0x50e684]
call edi
mov dword [esp + 0x10], eax
cmp eax, esi
je 0x43e704
push dword [esp + 0x10]
call fcn.0043577c
mov ebx, eax
cmp ebx, esi
jne 0x43e68e
push str.RefreshTree
push 0x2adb
push str..UsbTreeView.cpp
push str.INT3_in__S_line__u__function__S
push ebp
call fcn.0044fe2e
add esp, 0x14
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x43e6fa
push str.RefreshTree
push 0x2ab0
push str..UsbTreeView.cpp
push str.INT3_in__S_line__u__function__S
push ebp
call fcn.0044fe2e
add esp, 0x14
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [0x51a2f4], esi
jmp 0x43e83e
push ebx
lea eax, [esp + 0x2c]
push eax
call fcn.00436af1
test eax, eax
je 0x43e6b7
push dword [ebx + 8]
call fcn.00436704
test eax, eax
je 0x43e6b7
push dword [ebx + 8]
push dword [0x50e684]
call fcn.0042f6b9
push ebx
lea eax, [esp + 0xbc]
push eax
call fcn.00436af1
test eax, eax
je 0x43e6e3
push dword [ebx + 8]
call fcn.00436704
test eax, eax
je 0x43e6e3
push dword [ebx + 8]
push dword [0x50e684]
call fcn.0042f6b9
push dword [esp + 0x10]
push 7
push 0x110a
push dword [0x50e684]
call edi
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], esi
jne 0x43e625
push 0x50e558
push dword [0x50efe0]
call fcn.00435712
push dword [esp + 0x18]
push esi
push dword [0x50e684]
call fcn.00429702
push dword [esp + 0x24]
push esi
push 0xb6
push dword [0x50e688]
call edi
push esi
push ebp
push 0xb
push dword [0x50e684]
call edi
push esi
push ebp
push 0xb
push dword [0x50e688]
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [0x50e684]
call ebx
push 5
push dword [0x50e688]
call ebx
push 5
push dword [0x50e694]
call ebx
push 5
push dword [0x50e69c]
call ebx
call fcn.004350ee
push esi
call fcn.0043527c
push ebp
call fcn.0043527c
push ebp
push esi
push dword [0x50e688]
mov dword [0x50e63c], esi
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [0x50e688]
mov ebx, dword [sym.imp.USER32.dll_UpdateWindow]
call ebx
push dword [0x50e67c]
call ebx
push esi
push esi
mov ebp, 0xb1
push ebp
push dword [0x50e688]
call edi
push 0x85
push esi
push esi
push dword [0x50e67c]
call dword [sym.imp.USER32.dll_RedrawWindow]
push dword [0x50e688]
call ebx
push dword [0x50e67c]
call ebx
push dword [esp + 0x1c]
push dword [0x50e67c]
call fcn.0042a84d
push esi
push esi
push ebp
push dword [0x50e688]
call edi
mov ecx, dword [0x510c40]
call fcn.00409f33
push 0x64
call fcn.0043a28c
push 0x50e5e8
mov dword [0x51a2f4], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [0x51adac], 4
jl 0x43e83e
push str.end_RefreshTree__
push 4
call fcn.0044fe2e
pop ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x138
ret 4