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

Disassembly:
push ebp
lea ebp, [esp - 0x12b8]
mov eax, 0x12b8
call fcn.0051dcc0
push 0xffffffffffffffff
push 0x5391c0
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x572844]
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.004eba90
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 [0x541740]
call esi
test eax, eax
jne 0x414c44
cmp dword [ebp - 0x1c], eax
je 0x414c5b
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 [0x541740]
call esi
test eax, eax
jne 0x414c44
mov esi, dword [ebp - 0x40]
cmp dword [esi + 0xc], 0
je 0x41489f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x44]
xor ebx, ebx
cmp eax, dword [esi + 0xc]
ja 0x414c44
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 [0x541740]
call esi
test dword [ebp - 0x18], 0x20000000
je 0x414bf1
call fcn.004881b0
cmp eax, 0x500
jb 0x4148e2
test dword [ebp - 0x18], 0x10000000
jne 0x4148f2
call fcn.004881b0
cmp eax, 0x500
jae 0x414bf1
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 [0x541740]
call esi
mov eax, dword [ebp - 0x34]
and eax, 0x80000000
mov dword [ebp - 0x78], 0x27
or dword [ebp - 0x18], eax
jge 0x414935
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x78], 0x67
mov ecx, dword [0x5e3c10]
push 0xc
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x541740]
call esi
xor ebx, ebx
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x414c44
push 0x800
lea eax, [ebp + 0x2b4]
push eax
push 1
push dword [ebp - 0x10]
push edi
call fcn.00416150
test al, al
je 0x414c44
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 0x4149b9
mov ecx, eax
lea edx, [ebx + 2]
movzx eax, word [eax]
test ax, ax
je 0x4149b4
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 0x4149a0
mov esi, dword [ebp - 0x20]
lea ebx, [edx - 2]
jmp 0x4149bb
xor ebx, ebx
mov eax, esi
mov dword [ebp - 0x14], ebx
xor edi, edi
test eax, eax
je 0x4149e6
movzx ecx, word [esi]
mov edi, 2
test cx, cx
je 0x4149e6
mov edx, ecx
movzx ecx, dx
add eax, ecx
add edi, ecx
movzx ecx, word [eax]
mov edx, ecx
test cx, cx
jne 0x4149d5
mov ecx, dword [0x5e3c10]
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 [0x541740]
call esi
mov esi, eax
mov dword [ebp - 0x3c], esi
mov ebx, esi
test esi, esi
je 0x414c42
push dword [ebp - 0x30]
push 0
push esi
call fcn.005201d0
mov eax, dword [ebp - 0x24]
add esp, 0xc
test eax, eax
je 0x414a34
push dword [ebp - 0x14]
push eax
push esi
call fcn.0051f6b0
add esp, 0xc
mov eax, dword [ebp - 0x14]
push edi
push dword [ebp - 0x20]
add eax, esi
push eax
call fcn.0051f6b0
mov ecx, dword [0x5e3c10]
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 [0x541740]
call esi
mov esi, eax
movzx eax, word [edi]
add eax, 2
push eax
push edi
push esi
call fcn.0051f6b0
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 [0x541740]
call esi
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x20], edx
test eax, eax
je 0x414b09
mov ecx, eax
mov edx, 2
movzx eax, word [eax]
test ax, ax
je 0x414b01
mov esi, eax
nop
movzx eax, si
add ecx, eax
add edx, eax
movzx eax, word [ecx]
mov esi, eax
test ax, ax
jne 0x414af0
lea esi, [edx - 2]
mov edx, dword [ebp - 0x20]
jmp 0x414b0b
xor esi, esi
mov ecx, edx
mov dword [ebp - 0x14], esi
xor edi, edi
test ecx, ecx
je 0x414b36
movzx eax, word [edx]
mov edi, 2
test ax, ax
je 0x414b36
mov edx, eax
movzx eax, dx
add ecx, eax
add edi, eax
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x414b25
mov ecx, dword [0x5e3c10]
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 [0x541740]
call esi
mov esi, eax
test esi, esi
je 0x414c3a
push dword [ebp - 0x30]
push 0
push esi
call fcn.005201d0
mov eax, dword [ebp - 0x24]
add esp, 0xc
mov ebx, dword [ebp - 0x14]
test eax, eax
je 0x414b80
push ebx
push eax
push esi
call fcn.0051f6b0
add esp, 0xc
push edi
push dword [ebp - 0x20]
lea eax, [esi + ebx]
push eax
call fcn.0051f6b0
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 [0x5e3c10]
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 [0x541740]
call esi
mov edi, dword [ebp - 0x28]
mov ecx, dword [0x5e3c10]
push dword [ebp - 0x10]
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x541740]
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 [0x541740]
call esi
test eax, eax
je 0x414882
jmp 0x414c44
mov eax, dword [ebp - 0x2c]
mov dword [eax + 8], esi
jmp 0x414c44
mov ebx, esi
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x414c5b
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x541740]
call esi
mov edx, dword [ebp - 0x10]
test edx, edx
je 0x414c79
mov ecx, dword [0x5e3c10]
push edx
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x541740]
call esi
test ebx, ebx
je 0x414c94
mov ecx, dword [0x5e3c10]
push ebx
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x541740]
call esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.004ebae0
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.0051dca8
lea esp, [ebp + 0x12b8]
pop ebp
ret 0x10