Function at 0x56510c
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe80
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x170], ebx
mov dword [ebp - 0x178], ebx
mov dword [ebp - 0x174], ebx
mov ebx, ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x20]
call fcn.0040403c
mov eax, dword [ebp + 0x1c]
call fcn.0040403c
xor eax, eax
push ebp
push 0x5659ca
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x87c], 0
jne 0x565994
xor eax, eax
push ebp
push 0x56598d
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x5866dc], 4
je 0x565974
cmp byte [0x5866dc], 6
jne 0x565190
call fcn.00403720
jmp 0x565994
mov dl, 4
mov eax, dword [ebp - 4]
call fcn.005547c0
mov ecx, dword [0x5817b8]
mov eax, dword [0x581ca8]
mov eax, dword [eax]
mov edx, dword [0x522a04]
call fcn.0043b3a8
mov edx, dword [0x5817b8]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
call fcn.00454dec
mov dl, 0x17
mov eax, dword [ebp - 4]
call fcn.0056baac
test al, al
je 0x565209
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x504]
cmp byte [esi + 0x258], 0
je 0x5651fd
mov eax, esi
call fcn.004696cc
test al, al
jne 0x565209
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x504]
call fcn.004694d4
jmp 0x565209
mov eax, dword [0x581ca8]
mov eax, dword [eax]
call fcn.0043aea4
mov dl, 0x17
mov eax, dword [ebp - 4]
call fcn.0056baac
test al, al
je 0x565242
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x504]
call fcn.004696cc
test al, al
jne 0x565242
mov eax, dword [0x586224]
call fcn.00447120
mov dl, 1
call fcn.00457724
mov eax, dword [ebp - 4]
call fcn.0056863c
mov eax, ebx
sub al, 1
jb 0x565260
sub al, 2
jb 0x5653d4
je 0x565260
dec eax
sub al, 2
jb 0x565549
jmp 0x565709
test bl, bl
jne 0x56526b
mov edi, 1
jmp 0x565270
mov edi, 2
push 6
lea eax, [ebp - 0x170]
push eax
lea edx, [ebp - 0x174]
mov eax, dword [ebp + 0x20]
call fcn.00457b04
mov edx, dword [ebp - 0x174]
mov ebx, edi
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.005659dc
mov edx, dword [ebp - 0x170]
mov eax, dword [0x5817b8]
mov eax, dword [eax]
mov eax, dword [eax + 0x300]
call fcn.00441330
lea edx, [ebp - 0x170]
mov eax, dword [ebp + 0x1c]
call fcn.0056503c
mov edx, dword [ebp - 0x170]
mov eax, dword [0x5817b8]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f4]
call fcn.00441330
cmp dword [ebp + 0x10], 0xffffffff
jne 0x5652f1
cmp dword [ebp + 0xc], 0xffffffff
jne 0x5652f1
mov eax, dword [ebp + 0x1c]
call fcn.00457c44
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], edx
cmp dword [ebp + 0x18], 0xffffffff
jne 0x565338
cmp dword [ebp + 0x14], 0xffffffff
jne 0x565338
push 3
lea eax, [ebp - 0x170]
push eax
lea edx, [ebp - 0x174]
mov eax, dword [ebp + 0x20]
call fcn.00457b04
mov edx, dword [ebp - 0x174]
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.005659dc
mov eax, dword [ebp - 0x170]
xor edx, edx
call fcn.004090fc
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 - 0x170]
mov dl, 1
mov al, 2
call fcn.004558fc
mov edx, dword [ebp - 0x170]
mov eax, dword [0x5817b8]
mov eax, dword [eax]
mov eax, dword [eax + 0x2fc]
call fcn.00441330
fild qword [ebp + 0xc]
add esp, 0xfffffff8
fstp qword [esp]
wait
lea ecx, [ebp - 0x170]
mov dl, 1
mov al, 2
call fcn.004558fc
mov edx, dword [ebp - 0x170]
mov eax, dword [0x5817b8]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f0]
call fcn.00441330
mov edx, ebx
mov cl, 0xd
mov eax, dword [ebp - 4]
call fcn.0056b218
cmp al, 1
jne 0x5653c5
mov eax, dword [0x5817b8]
mov eax, dword [eax]
add eax, 0x320
imul edx, edi, 0x7b
mov edx, dword [edx*2 + 0x586292]
call fcn.00403c60
mov eax, dword [0x5817b8]
mov eax, dword [eax]
mov dword [eax + 0xc], edi
jmp 0x565709
cmp bl, 1
jne 0x5653e0
mov edi, 1
jmp 0x5653e5
mov edi, 2
lea edx, [ebp - 0x170]
mov eax, dword [ebp + 0x20]
call fcn.0056503c
mov edx, dword [ebp - 0x170]
mov eax, dword [0x5817b8]
mov eax, dword [eax]
mov eax, dword [eax + 0x300]
call fcn.00441330
push 6
lea eax, [ebp - 0x170]
push eax
lea edx, [ebp - 0x174]
mov eax, dword [ebp + 0x1c]
call fcn.00457b04
mov edx, dword [ebp - 0x174]
mov ebx, edi
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.005659dc
mov edx, dword [ebp - 0x170]
mov eax, dword [0x5817b8]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f4]
call fcn.00441330
cmp dword [ebp + 0x10], 0xffffffff
jne 0x565493
cmp dword [ebp + 0xc], 0xffffffff
jne 0x565493
push 3
lea eax, [ebp - 0x170]
push eax
lea edx, [ebp - 0x174]
mov eax, dword [ebp + 0x1c]
call fcn.00457b04
mov edx, dword [ebp - 0x174]
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.005659dc
mov eax, dword [ebp - 0x170]
xor edx, edx
call fcn.004090fc
cdq
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], edx
cmp dword [ebp + 0x18], 0xffffffff
jne 0x5654ad
cmp dword [ebp + 0x14], 0xffffffff
jne 0x5654ad
mov eax, dword [ebp + 0x20]
call fcn.00457c44
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x18], edx
fild qword [ebp + 0x14]
add esp, 0xfffffff8
fstp qword [esp]
wait
lea ecx, [ebp - 0x170]
mov dl, 1
mov al, 2
call fcn.004558fc
mov edx, dword [ebp - 0x170]
mov eax, dword [0x5817b8]
mov eax, dword [eax]
mov eax, dword [eax + 0x2fc]
call fcn.00441330
fild qword [ebp + 0xc]
add esp, 0xfffffff8
fstp qword [esp]
wait
lea ecx, [ebp - 0x170]
mov dl, 1
mov al, 2
call fcn.004558fc
mov edx, dword [ebp - 0x170]
mov eax, dword [0x5817b8]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f0]
call fcn.00441330
mov edx, ebx
mov cl, 0xd
mov eax, dword [ebp - 4]
call fcn.0056b218
cmp al, 1
jne 0x56553a
mov eax, dword [0x5817b8]
mov eax, dword [eax]
add eax, 0x320
imul edx, edi, 0x7b
mov edx, dword [edx*2 + 0x586292]
call fcn.00403c60
mov eax, dword [0x5817b8]
mov eax, dword [eax]
mov dword [eax + 0xc], edi
jmp 0x565709
cmp bl, 4
jne 0x56555a
mov edi, 1
mov esi, 2
jmp 0x565564
mov edi, 2
mov esi, 1
push 6
lea eax, [ebp - 0x170]
push eax
lea edx, [ebp - 0x174]
mov eax, dword [ebp + 0x1c]
call fcn.00457b04
mov edx, dword [ebp - 0x174]
mov ebx, esi
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.005659dc
mov edx, dword [ebp - 0x170]
mov eax, dword [0x5817b8]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f4]
call fcn.00441330
push 6
lea eax, [ebp - 0x170]
push eax
lea edx, [ebp - 0x174]
mov eax, dword [ebp + 0x20]
call fcn.00457b04
mov edx, dword [ebp - 0x174]
mov ecx, edi
mov eax, dword [ebp - 4]
call fcn.005659dc
mov edx, dword [ebp - 0x170]
mov eax, dword [0x5817b8]
mov eax, dword [eax]
mov eax, dword [eax + 0x300]
call fcn.00441330
cmp dword [ebp + 0x10], 0xffffffff
jne 0x56562b
cmp dword [ebp + 0xc], 0xffffffff
jne 0x56562b
push 4
lea eax, [ebp - 0x170]
push eax
lea edx, [ebp - 0x174]
mov eax, dword [ebp + 0x1c]
call fcn.00457b04
mov edx, dword [ebp - 0x174]
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.005659dc
mov eax, dword [ebp - 0x170]
xor edx, edx
call fcn.004090fc
cdq
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], edx
cmp dword [ebp + 0x18], 0xffffffff
jne 0x565672
cmp dword [ebp + 0x14], 0xffffffff
jne 0x565672
push 4
lea eax, [ebp - 0x170]
push eax
lea edx, [ebp - 0x174]
mov eax, dword [ebp + 0x20]
call fcn.00457b04
mov edx, dword [ebp - 0x174]
mov ecx, edi
mov eax, dword [ebp - 4]
call fcn.005659dc
mov eax, dword [ebp - 0x170]
xor edx, edx
call fcn.004090fc
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 - 0x170]
mov dl, 1
mov al, 2
call fcn.004558fc
mov edx, dword [ebp - 0x170]
mov eax, dword [0x5817b8]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f0]
call fcn.00441330
fild qword [ebp + 0x14]
add esp, 0xfffffff8
fstp qword [esp]
wait
lea ecx, [ebp - 0x170]
mov dl, 1
mov al, 2
call fcn.004558fc
mov edx, dword [ebp - 0x170]
mov eax, dword [0x5817b8]
mov eax, dword [eax]
mov eax, dword [eax + 0x2fc]
call fcn.00441330
mov edx, ebx
mov cl, 0xd
mov eax, dword [ebp - 4]
call fcn.0056b218
cmp al, 1
jne 0x5656ff
mov eax, dword [0x5817b8]
mov eax, dword [eax]
add eax, 0x320
imul edx, esi, 0x7b
mov edx, dword [edx*2 + 0x586292]
call fcn.00403c60
mov eax, dword [0x5817b8]
mov eax, dword [eax]
mov dword [eax + 0xc], esi
lea edx, [ebp - 0x170]
mov eax, dword [ebp + 0x1c]
call fcn.00457b04
mov edx, dword [ebp - 0x170]
mov eax, dword [0x5817b8]
mov eax, dword [eax]
add eax, 0x324
call fcn.00403c60
lea eax, [ebp - 0x170]
push eax
lea edx, [ebp - 0x178]
mov eax, dword [0x5817b8]
mov eax, dword [eax]
mov ebx, dword [eax + 0x2e8]
mov eax, ebx
call fcn.00441300
mov eax, dword [ebp - 0x178]
push eax
mov eax, dword [0x5817b8]
mov eax, dword [eax]
mov eax, dword [eax + 0x324]
mov dword [ebp - 0x180], eax
mov byte [ebp - 0x17c], 0xb
lea edx, [ebp - 0x180]
xor ecx, ecx
pop eax
call fcn.00409ffc
mov edx, dword [ebp - 0x170]
mov eax, dword [0x5817b8]
mov eax, ebx
call fcn.00441330
mov dl, 1
mov eax, dword [0x41a558]
call fcn.00421e48
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x5657f7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x16c]
xor ecx, ecx
mov edx, 0x160
call fcn.00402c18
push 0x110
push 0x160
lea eax, [ebp - 0x16c]
push eax
push 0x80
mov eax, dword [0x5817b8]
mov eax, dword [eax]
mov eax, dword [eax + 0x324]
call fcn.0040404c
push eax
call sub.shell32.dll_SHGetFileInfoA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x565801
mov edx, dword [ebp - 0x16c]
mov eax, dword [ebp - 0xc]
call fcn.004221ec
mov eax, dword [0x5817b8]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f8]
mov eax, dword [eax + 0x118]
mov edx, dword [ebp - 0xc]
call fcn.0041e438
mov eax, dword [0x5817b8]
mov eax, dword [eax]
mov eax, dword [eax + 0x304]
mov eax, dword [eax + 0x118]
mov edx, dword [ebp - 0xc]
call fcn.0041e438
cmp byte [ebp - 5], 0
je 0x56586b
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
cmp edx, dword [ebp + 0x10]
jne 0x56585d
cmp eax, dword [ebp + 0xc]
jbe 0x56586b
jmp 0x56585f
jle 0x56586b
cmp dword [ebp + 0x10], 0
jne 0x56587f
cmp dword [ebp + 0xc], 0
jne 0x56587f
mov eax, dword [0x5817b8]
mov eax, dword [eax]
mov eax, dword [eax + 0x2c8]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [0x5817b8]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0xd0]
cmp eax, 0xa
ja case.0x565897.0
jmp dword [eax*4 + 0x56589e]
mov byte [0x5866dc], 0
jmp case.0x565897.0
mov byte [0x5866dc], 1
jmp case.0x565897.0
mov byte [0x5866dc], 2
lea edx, [ebp - 0x170]
mov eax, dword [ebp + 0x1c]
call fcn.004578dc
mov edx, dword [ebp - 0x170]
mov eax, dword [0x5817b8]
mov eax, dword [eax]
mov ecx, dword [eax + 0x324]
lea eax, [ebp + 0x1c]
call fcn.00403ed4
jmp case.0x565897.0
mov byte [0x5866dc], 3
jmp case.0x565897.0
mov byte [0x5866dc], 4
jmp case.0x565897.0
mov byte [0x5866dc], 5
jmp case.0x565897.0
mov byte [0x5866dc], 6
jmp case.0x565897.0
mov byte [0x5866dc], 7
mov eax, dword [ebp - 0xc]
call fcn.00402fa8
mov eax, dword [0x5817b8]
mov eax, dword [eax]
call fcn.00438504
mov eax, dword [0x5817b8]
xor edx, edx
mov dword [eax], edx
mov dl, 0x17
mov eax, dword [ebp - 4]
call fcn.0056baac
test al, al
je 0x565974
mov eax, dword [0x581ca8]
mov eax, dword [eax]
mov eax, dword [eax + 0x2c]
push eax
call sub.user32.dll_SetActiveWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x565994
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x1c]
call fcn.00403ca4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5659d1
lea eax, [ebp - 0x178]
call fcn.00403c0c
lea eax, [ebp - 0x174]
mov edx, 2
call fcn.00403c30
lea eax, [ebp + 0x1c]
mov edx, 2
call fcn.00403c30
ret