Function at 0x300f251c
Capabilities:
Check for time delay via gettickcount
Get memory capacity
Query service status

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1094
call fcn.301374d4
mov eax, dword [0x3002450c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
push edi
mov esi, ecx
call ebx
mov dword [ebp - 0x1054], eax
xor eax, eax
xor ecx, ecx
mov word [ebp - 0x18], cx
lea edi, [ebp - 0x16]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [ebp - 0x2c], cx
lea edi, [ebp - 0x2a]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0xa
push 0x18
stosw word es:[edi], ax
push 0xa
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x1030], 0x3e8
mov dword [ebp - 0x1034], ecx
mov dword [ebp - 0x1040], ecx
mov dword [ebp - 0x104c], ecx
mov dword [ebp - 0x1048], ecx
call fcn.30125aa1
lea eax, [ebp - 0x1094]
push eax
mov dword [ebp - 0x1094], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
jne 0x300f25bf
push 0x300028ec
call sym.OFFDIAG.exe_public_virtual:_void___thiscall_NetUI::TreeNodeT_class_NetUI::Node_::destructor_void_
add esp, 4
mov eax, dword [ebp - 0x1084]
mov ecx, dword [ebp - 0x1080]
shrd eax, ecx, 0x14
mov dword [ebp - 0x103c], eax
push 0x400
lea eax, [ebp - 0x82c]
push eax
push 0x6d
shr ecx, 0x14
call fcn.300f2db4
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jne 0x300f2609
push eax
push 0x33616a7a
call fcn.3010aa60
and word [ebp - 0x82c], 0
call ebx
mov dword [ebp - 0x1038], eax
push dword [ebp - 0x1034]
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 0x28]
push eax
push edi
push dword [ebp - 0x1030]
mov dword [ebp - 0x1044], eax
call ebx
sub eax, dword [ebp - 0x1054]
push eax
push 0x30002968
call sym.OFFDIAG.exe_public_virtual:_void___thiscall_NetUI::TreeNodeT_class_NetUI::Node_::destructor_void_
mov eax, dword [ebp - 0x1044]
add esp, 0x18
cmp eax, dword [ebp - 0x1034]
jbe 0x300f2655
mov dword [ebp - 0x1034], eax
test edi, edi
jne 0x300f265a
inc edi
cmp edi, dword [ebp - 0x1040]
jle 0x300f26ef
call ebx
mov dword [ebp - 0x1050], eax
mov eax, dword [ebp - 0x1040]
dec eax
dec eax
je 0x300f2683
dec eax
dec eax
jne 0x300f26a7
mov eax, 0xf9a
jmp 0x300f2688
mov eax, 0xf99
mov ecx, dword [ebp - 0x1050]
sub ecx, dword [ebp - 0x1038]
push ecx
push eax
call fcn.3010bae9
mov eax, dword [ebp - 0x1050]
mov dword [ebp - 0x1038], eax
push 0xa
push edi
push 0xa
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x1040], edi
call fcn.30125aa1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x2c]
push eax
push 2
lea eax, [ebp - 0x82c]
push eax
lea eax, [ebp - 0x102c]
push 0x400
push eax
call fcn.301259ca
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
add esp, 0x18
lea edx, [ebp - 0x102c]
push edx
call dword [eax + 4]
cmp edi, 1
jle 0x300f2730
mov ecx, dword [ebp - 0x1034]
test ecx, ecx
je 0x300f270f
mov eax, ecx
sub eax, dword [ebp - 0x1044]
xor edx, edx
imul eax, eax, 0x64
div ecx
jmp 0x300f2711
xor eax, eax
push eax
push dword [ebp - 0x1044]
push ecx
push edi
push 0x30002918
call sym.OFFDIAG.exe_public_virtual:_void___thiscall_NetUI::TreeNodeT_class_NetUI::Node_::destructor_void_
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
add esp, 0x14
push eax
call dword [edx + 8]
push dword [ebp - 0x1030]
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esi + 0x14]
push eax
push dword [esi + 0x10]
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x300f2838
mov edi, dword [esi + 0x2c]
mov dword [ebp - 0x1030], edi
call ebx
test edi, edi
je 0x300f2783
cmp edi, dword [ebp - 0x104c]
jne 0x300f2783
sub eax, dword [ebp - 0x1048]
cmp eax, 0x7530
jbe 0x300f278f
push 0
push 0x33766378
call fcn.3010aa60
jmp 0x300f278f
mov dword [ebp - 0x1048], eax
mov dword [ebp - 0x104c], edi
mov eax, 0x1f4
cmp edi, eax
jb 0x300f27a1
mov eax, 0x3e8
cmp edi, eax
jbe 0x300f27a7
mov dword [ebp - 0x1030], eax
lea eax, [ebp - 0x1094]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
jne 0x300f27c5
push 0x300028ec
call sym.OFFDIAG.exe_public_virtual:_void___thiscall_NetUI::TreeNodeT_class_NetUI::Node_::destructor_void_
add esp, 4
mov eax, dword [ebp - 0x1084]
mov ecx, dword [ebp - 0x1080]
shrd eax, ecx, 0x14
shr ecx, 0x14
cmp dword [ebp - 0x103c], eax
jb 0x300f27e6
mov dword [ebp - 0x103c], eax
mov eax, dword [esi + 0x18]
cmp eax, 2
je 0x300f2611
cmp eax, 4
je 0x300f2611
cmp eax, 3
je 0x300f2611
call ebx
sub eax, dword [ebp - 0x1038]
push eax
push 0xf9b
call fcn.3010bae9
push dword [ebp - 0x103c]
push 0xf97
call fcn.3010bae9
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.30136bd1
leave
ret
xor al, al
jmp 0x300f2829