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

Disassembly:
push ebp
lea ebp, [esp - 0x12b8]
mov eax, 0x12b8
call fcn.0052f720
push 0xffffffffffffffff
push 0x54b650
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x58bb30]
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 - 0x40], 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 - 0x4c], ecx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x10], 0
call dword [sym.imp.USER32.dll_GetParent]
push ebx
lea ecx, [ebp - 0x88]
mov edi, eax
call fcn.004fbb60
mov dword [ebp - 4], ebx
mov eax, dword [esi]
mov esi, dword [eax + 0x10]
lea eax, [ebp - 0x1c]
push eax
push 0xa0
push edi
mov edi, dword [ebp - 0x28]
mov ecx, esi
push edi
call dword [0x55670c]
call esi
test eax, eax
jne 0x417794
cmp dword [ebp - 0x1c], eax
je 0x4177ab
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x44], eax
mov eax, dword [ecx]
mov esi, dword [eax + 0xc]
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x10]
push eax
push 1
push ecx
mov ecx, esi
call dword [0x55670c]
call esi
test eax, eax
jne 0x417794
mov esi, dword [ebp - 0x40]
cmp dword [esi + 0xc], 0
je 0x4173ef
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x44]
xor ebx, ebx
cmp eax, dword [esi + 0xc]
ja 0x417794
mov eax, dword [edi]
mov dword [ebp - 0x18], 0x70000000
mov esi, dword [eax + 0x24]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
push 1
push edi
call dword [0x55670c]
call esi
test dword [ebp - 0x18], 0x20000000
je 0x417741
call fcn.00495590
cmp eax, 0x500
jb 0x417432
test dword [ebp - 0x18], 0x10000000
jne 0x417442
call fcn.00495590
cmp eax, 0x500
jae 0x417741
mov eax, dword [edi]
mov dword [ebp - 0x34], SysStringLen
mov esi, dword [eax + 0x24]
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
push 1
push edi
call dword [0x55670c]
call esi
mov eax, dword [ebp - 0x34]
and eax, 0x80000000
mov dword [ebp - 0x78], 0x27
or dword [ebp - 0x18], eax
jge 0x417485
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x78], 0x67
mov ecx, dword [0x5ff948]
push 0xc
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x55670c]
call esi
xor ebx, ebx
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x417794
push 0x800
lea eax, [ebp + 0x2b4]
push eax
push 1
push dword [ebp - 0x10]
push edi
call fcn.00418ca0
test al, al
je 0x417794
mov esi, dword [ebp - 0x10]
lea eax, [ebp + 0x2b4]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], esi
test eax, eax
je 0x417509
mov ecx, eax
lea edx, [ebx + 2]
movzx eax, word [eax]
test ax, ax
je 0x417504
mov esi, eax
mov edi, edi
movzx eax, si
add ecx, eax
add edx, eax
movzx eax, word [ecx]
mov esi, eax
test ax, ax
jne 0x4174f0
mov esi, dword [ebp - 0x20]
lea ebx, [edx - 2]
jmp 0x41750b
xor ebx, ebx
mov eax, esi
mov dword [ebp - 0x14], ebx
xor edi, edi
test eax, eax
je 0x417536
movzx ecx, word [esi]
mov edi, 2
test cx, cx
je 0x417536
mov edx, ecx
movzx ecx, dx
add eax, ecx
add edi, ecx
movzx ecx, word [eax]
mov edx, ecx
test cx, cx
jne 0x417525
mov ecx, dword [0x5ff948]
lea edx, [edi + ebx]
push edx
push ecx
mov dword [ebp - 0x30], edx
mov eax, dword [ecx]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x55670c]
call esi
mov esi, eax
mov dword [ebp - 0x3c], esi
mov ebx, esi
test esi, esi
je 0x417792
push dword [ebp - 0x30]
push 0
push esi
call fcn.00531c60
mov eax, dword [ebp - 0x24]
add esp, 0xc
test eax, eax
je 0x417584
push dword [ebp - 0x14]
push eax
push esi
call fcn.00531230
add esp, 0xc
mov eax, dword [ebp - 0x14]
push edi
push dword [ebp - 0x20]
add eax, esi
push eax
call fcn.00531230
mov ecx, dword [0x5ff948]
add esp, 0xc
mov edi, dword [ebp - 0x10]
mov eax, dword [ecx]
mov esi, dword [eax + 0xc]
movzx eax, word [edi]
add eax, 2
push eax
push ecx
mov ecx, esi
call dword [0x55670c]
call esi
mov esi, eax
movzx eax, word [edi]
add eax, 2
push eax
push edi
push esi
call fcn.00531230
mov edi, dword [ebp - 0x2c]
lea eax, [ebp]
add esp, 0xc
mov dword [edi + 4], esi
mov esi, dword [ebp - 0x3c]
push 0x4009
push 0x2b4
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [ebp + 4]
push 0x400b
push 0x2b4
mov dword [ebp - 0x60], eax
lea eax, [ebp]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp + 4]
mov dword [edi], esi
mov dword [ebp - 0x5c], eax
mov eax, dword [esi]
push esi
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x55670c]
call esi
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x20], edx
test eax, eax
je 0x417659
mov ecx, eax
mov edx, 2
movzx eax, word [eax]
test ax, ax
je 0x417651
mov esi, eax
nop
movzx eax, si
add ecx, eax
add edx, eax
movzx eax, word [ecx]
mov esi, eax
test ax, ax
jne 0x417640
lea esi, [edx - 2]
mov edx, dword [ebp - 0x20]
jmp 0x41765b
xor esi, esi
mov ecx, edx
mov dword [ebp - 0x14], esi
xor edi, edi
test ecx, ecx
je 0x417686
movzx eax, word [edx]
mov edi, 2
test ax, ax
je 0x417686
mov edx, eax
movzx eax, dx
add ecx, eax
add edi, eax
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x417675
mov ecx, dword [0x5ff948]
lea edx, [edi + esi]
push edx
push ecx
mov dword [ebp - 0x30], edx
mov eax, dword [ecx]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x55670c]
call esi
mov esi, eax
test esi, esi
je 0x41778a
push dword [ebp - 0x30]
push 0
push esi
call fcn.00531c60
mov eax, dword [ebp - 0x24]
add esp, 0xc
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x4176d0
push ebx
push eax
push esi
call fcn.00531230
add esp, 0xc
push edi
push dword [ebp - 0x20]
lea eax, [esi + ebx]
push eax
call fcn.00531230
mov eax, dword [ebp - 0x2c]
lea edi, [ebp - 0xc0]
mov dword [ebp - 0x54], eax
add esp, 0xc
mov ecx, 0xa
mov dword [eax + 8], esi
lea esi, [ebp - 0x78]
mov eax, dword [ebp - 0x38]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0xc8], eax
lea eax, [ebp - 0xc8]
push eax
push 0
push 0x1132
push dword [ebp - 0x4c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [0x5ff948]
push dword [ebp - 0x3c]
mov dword [ebp - 0x38], eax
push edx
mov ecx, dword [edx]
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [0x55670c]
call esi
mov edi, dword [ebp - 0x28]
mov ecx, dword [0x5ff948]
push dword [ebp - 0x10]
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x55670c]
call esi
mov ecx, dword [ebp - 0x1c]
xor ebx, ebx
mov dword [ebp - 0x10], 0
mov eax, dword [ecx]
mov esi, dword [eax + 0xc]
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x10]
push eax
push 1
push ecx
mov ecx, esi
call dword [0x55670c]
call esi
test eax, eax
je 0x4173d2
jmp 0x417794
mov eax, dword [ebp - 0x2c]
mov dword [eax + 8], esi
jmp 0x417794
mov ebx, esi
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x4177ab
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x55670c]
call esi
mov edx, dword [ebp - 0x10]
test edx, edx
je 0x4177c9
mov ecx, dword [0x5ff948]
push edx
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x55670c]
call esi
test ebx, ebx
je 0x4177e4
mov ecx, dword [0x5ff948]
push ebx
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x55670c]
call esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.004fbbb0
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.0052f708
lea esp, [ebp + 0x12b8]
pop ebp
ret 0x10