Function at 0x437fc0
Capabilities:
Check for time delay via gettickcount
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b5cc8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x4e1370]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea edi, [esi + 0x24]
push edi
mov dword [esp + 0x24], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x24], 1
xor ebx, ebx
mov dword [esp + 0x48], ebx
cmp dword [esi + 0x20], ebx
jne 0x43821e
mov eax, dword [esi]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, 0x104
or eax, ecx
jge 0x438036
mov ecx, 0x104
mov eax, esi
call fcn.00405860
mov eax, dword [esi]
push eax
push ebx
push ebx
push 0x24
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov eax, dword [esi]
mov ecx, dword [eax - 8]
cmp eax, ebx
jne 0x438051
xor eax, eax
jmp 0x438063
push ecx
push eax
call fcn.004913b1
add esp, 8
cmp eax, ebx
jl 0x43823a
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x43823a
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + eax*2], dx
mov dword [esp + 0x14], ebx
mov byte [esp + 0x48], 1
call fcn.0047e442
test eax, eax
je 0x4380a2
call fcn.0047e442
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push 0x4c9294
push eax
mov eax, dword [ecx + 0x18]
call eax
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x43821e
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
push ebx
push eax
call edx
test eax, eax
jl 0x438209
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x34]
push ebx
push eax
call edx
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ecx, ecx
test eax, eax
setge cl
mov dword [esp + 0x1c], ecx
call esi
mov ebx, eax
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0x38]
call eax
test eax, eax
je 0x43811e
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
call esi
sub eax, ebx
cmp eax, 0x4e20
jae 0x438205
push 0x14
call edi
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x38]
push eax
call edx
test eax, eax
jne 0x4380f7
mov edi, dword [esp + 0x20]
cmp dword [esp + 0x1c], 0
je 0x438209
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov byte [esp + 0x48], 2
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push eax
mov eax, dword [ecx + 0x44]
call eax
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4381f2
mov ecx, dword [eax]
mov edx, dword [ecx + 0x40]
push eax
call edx
test eax, eax
jbe 0x4381ee
mov dword [esp + 0x1c], 0
mov byte [esp + 0x48], 3
mov eax, dword [esp + 0x14]
mov esi, dword [eax]
mov edi, eax
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
push 0
push ebx
push eax
add esi, 0x48
call edx
push eax
mov eax, dword [esi]
push edi
call eax
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x4381c4
lea edx, [esp + 0x28]
push edx
call fcn.00437c00
mov edi, eax
mov eax, dword [ebp + 8]
add eax, 4
mov byte [esp + 0x48], 4
call fcn.00438890
lea esi, [esp + 0x28]
call fcn.00438250
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x48], 2
test ecx, ecx
je 0x4381d5
mov eax, dword [ecx]
push ecx
mov ecx, dword [eax + 8]
call ecx
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0x40]
inc ebx
call eax
cmp ebx, eax
jb 0x438161
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x48], 1
test eax, eax
je 0x438209
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x438209
mov edi, dword [esp + 0x20]
mov byte [esp + 0x48], 0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x43821e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.004058d0
int3