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

Disassembly:
push ebp
lea ebp, [esp - 0x12b8]
mov eax, 0x12b8
call fcn.00530230
push 0xffffffffffffffff
push 0x54c160
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x58cb30]
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.004fc740
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 [0x55770c]
call esi
test eax, eax
jne 0x417824
cmp dword [ebp - 0x1c], eax
je 0x41783b
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 [0x55770c]
call esi
test eax, eax
jne 0x417824
mov esi, dword [ebp - 0x40]
cmp dword [esi + 0xc], 0
je 0x41747f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x44]
xor ebx, ebx
cmp eax, dword [esi + 0xc]
ja 0x417824
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 [0x55770c]
call esi
test dword [ebp - 0x18], 0x20000000
je 0x4177d1
call fcn.00495f30
cmp eax, 0x500
jb 0x4174c2
test dword [ebp - 0x18], 0x10000000
jne 0x4174d2
call fcn.00495f30
cmp eax, 0x500
jae 0x4177d1
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 [0x55770c]
call esi
mov eax, dword [ebp - 0x34]
and eax, 0x80000000
mov dword [ebp - 0x78], 0x27
or dword [ebp - 0x18], eax
jge 0x417515
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x78], 0x67
mov ecx, dword [0x600948]
push 0xc
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x55770c]
call esi
xor ebx, ebx
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x417824
push 0x800
lea eax, [ebp + 0x2b4]
push eax
push 1
push dword [ebp - 0x10]
push edi
call fcn.00418d30
test al, al
je 0x417824
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 0x417599
mov ecx, eax
lea edx, [ebx + 2]
movzx eax, word [eax]
test ax, ax
je 0x417594
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 0x417580
mov esi, dword [ebp - 0x20]
lea ebx, [edx - 2]
jmp 0x41759b
xor ebx, ebx
mov eax, esi
mov dword [ebp - 0x14], ebx
xor edi, edi
test eax, eax
je 0x4175c6
movzx ecx, word [esi]
mov edi, 2
test cx, cx
je 0x4175c6
mov edx, ecx
movzx ecx, dx
add eax, ecx
add edi, ecx
movzx ecx, word [eax]
mov edx, ecx
test cx, cx
jne 0x4175b5
mov ecx, dword [0x600948]
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 [0x55770c]
call esi
mov esi, eax
mov dword [ebp - 0x3c], esi
mov ebx, esi
test esi, esi
je 0x417822
push dword [ebp - 0x30]
push 0
push esi
call fcn.00532770
mov eax, dword [ebp - 0x24]
add esp, 0xc
test eax, eax
je 0x417614
push dword [ebp - 0x14]
push eax
push esi
call fcn.00531d40
add esp, 0xc
mov eax, dword [ebp - 0x14]
push edi
push dword [ebp - 0x20]
add eax, esi
push eax
call fcn.00531d40
mov ecx, dword [0x600948]
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 [0x55770c]
call esi
mov esi, eax
movzx eax, word [edi]
add eax, 2
push eax
push edi
push esi
call fcn.00531d40
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 [0x55770c]
call esi
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x20], edx
test eax, eax
je 0x4176e9
mov ecx, eax
mov edx, 2
movzx eax, word [eax]
test ax, ax
je 0x4176e1
mov esi, eax
nop
movzx eax, si
add ecx, eax
add edx, eax
movzx eax, word [ecx]
mov esi, eax
test ax, ax
jne 0x4176d0
lea esi, [edx - 2]
mov edx, dword [ebp - 0x20]
jmp 0x4176eb
xor esi, esi
mov ecx, edx
mov dword [ebp - 0x14], esi
xor edi, edi
test ecx, ecx
je 0x417716
movzx eax, word [edx]
mov edi, 2
test ax, ax
je 0x417716
mov edx, eax
movzx eax, dx
add ecx, eax
add edi, eax
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x417705
mov ecx, dword [0x600948]
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 [0x55770c]
call esi
mov esi, eax
test esi, esi
je 0x41781a
push dword [ebp - 0x30]
push 0
push esi
call fcn.00532770
mov eax, dword [ebp - 0x24]
add esp, 0xc
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x417760
push ebx
push eax
push esi
call fcn.00531d40
add esp, 0xc
push edi
push dword [ebp - 0x20]
lea eax, [esi + ebx]
push eax
call fcn.00531d40
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 [0x600948]
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 [0x55770c]
call esi
mov edi, dword [ebp - 0x28]
mov ecx, dword [0x600948]
push dword [ebp - 0x10]
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x55770c]
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 [0x55770c]
call esi
test eax, eax
je 0x417462
jmp 0x417824
mov eax, dword [ebp - 0x2c]
mov dword [eax + 8], esi
jmp 0x417824
mov ebx, esi
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x41783b
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x55770c]
call esi
mov edx, dword [ebp - 0x10]
test edx, edx
je 0x417859
mov ecx, dword [0x600948]
push edx
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x55770c]
call esi
test ebx, ebx
je 0x417874
mov ecx, dword [0x600948]
push ebx
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x55770c]
call esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.004fc790
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.00530218
lea esp, [ebp + 0x12b8]
pop ebp
ret 0x10