Function at 0x58fe84
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.004040cc
mov eax, dword [ebp + 0x1c]
call fcn.004040cc
xor eax, eax
push ebp
push 0x590742
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x8cc], 0
jne 0x59070c
xor eax, eax
push ebp
push 0x590705
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x5c1748], 4
je 0x5906ec
cmp byte [0x5c1748], 6
jne 0x58ff08
call fcn.004037b0
jmp 0x59070c
mov dl, 4
mov eax, dword [ebp - 4]
call fcn.0057dd80
mov ecx, dword [0x5bb9dc]
mov eax, dword [0x5bbee4]
mov eax, dword [eax]
mov edx, dword [0x549730]
call fcn.0044eeac
mov edx, dword [0x5bb9dc]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
call fcn.00468370
mov dl, 0x17
mov eax, dword [ebp - 4]
call fcn.00596b8c
test al, al
je 0x58ff81
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x4fc]
cmp byte [esi + 0x258], 0
je 0x58ff75
mov eax, esi
call fcn.00495f9c
test al, al
jne 0x58ff81
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4fc]
call fcn.00495da4
jmp 0x58ff81
mov eax, dword [0x5bbee4]
mov eax, dword [eax]
call fcn.0044e9a8
mov dl, 0x17
mov eax, dword [ebp - 4]
call fcn.00596b8c
test al, al
je 0x58ffba
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4fc]
call fcn.00495f9c
test al, al
jne 0x58ffba
mov eax, dword [0x5c1258]
call fcn.0045abd4
mov dl, 1
call fcn.0046ad84
mov eax, dword [ebp - 4]
call fcn.00593590
mov eax, ebx
sub al, 1
jb 0x58ffd8
sub al, 2
jb 0x59014c
je 0x58ffd8
dec eax
sub al, 2
jb 0x5902c1
jmp 0x590481
test bl, bl
jne 0x58ffe3
mov edi, 1
jmp 0x58ffe8
mov edi, 2
push 7
lea eax, [ebp - 0x170]
push eax
lea edx, [ebp - 0x174]
mov eax, dword [ebp + 0x20]
call fcn.0046b1e4
mov edx, dword [ebp - 0x174]
mov ebx, edi
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.00590754
mov edx, dword [ebp - 0x170]
mov eax, dword [0x5bb9dc]
mov eax, dword [eax]
mov eax, dword [eax + 0x300]
call fcn.00454de4
lea edx, [ebp - 0x170]
mov eax, dword [ebp + 0x1c]
call fcn.0058fdb4
mov edx, dword [ebp - 0x170]
mov eax, dword [0x5bb9dc]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f4]
call fcn.00454de4
cmp dword [ebp + 0x10], 0xffffffff
jne 0x590069
cmp dword [ebp + 0xc], 0xffffffff
jne 0x590069
mov eax, dword [ebp + 0x1c]
call fcn.0046b324
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], edx
cmp dword [ebp + 0x18], 0xffffffff
jne 0x5900b0
cmp dword [ebp + 0x14], 0xffffffff
jne 0x5900b0
push 3
lea eax, [ebp - 0x170]
push eax
lea edx, [ebp - 0x174]
mov eax, dword [ebp + 0x20]
call fcn.0046b1e4
mov edx, dword [ebp - 0x174]
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.00590754
mov eax, dword [ebp - 0x170]
xor edx, edx
call fcn.00409190
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.00468ed0
mov edx, dword [ebp - 0x170]
mov eax, dword [0x5bb9dc]
mov eax, dword [eax]
mov eax, dword [eax + 0x2fc]
call fcn.00454de4
fild qword [ebp + 0xc]
add esp, 0xfffffff8
fstp qword [esp]
wait
lea ecx, [ebp - 0x170]
mov dl, 1
mov al, 2
call fcn.00468ed0
mov edx, dword [ebp - 0x170]
mov eax, dword [0x5bb9dc]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f0]
call fcn.00454de4
mov edx, ebx
mov cl, 0xd
mov eax, dword [ebp - 4]
call fcn.00596290
cmp al, 1
jne 0x59013d
mov eax, dword [0x5bb9dc]
mov eax, dword [eax]
add eax, 0x320
imul edx, edi, 0x22
mov edx, dword [edx*8 + 0x5c12cd]
call fcn.00403cf0
mov eax, dword [0x5bb9dc]
mov eax, dword [eax]
mov dword [eax + 0xc], edi
jmp 0x590481
cmp bl, 1
jne 0x590158
mov edi, 1
jmp 0x59015d
mov edi, 2
lea edx, [ebp - 0x170]
mov eax, dword [ebp + 0x20]
call fcn.0058fdb4
mov edx, dword [ebp - 0x170]
mov eax, dword [0x5bb9dc]
mov eax, dword [eax]
mov eax, dword [eax + 0x300]
call fcn.00454de4
push 7
lea eax, [ebp - 0x170]
push eax
lea edx, [ebp - 0x174]
mov eax, dword [ebp + 0x1c]
call fcn.0046b1e4
mov edx, dword [ebp - 0x174]
mov ebx, edi
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.00590754
mov edx, dword [ebp - 0x170]
mov eax, dword [0x5bb9dc]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f4]
call fcn.00454de4
cmp dword [ebp + 0x10], 0xffffffff
jne 0x59020b
cmp dword [ebp + 0xc], 0xffffffff
jne 0x59020b
push 3
lea eax, [ebp - 0x170]
push eax
lea edx, [ebp - 0x174]
mov eax, dword [ebp + 0x1c]
call fcn.0046b1e4
mov edx, dword [ebp - 0x174]
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.00590754
mov eax, dword [ebp - 0x170]
xor edx, edx
call fcn.00409190
cdq
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], edx
cmp dword [ebp + 0x18], 0xffffffff
jne 0x590225
cmp dword [ebp + 0x14], 0xffffffff
jne 0x590225
mov eax, dword [ebp + 0x20]
call fcn.0046b324
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.00468ed0
mov edx, dword [ebp - 0x170]
mov eax, dword [0x5bb9dc]
mov eax, dword [eax]
mov eax, dword [eax + 0x2fc]
call fcn.00454de4
fild qword [ebp + 0xc]
add esp, 0xfffffff8
fstp qword [esp]
wait
lea ecx, [ebp - 0x170]
mov dl, 1
mov al, 2
call fcn.00468ed0
mov edx, dword [ebp - 0x170]
mov eax, dword [0x5bb9dc]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f0]
call fcn.00454de4
mov edx, ebx
mov cl, 0xd
mov eax, dword [ebp - 4]
call fcn.00596290
cmp al, 1
jne 0x5902b2
mov eax, dword [0x5bb9dc]
mov eax, dword [eax]
add eax, 0x320
imul edx, edi, 0x22
mov edx, dword [edx*8 + 0x5c12cd]
call fcn.00403cf0
mov eax, dword [0x5bb9dc]
mov eax, dword [eax]
mov dword [eax + 0xc], edi
jmp 0x590481
cmp bl, 4
jne 0x5902d2
mov edi, 1
mov esi, 2
jmp 0x5902dc
mov edi, 2
mov esi, 1
push 7
lea eax, [ebp - 0x170]
push eax
lea edx, [ebp - 0x174]
mov eax, dword [ebp + 0x1c]
call fcn.0046b1e4
mov edx, dword [ebp - 0x174]
mov ebx, esi
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.00590754
mov edx, dword [ebp - 0x170]
mov eax, dword [0x5bb9dc]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f4]
call fcn.00454de4
push 7
lea eax, [ebp - 0x170]
push eax
lea edx, [ebp - 0x174]
mov eax, dword [ebp + 0x20]
call fcn.0046b1e4
mov edx, dword [ebp - 0x174]
mov ecx, edi
mov eax, dword [ebp - 4]
call fcn.00590754
mov edx, dword [ebp - 0x170]
mov eax, dword [0x5bb9dc]
mov eax, dword [eax]
mov eax, dword [eax + 0x300]
call fcn.00454de4
cmp dword [ebp + 0x10], 0xffffffff
jne 0x5903a3
cmp dword [ebp + 0xc], 0xffffffff
jne 0x5903a3
push 4
lea eax, [ebp - 0x170]
push eax
lea edx, [ebp - 0x174]
mov eax, dword [ebp + 0x1c]
call fcn.0046b1e4
mov edx, dword [ebp - 0x174]
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.00590754
mov eax, dword [ebp - 0x170]
xor edx, edx
call fcn.00409190
cdq
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], edx
cmp dword [ebp + 0x18], 0xffffffff
jne 0x5903ea
cmp dword [ebp + 0x14], 0xffffffff
jne 0x5903ea
push 4
lea eax, [ebp - 0x170]
push eax
lea edx, [ebp - 0x174]
mov eax, dword [ebp + 0x20]
call fcn.0046b1e4
mov edx, dword [ebp - 0x174]
mov ecx, edi
mov eax, dword [ebp - 4]
call fcn.00590754
mov eax, dword [ebp - 0x170]
xor edx, edx
call fcn.00409190
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.00468ed0
mov edx, dword [ebp - 0x170]
mov eax, dword [0x5bb9dc]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f0]
call fcn.00454de4
fild qword [ebp + 0x14]
add esp, 0xfffffff8
fstp qword [esp]
wait
lea ecx, [ebp - 0x170]
mov dl, 1
mov al, 2
call fcn.00468ed0
mov edx, dword [ebp - 0x170]
mov eax, dword [0x5bb9dc]
mov eax, dword [eax]
mov eax, dword [eax + 0x2fc]
call fcn.00454de4
mov edx, ebx
mov cl, 0xd
mov eax, dword [ebp - 4]
call fcn.00596290
cmp al, 1
jne 0x590477
mov eax, dword [0x5bb9dc]
mov eax, dword [eax]
add eax, 0x320
imul edx, esi, 0x22
mov edx, dword [edx*8 + 0x5c12cd]
call fcn.00403cf0
mov eax, dword [0x5bb9dc]
mov eax, dword [eax]
mov dword [eax + 0xc], esi
lea edx, [ebp - 0x170]
mov eax, dword [ebp + 0x1c]
call fcn.0046b1e4
mov edx, dword [ebp - 0x170]
mov eax, dword [0x5bb9dc]
mov eax, dword [eax]
add eax, 0x324
call fcn.00403cf0
lea eax, [ebp - 0x170]
push eax
lea edx, [ebp - 0x178]
mov eax, dword [0x5bb9dc]
mov eax, dword [eax]
mov ebx, dword [eax + 0x2e8]
mov eax, ebx
call fcn.00454db4
mov eax, dword [ebp - 0x178]
push eax
mov eax, dword [0x5bb9dc]
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.0040a09c
mov edx, dword [ebp - 0x170]
mov eax, dword [0x5bb9dc]
mov eax, ebx
call fcn.00454de4
mov dl, 1
mov eax, dword [0x42e088]
call fcn.00435978
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x59056f
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 [0x5bb9dc]
mov eax, dword [eax]
mov eax, dword [eax + 0x324]
call fcn.004040dc
push eax
call sub.shell32.dll_SHGetFileInfoA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x590579
mov edx, dword [ebp - 0x16c]
mov eax, dword [ebp - 0xc]
call fcn.00435d1c
mov eax, dword [0x5bb9dc]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f8]
mov eax, dword [eax + 0x118]
mov edx, dword [ebp - 0xc]
call fcn.00431f68
mov eax, dword [0x5bb9dc]
mov eax, dword [eax]
mov eax, dword [eax + 0x304]
mov eax, dword [eax + 0x118]
mov edx, dword [ebp - 0xc]
call fcn.00431f68
cmp byte [ebp - 5], 0
je 0x5905e3
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
cmp edx, dword [ebp + 0x10]
jne 0x5905d5
cmp eax, dword [ebp + 0xc]
jbe 0x5905e3
jmp 0x5905d7
jle 0x5905e3
cmp dword [ebp + 0x10], 0
jne 0x5905f7
cmp dword [ebp + 0xc], 0
jne 0x5905f7
mov eax, dword [0x5bb9dc]
mov eax, dword [eax]
mov eax, dword [eax + 0x2c8]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [0x5bb9dc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0xd0]
cmp eax, 0xa
ja case.0x59060f.0
jmp dword [eax*4 + 0x590616]
mov byte [0x5c1748], 0
jmp case.0x59060f.0
mov byte [0x5c1748], 1
jmp case.0x59060f.0
mov byte [0x5c1748], 2
lea edx, [ebp - 0x170]
mov eax, dword [ebp + 0x1c]
call fcn.0046af3c
mov edx, dword [ebp - 0x170]
mov eax, dword [0x5bb9dc]
mov eax, dword [eax]
mov ecx, dword [eax + 0x324]
lea eax, [ebp + 0x1c]
call fcn.00403f64
jmp case.0x59060f.0
mov byte [0x5c1748], 3
jmp case.0x59060f.0
mov byte [0x5c1748], 4
jmp case.0x59060f.0
mov byte [0x5c1748], 5
jmp case.0x59060f.0
mov byte [0x5c1748], 6
jmp case.0x59060f.0
mov byte [0x5c1748], 7
mov eax, dword [ebp - 0xc]
call fcn.00402fb8
mov eax, dword [0x5bb9dc]
mov eax, dword [eax]
call fcn.0044c008
mov eax, dword [0x5bb9dc]
xor edx, edx
mov dword [eax], edx
mov dl, 0x17
mov eax, dword [ebp - 4]
call fcn.00596b8c
test al, al
je 0x5906ec
mov eax, dword [0x5bbee4]
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 0x59070c
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x1c]
call fcn.00403d34
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x590749
lea eax, [ebp - 0x178]
call fcn.00403c9c
lea eax, [ebp - 0x174]
mov edx, 2
call fcn.00403cc0
lea eax, [ebp + 0x1c]
mov edx, 2
call fcn.00403cc0
ret