Function at 0x413b70
Capabilities:
Check for time delay via gettickcount
Get file system object information

Disassembly:
push ebp
lea ebp, [esp - 0x12b8]
mov eax, 0x12b8
call fcn.00502fa0
push 0xffffffffffffffff
push 0x51b378
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x5513d4]
xor eax, ebp
mov dword [ebp + 0x12b4], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp + 0x12c0]
xor ebx, ebx
mov eax, dword [ebp + 0x12c8]
mov esi, dword [ebp + 0x12c4]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x12cc]
push ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
call dword [sym.imp.USER32.dll_GetParent]
push ebx
lea ecx, [ebp - 0x78]
mov edi, eax
call fcn.004d4ae0
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x18]
mov esi, dword [esi]
push eax
push 0xa0
push edi
mov edi, dword [ebp - 0x1c]
mov esi, dword [esi + 0x10]
mov ecx, esi
push edi
call dword [0x523720]
call esi
test eax, eax
jne 0x413eb1
cmp dword [ebp - 0x18], eax
je 0x413ec8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x10]
mov esi, dword [ecx]
push eax
push 1
push ecx
mov esi, dword [esi + 0xc]
mov ecx, esi
call dword [0x523720]
call esi
test eax, eax
jne 0x413eb1
nop
mov esi, dword [ebp - 0x2c]
cmp dword [esi + 0xc], 0
je 0x413c7d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x30]
xor ebx, ebx
cmp eax, dword [esi + 0xc]
ja 0x413eb1
mov esi, dword [edi]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 0x70000000
push eax
mov esi, dword [esi + 0x24]
mov ecx, esi
push 1
push edi
call dword [0x523720]
call esi
test dword [ebp - 0x14], 0x20000000
je 0x413e6b
call fcn.00477ef0
cmp eax, 0x500
jb 0x413cc0
test dword [ebp - 0x14], 0x10000000
jne 0x413cd0
call fcn.00477ef0
cmp eax, 0x500
jae 0x413e6b
mov esi, dword [edi]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x20], SysReAllocString
push eax
mov esi, dword [esi + 0x24]
mov ecx, esi
push 1
push edi
call dword [0x523720]
call esi
mov eax, dword [ebp - 0x20]
and eax, 0x80000000
mov dword [ebp - 0x68], 0x27
or dword [ebp - 0x14], eax
jns 0x413d13
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x68], 0x67
mov eax, dword [0x5b976c]
push 0xc
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x523720]
call esi
xor ebx, ebx
mov dword [ebp - 0x34], eax
test eax, eax
je 0x413eb1
push 0x800
lea eax, [ebp + 0x2b4]
push eax
push 1
push dword [ebp - 0x10]
push edi
call fcn.004153e0
test al, al
je 0x413eb1
push dword [ebp - 0x10]
lea eax, [ebp + 0x2b4]
push dword [ebp - 0x24]
mov dword [ebp - 0x58], eax
call fcn.004136c0
mov ebx, eax
test ebx, ebx
je 0x413eb1
mov ecx, dword [0x5b976c]
mov edi, dword [ebp - 0x10]
mov esi, dword [ecx]
movzx eax, word [edi]
add eax, 2
push eax
mov esi, dword [esi + 0xc]
push ecx
mov ecx, esi
call dword [0x523720]
call esi
movzx ecx, word [edi]
mov esi, eax
add ecx, 2
push ecx
push edi
push esi
call fcn.00504fb0
mov edi, dword [ebp - 0x34]
lea eax, [ebp]
add esp, 0xc
mov dword [edi + 4], esi
push 0x4009
push 0x2b4
push eax
push 0
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [ebp + 4]
push 0x400b
push 0x2b4
mov dword [ebp - 0x50], eax
lea eax, [ebp]
push eax
push 0
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp + 4]
mov dword [edi], esi
mov dword [ebp - 0x4c], eax
mov eax, dword [esi]
push esi
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x523720]
call esi
push dword [ebp - 0x10]
push dword [ebp - 0x24]
call fcn.004136c0
mov dword [edi + 8], eax
test eax, eax
je 0x413eb1
mov eax, dword [ebp - 0x28]
lea esi, [ebp - 0x68]
mov dword [ebp - 0x44], edi
mov ecx, 0xa
lea edi, [ebp - 0xb0]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xb8], eax
lea eax, [ebp - 0xb8]
push eax
push 0
push 0x1132
push dword [ebp - 0x3c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [0x5b976c]
push ebx
push ecx
mov dword [ebp - 0x28], eax
mov edx, dword [ecx]
mov esi, dword [edx + 0x14]
mov ecx, esi
call dword [0x523720]
call esi
mov edi, dword [ebp - 0x1c]
mov eax, dword [0x5b976c]
push dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [0x523720]
call esi
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x40]
push ecx
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x10]
push ecx
mov esi, dword [eax]
xor ebx, ebx
push 1
push eax
mov esi, dword [esi + 0xc]
mov ecx, esi
call dword [0x523720]
call esi
test eax, eax
je 0x413c60
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x413ec8
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x523720]
call esi
mov edx, dword [ebp - 0x10]
test edx, edx
je 0x413ee5
mov eax, dword [0x5b976c]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [0x523720]
call esi
test ebx, ebx
je 0x413eff
mov eax, dword [0x5b976c]
push ebx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [0x523720]
call esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.004d4b30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x12b4]
xor ecx, ebp
call fcn.00502f8e
lea esp, [ebp + 0x12b8]
pop ebp
ret 0x10