Function at 0x534068
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe84
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x16c], ebx
mov dword [ebp - 0x174], ebx
mov dword [ebp - 0x170], ebx
mov ebx, ecx
mov byte [ebp - 1], dl
mov edi, eax
mov eax, dword [ebp + 0x20]
call fcn.00403fd8
mov eax, dword [ebp + 0x1c]
call fcn.00403fd8
xor eax, eax
push ebp
push 0x5349cf
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x534992
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x54f5bc], 4
je 0x534979
cmp byte [0x54f5bc], 6
jne 0x5340db
call fcn.004036bc
jmp 0x534999
mov dl, 4
mov eax, edi
call fcn.00524b24
mov ecx, dword [0x54c21c]
mov eax, dword [0x54c5c8]
mov eax, dword [eax]
mov edx, dword [0x4f3aec]
call fcn.0043b42c
mov edx, dword [0x54c21c]
mov edx, dword [edx]
mov eax, edi
call fcn.00454940
cmp byte [0x54f4c2], 0
je 0x534154
mov eax, dword [edi + 0x570]
cmp byte [eax + 0xb8], 0
je 0x534148
mov eax, dword [edi + 0x570]
call fcn.00464a3c
test al, al
jne 0x534154
cmp byte [edi + 0x918], 0
jne 0x534154
mov eax, dword [edi + 0x570]
call fcn.00464830
jmp 0x534154
mov eax, dword [0x54c5c8]
mov eax, dword [eax]
call fcn.0043af28
cmp byte [0x54f4c2], 0
je 0x53418e
mov eax, dword [edi + 0x570]
call fcn.00464a3c
test al, al
jne 0x53417d
mov eax, dword [0x54f104]
call fcn.004471a4
mov dl, 1
call fcn.00457140
mov eax, dword [0x54f104]
call fcn.004471a4
mov dl, 1
call fcn.00457140
mov eax, ebx
sub al, 1
jb 0x5341ac
sub al, 2
jb 0x534366
je 0x5341ac
dec eax
sub al, 2
jb 0x534519
jmp 0x534713
test bl, bl
jne 0x5341b7
mov esi, 1
jmp 0x5341bc
mov esi, 2
push 6
lea eax, [ebp - 0x16c]
push eax
lea edx, [ebp - 0x170]
mov eax, dword [ebp + 0x20]
call fcn.004574f8
mov edx, dword [ebp - 0x170]
mov ebx, esi
mov ecx, ebx
mov eax, edi
call fcn.005349e0
mov edx, dword [ebp - 0x16c]
mov eax, dword [0x54c21c]
mov eax, dword [eax]
mov eax, dword [eax + 0x300]
call fcn.004413b4
lea edx, [ebp - 0x16c]
mov eax, dword [ebp + 0x1c]
call fcn.00533f98
mov edx, dword [ebp - 0x16c]
mov eax, dword [0x54c21c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f4]
call fcn.004413b4
cmp dword [ebp + 0x10], 0xffffffff
jne 0x53423c
cmp dword [ebp + 0xc], 0xffffffff
jne 0x53423c
mov eax, dword [ebp + 0x1c]
call fcn.004575f4
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], edx
cmp dword [ebp + 0x18], 0xffffffff
jne 0x534282
cmp dword [ebp + 0x14], 0xffffffff
jne 0x534282
push 3
lea eax, [ebp - 0x16c]
push eax
lea edx, [ebp - 0x170]
mov eax, dword [ebp + 0x20]
call fcn.004574f8
mov edx, dword [ebp - 0x170]
mov ecx, ebx
mov eax, edi
call fcn.005349e0
mov eax, dword [ebp - 0x16c]
xor edx, edx
call fcn.00409024
cdq
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x18], edx
fild qword [ebp + 0x14]
add esp, 0xfffffff8
fstp qword [esp]
wait
lea ecx, [ebp - 0x16c]
mov dl, 1
mov al, 2
call fcn.0045543c
mov edx, dword [ebp - 0x16c]
mov eax, dword [0x54c21c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2fc]
call fcn.004413b4
fild qword [ebp + 0xc]
add esp, 0xfffffff8
fstp qword [esp]
wait
lea ecx, [ebp - 0x16c]
mov dl, 1
mov al, 2
call fcn.0045543c
mov edx, dword [ebp - 0x16c]
mov eax, dword [0x54c21c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f0]
call fcn.004413b4
imul ebx, esi, 0xeb
mov eax, dword [ebx + 0x54f11d]
mov edx, dword [0x54c6b8]
mov edx, dword [edx]
call fcn.00403f34
je 0x534713
lea eax, [ebp - 0x16c]
mov edx, dword [ebx + 0x54f119]
mov dl, byte [edx + 0xd]
call fcn.00403d4c
mov eax, dword [ebp - 0x16c]
push eax
lea edx, [ebp - 0x170]
mov eax, 1
call fcn.00408e4c
mov edx, dword [ebp - 0x170]
pop eax
call fcn.00403f34
jne 0x534713
mov eax, dword [0x54c21c]
mov eax, dword [eax]
mov dword [eax + 0xc], esi
mov eax, dword [0x54c21c]
mov eax, dword [eax]
add eax, 0x320
mov edx, dword [ebx + 0x54f15e]
call fcn.00403bfc
jmp 0x534713
cmp bl, 1
jne 0x534372
mov esi, 1
jmp 0x534377
mov esi, 2
lea edx, [ebp - 0x16c]
mov eax, dword [ebp + 0x20]
call fcn.00533f98
mov edx, dword [ebp - 0x16c]
mov eax, dword [0x54c21c]
mov eax, dword [eax]
mov eax, dword [eax + 0x300]
call fcn.004413b4
push 6
lea eax, [ebp - 0x16c]
push eax
lea edx, [ebp - 0x170]
mov eax, dword [ebp + 0x1c]
call fcn.004574f8
mov edx, dword [ebp - 0x170]
mov ebx, esi
mov ecx, ebx
mov eax, edi
call fcn.005349e0
mov edx, dword [ebp - 0x16c]
mov eax, dword [0x54c21c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f4]
call fcn.004413b4
cmp dword [ebp + 0x10], 0xffffffff
jne 0x534423
cmp dword [ebp + 0xc], 0xffffffff
jne 0x534423
push 3
lea eax, [ebp - 0x16c]
push eax
lea edx, [ebp - 0x170]
mov eax, dword [ebp + 0x1c]
call fcn.004574f8
mov edx, dword [ebp - 0x170]
mov ecx, ebx
mov eax, edi
call fcn.005349e0
mov eax, dword [ebp - 0x16c]
xor edx, edx
call fcn.00409024
cdq
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], edx
cmp dword [ebp + 0x18], 0xffffffff
jne 0x53443d
cmp dword [ebp + 0x14], 0xffffffff
jne 0x53443d
mov eax, dword [ebp + 0x20]
call fcn.004575f4
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x18], edx
fild qword [ebp + 0x14]
add esp, 0xfffffff8
fstp qword [esp]
wait
lea ecx, [ebp - 0x16c]
mov dl, 1
mov al, 2
call fcn.0045543c
mov edx, dword [ebp - 0x16c]
mov eax, dword [0x54c21c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2fc]
call fcn.004413b4
fild qword [ebp + 0xc]
add esp, 0xfffffff8
fstp qword [esp]
wait
lea ecx, [ebp - 0x16c]
mov dl, 1
mov al, 2
call fcn.0045543c
mov edx, dword [ebp - 0x16c]
mov eax, dword [0x54c21c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f0]
call fcn.004413b4
imul ebx, esi, 0xeb
mov eax, dword [ebx + 0x54f11d]
mov edx, dword [0x54c6b8]
mov edx, dword [edx]
call fcn.00403f34
je 0x53450a
lea eax, [ebp - 0x16c]
mov edx, dword [ebx + 0x54f119]
mov dl, byte [edx + 0xd]
call fcn.00403d4c
mov eax, dword [ebp - 0x16c]
push eax
lea edx, [ebp - 0x170]
mov eax, 1
call fcn.00408e4c
mov edx, dword [ebp - 0x170]
pop eax
call fcn.00403f34
jne 0x53450a
mov eax, dword [0x54c21c]
mov eax, dword [eax]
add eax, 0x320
mov edx, dword [ebx + 0x54f15e]
call fcn.00403bfc
mov eax, dword [0x54c21c]
mov eax, dword [eax]
mov dword [eax + 0xc], esi
jmp 0x534713
cmp bl, 4
jne 0x53452a
mov esi, 1
mov ebx, 2
jmp 0x534534
mov esi, 2
mov ebx, 1
push 6
lea eax, [ebp - 0x16c]
push eax
lea edx, [ebp - 0x170]
mov eax, dword [ebp + 0x1c]
call fcn.004574f8
mov edx, dword [ebp - 0x170]
mov ecx, ebx
mov eax, edi
call fcn.005349e0
mov edx, dword [ebp - 0x16c]
mov eax, dword [0x54c21c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f4]
call fcn.004413b4
push 6
lea eax, [ebp - 0x16c]
push eax
lea edx, [ebp - 0x170]
mov eax, dword [ebp + 0x20]
call fcn.004574f8
mov edx, dword [ebp - 0x170]
mov ecx, esi
mov eax, edi
call fcn.005349e0
mov edx, dword [ebp - 0x16c]
mov eax, dword [0x54c21c]
mov eax, dword [eax]
mov eax, dword [eax + 0x300]
call fcn.004413b4
cmp dword [ebp + 0x10], 0xffffffff
jne 0x5345f6
cmp dword [ebp + 0xc], 0xffffffff
jne 0x5345f6
push 4
lea eax, [ebp - 0x16c]
push eax
lea edx, [ebp - 0x170]
mov eax, dword [ebp + 0x1c]
call fcn.004574f8
mov edx, dword [ebp - 0x170]
mov ecx, ebx
mov eax, edi
call fcn.005349e0
mov eax, dword [ebp - 0x16c]
xor edx, edx
call fcn.00409024
cdq
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], edx
cmp dword [ebp + 0x18], 0xffffffff
jne 0x53463c
cmp dword [ebp + 0x14], 0xffffffff
jne 0x53463c
push 4
lea eax, [ebp - 0x16c]
push eax
lea edx, [ebp - 0x170]
mov eax, dword [ebp + 0x20]
call fcn.004574f8
mov edx, dword [ebp - 0x170]
mov ecx, esi
mov eax, edi
call fcn.005349e0
mov eax, dword [ebp - 0x16c]
xor edx, edx
call fcn.00409024
cdq
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x18], edx
fild qword [ebp + 0xc]
add esp, 0xfffffff8
fstp qword [esp]
wait
lea ecx, [ebp - 0x16c]
mov dl, 1
mov al, 2
call fcn.0045543c
mov edx, dword [ebp - 0x16c]
mov eax, dword [0x54c21c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f0]
call fcn.004413b4
fild qword [ebp + 0x14]
add esp, 0xfffffff8
fstp qword [esp]
wait
lea ecx, [ebp - 0x16c]
mov dl, 1
mov al, 2
call fcn.0045543c
mov edx, dword [ebp - 0x16c]
mov eax, dword [0x54c21c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2fc]
call fcn.004413b4
imul esi, ebx, 0xeb
mov eax, dword [esi + 0x54f11d]
mov edx, dword [0x54c6b8]
mov edx, dword [edx]
call fcn.00403f34
je 0x534709
lea eax, [ebp - 0x16c]
mov edx, dword [esi + 0x54f119]
mov dl, byte [edx + 0xd]
call fcn.00403d4c
mov eax, dword [ebp - 0x16c]
push eax
lea edx, [ebp - 0x170]
mov eax, 1
call fcn.00408e4c
mov edx, dword [ebp - 0x170]
pop eax
call fcn.00403f34
jne 0x534709
mov eax, dword [0x54c21c]
mov eax, dword [eax]
add eax, 0x320
mov edx, dword [esi + 0x54f15e]
call fcn.00403bfc
mov eax, dword [0x54c21c]
mov eax, dword [eax]
mov dword [eax + 0xc], ebx
lea edx, [ebp - 0x16c]
mov eax, dword [ebp + 0x1c]
call fcn.004574f8
mov edx, dword [ebp - 0x16c]
mov eax, dword [0x54c21c]
mov eax, dword [eax]
add eax, 0x324
call fcn.00403bfc
lea eax, [ebp - 0x16c]
push eax
lea edx, [ebp - 0x174]
mov eax, dword [0x54c21c]
mov eax, dword [eax]
mov ebx, dword [eax + 0x2e8]
mov eax, ebx
call fcn.00441384
mov eax, dword [ebp - 0x174]
push eax
mov eax, dword [0x54c21c]
mov eax, dword [eax]
mov eax, dword [eax + 0x324]
mov dword [ebp - 0x17c], eax
mov byte [ebp - 0x178], 0xb
lea edx, [ebp - 0x17c]
xor ecx, ecx
pop eax
call fcn.00409f80
mov edx, dword [ebp - 0x16c]
mov eax, dword [0x54c21c]
mov eax, ebx
call fcn.004413b4
mov dl, 1
mov eax, dword [0x41a268]
call fcn.004219e0
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x534801
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x168]
xor ecx, ecx
mov edx, 0x160
call fcn.00402bd8
push 0x110
push 0x160
lea eax, [ebp - 0x168]
push eax
push 0x80
mov eax, dword [0x54c21c]
mov eax, dword [eax]
mov eax, dword [eax + 0x324]
call fcn.00403fe8
push eax
call sub.shell32.dll_SHGetFileInfoA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x53480b
mov edx, dword [ebp - 0x168]
mov eax, dword [ebp - 8]
call fcn.00421d84
mov eax, dword [0x54c21c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f8]
mov eax, dword [eax + 0x118]
mov edx, dword [ebp - 8]
call fcn.0041e0b0
mov eax, dword [0x54c21c]
mov eax, dword [eax]
mov eax, dword [eax + 0x304]
mov eax, dword [eax + 0x118]
mov edx, dword [ebp - 8]
call fcn.0041e0b0
cmp byte [ebp - 1], 0
je 0x534875
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
cmp edx, dword [ebp + 0x10]
jne 0x534867
cmp eax, dword [ebp + 0xc]
jbe 0x534875
jmp 0x534869
jle 0x534875
cmp dword [ebp + 0x10], 0
jne 0x534889
cmp dword [ebp + 0xc], 0
jne 0x534889
mov eax, dword [0x54c21c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2c8]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [0x54c21c]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0xd0]
cmp eax, 0xa
ja case.0x5348a1.0
jmp dword [eax*4 + 0x5348a8]
mov byte [0x54f5bc], 0
jmp case.0x5348a1.0
mov byte [0x54f5bc], 1
jmp case.0x5348a1.0
mov byte [0x54f5bc], 2
lea edx, [ebp - 0x16c]
mov eax, dword [ebp + 0x1c]
call fcn.00457334
mov edx, dword [ebp - 0x16c]
mov eax, dword [0x54c21c]
mov eax, dword [eax]
mov ecx, dword [eax + 0x324]
lea eax, [ebp + 0x1c]
call fcn.00403e70
jmp case.0x5348a1.0
mov byte [0x54f5bc], 3
jmp case.0x5348a1.0
mov byte [0x54f5bc], 4
jmp case.0x5348a1.0
mov byte [0x54f5bc], 5
jmp case.0x5348a1.0
mov byte [0x54f5bc], 6
jmp case.0x5348a1.0
mov byte [0x54f5bc], 7
mov eax, dword [ebp - 8]
call fcn.00402f44
mov eax, dword [0x54c21c]
mov eax, dword [eax]
call fcn.004385e8
mov eax, dword [0x54c21c]
xor edx, edx
mov dword [eax], edx
cmp byte [0x54f4c2], 0
je 0x534979
mov eax, dword [0x54c5c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.user32.dll_SetActiveWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x534999
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x1c]
call fcn.00403c40
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5349d6
lea eax, [ebp - 0x174]
call fcn.00403ba8
lea eax, [ebp - 0x170]
mov edx, 2
call fcn.00403bcc
lea eax, [ebp + 0x1c]
mov edx, 2
call fcn.00403bcc
ret