Function at 0x561904
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 0x5621c8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x878], 0
jne 0x562192
xor eax, eax
push ebp
push 0x56218b
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x58a54c], 4
je 0x562172
cmp byte [0x58a54c], 6
jne 0x561988
call fcn.00403720
jmp 0x562192
mov dl, 4
mov eax, dword [ebp - 4]
call fcn.00550b00
mov ecx, dword [0x58588c]
mov eax, dword [0x585d88]
mov eax, dword [eax]
mov edx, dword [0x51d89c]
call fcn.0043b40c
mov edx, dword [0x58588c]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
call fcn.00454dc4
mov dl, 0x17
mov eax, dword [ebp - 4]
call fcn.0056848c
test al, al
je 0x561a01
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x500]
cmp byte [esi + 0x258], 0
je 0x5619f5
mov eax, esi
call fcn.004691f0
test al, al
jne 0x561a01
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x500]
call fcn.00468ff8
jmp 0x561a01
mov eax, dword [0x585d88]
mov eax, dword [eax]
call fcn.0043af08
mov dl, 0x17
mov eax, dword [ebp - 4]
call fcn.0056848c
test al, al
je 0x561a3a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x500]
call fcn.004691f0
test al, al
jne 0x561a3a
mov eax, dword [0x58a090]
call fcn.00447134
mov dl, 1
call fcn.004576fc
mov eax, dword [ebp - 4]
call fcn.00564ff8
mov eax, ebx
sub al, 1
jb 0x561a58
sub al, 2
jb 0x561bce
je 0x561a58
dec eax
sub al, 2
jb 0x561d45
jmp 0x561f07
test bl, bl
jne 0x561a63
mov edi, 1
jmp 0x561a68
mov edi, 2
push 7
lea eax, [ebp - 0x170]
push eax
lea edx, [ebp - 0x174]
mov eax, dword [ebp + 0x20]
call fcn.00457b5c
mov edx, dword [ebp - 0x174]
mov ebx, edi
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.005621d8
mov edx, dword [ebp - 0x170]
mov eax, dword [0x58588c]
mov eax, dword [eax]
mov eax, dword [eax + 0x300]
call fcn.00441344
lea edx, [ebp - 0x170]
mov eax, dword [ebp + 0x1c]
call fcn.00561834
mov edx, dword [ebp - 0x170]
mov eax, dword [0x58588c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f4]
call fcn.00441344
cmp dword [ebp + 0x10], 0xffffffff
jne 0x561ae9
cmp dword [ebp + 0xc], 0xffffffff
jne 0x561ae9
mov eax, dword [ebp + 0x1c]
call fcn.00457c9c
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], edx
cmp dword [ebp + 0x18], 0xffffffff
jne 0x561b30
cmp dword [ebp + 0x14], 0xffffffff
jne 0x561b30
push 3
lea eax, [ebp - 0x170]
push eax
lea edx, [ebp - 0x174]
mov eax, dword [ebp + 0x20]
call fcn.00457b5c
mov edx, dword [ebp - 0x174]
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.005621d8
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.004558d4
mov edx, dword [ebp - 0x170]
mov eax, dword [0x58588c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2fc]
call fcn.00441344
fild qword [ebp + 0xc]
add esp, 0xfffffff8
fstp qword [esp]
wait
lea ecx, [ebp - 0x170]
mov dl, 1
mov al, 2
call fcn.004558d4
mov edx, dword [ebp - 0x170]
mov eax, dword [0x58588c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f0]
call fcn.00441344
mov edx, ebx
mov cl, 0xd
mov eax, dword [ebp - 4]
call fcn.00567bf4
cmp al, 1
jne 0x561bbf
mov eax, dword [0x58588c]
mov eax, dword [eax]
add eax, 0x320
imul edx, edi, 0xf5
mov edx, dword [edx + 0x58a102]
call fcn.00403c60
mov eax, dword [0x58588c]
mov eax, dword [eax]
mov dword [eax + 0xc], edi
jmp 0x561f07
cmp bl, 1
jne 0x561bda
mov edi, 1
jmp 0x561bdf
mov edi, 2
lea edx, [ebp - 0x170]
mov eax, dword [ebp + 0x20]
call fcn.00561834
mov edx, dword [ebp - 0x170]
mov eax, dword [0x58588c]
mov eax, dword [eax]
mov eax, dword [eax + 0x300]
call fcn.00441344
push 7
lea eax, [ebp - 0x170]
push eax
lea edx, [ebp - 0x174]
mov eax, dword [ebp + 0x1c]
call fcn.00457b5c
mov edx, dword [ebp - 0x174]
mov ebx, edi
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.005621d8
mov edx, dword [ebp - 0x170]
mov eax, dword [0x58588c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f4]
call fcn.00441344
cmp dword [ebp + 0x10], 0xffffffff
jne 0x561c8d
cmp dword [ebp + 0xc], 0xffffffff
jne 0x561c8d
push 3
lea eax, [ebp - 0x170]
push eax
lea edx, [ebp - 0x174]
mov eax, dword [ebp + 0x1c]
call fcn.00457b5c
mov edx, dword [ebp - 0x174]
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.005621d8
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 0x561ca7
cmp dword [ebp + 0x14], 0xffffffff
jne 0x561ca7
mov eax, dword [ebp + 0x20]
call fcn.00457c9c
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.004558d4
mov edx, dword [ebp - 0x170]
mov eax, dword [0x58588c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2fc]
call fcn.00441344
fild qword [ebp + 0xc]
add esp, 0xfffffff8
fstp qword [esp]
wait
lea ecx, [ebp - 0x170]
mov dl, 1
mov al, 2
call fcn.004558d4
mov edx, dword [ebp - 0x170]
mov eax, dword [0x58588c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f0]
call fcn.00441344
mov edx, ebx
mov cl, 0xd
mov eax, dword [ebp - 4]
call fcn.00567bf4
cmp al, 1
jne 0x561d36
mov eax, dword [0x58588c]
mov eax, dword [eax]
add eax, 0x320
imul edx, edi, 0xf5
mov edx, dword [edx + 0x58a102]
call fcn.00403c60
mov eax, dword [0x58588c]
mov eax, dword [eax]
mov dword [eax + 0xc], edi
jmp 0x561f07
cmp bl, 4
jne 0x561d56
mov edi, 1
mov esi, 2
jmp 0x561d60
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.00457b5c
mov edx, dword [ebp - 0x174]
mov ebx, esi
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.005621d8
mov edx, dword [ebp - 0x170]
mov eax, dword [0x58588c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f4]
call fcn.00441344
push 7
lea eax, [ebp - 0x170]
push eax
lea edx, [ebp - 0x174]
mov eax, dword [ebp + 0x20]
call fcn.00457b5c
mov edx, dword [ebp - 0x174]
mov ecx, edi
mov eax, dword [ebp - 4]
call fcn.005621d8
mov edx, dword [ebp - 0x170]
mov eax, dword [0x58588c]
mov eax, dword [eax]
mov eax, dword [eax + 0x300]
call fcn.00441344
cmp dword [ebp + 0x10], 0xffffffff
jne 0x561e27
cmp dword [ebp + 0xc], 0xffffffff
jne 0x561e27
push 4
lea eax, [ebp - 0x170]
push eax
lea edx, [ebp - 0x174]
mov eax, dword [ebp + 0x1c]
call fcn.00457b5c
mov edx, dword [ebp - 0x174]
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.005621d8
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 0x561e6e
cmp dword [ebp + 0x14], 0xffffffff
jne 0x561e6e
push 4
lea eax, [ebp - 0x170]
push eax
lea edx, [ebp - 0x174]
mov eax, dword [ebp + 0x20]
call fcn.00457b5c
mov edx, dword [ebp - 0x174]
mov ecx, edi
mov eax, dword [ebp - 4]
call fcn.005621d8
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.004558d4
mov edx, dword [ebp - 0x170]
mov eax, dword [0x58588c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f0]
call fcn.00441344
fild qword [ebp + 0x14]
add esp, 0xfffffff8
fstp qword [esp]
wait
lea ecx, [ebp - 0x170]
mov dl, 1
mov al, 2
call fcn.004558d4
mov edx, dword [ebp - 0x170]
mov eax, dword [0x58588c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2fc]
call fcn.00441344
mov edx, ebx
mov cl, 0xd
mov eax, dword [ebp - 4]
call fcn.00567bf4
cmp al, 1
jne 0x561efd
mov eax, dword [0x58588c]
mov eax, dword [eax]
add eax, 0x320
imul edx, esi, 0xf5
mov edx, dword [edx + 0x58a102]
call fcn.00403c60
mov eax, dword [0x58588c]
mov eax, dword [eax]
mov dword [eax + 0xc], esi
lea edx, [ebp - 0x170]
mov eax, dword [ebp + 0x1c]
call fcn.00457b5c
mov edx, dword [ebp - 0x170]
mov eax, dword [0x58588c]
mov eax, dword [eax]
add eax, 0x324
call fcn.00403c60
lea eax, [ebp - 0x170]
push eax
lea edx, [ebp - 0x178]
mov eax, dword [0x58588c]
mov eax, dword [eax]
mov ebx, dword [eax + 0x2e8]
mov eax, ebx
call fcn.00441314
mov eax, dword [ebp - 0x178]
push eax
mov eax, dword [0x58588c]
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 [0x58588c]
mov eax, ebx
call fcn.00441344
mov dl, 1
mov eax, dword [0x41a5e8]
call fcn.00421ed8
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x561ff5
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 [0x58588c]
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 0x561fff
mov edx, dword [ebp - 0x16c]
mov eax, dword [ebp - 0xc]
call fcn.0042227c
mov eax, dword [0x58588c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f8]
mov eax, dword [eax + 0x118]
mov edx, dword [ebp - 0xc]
call fcn.0041e4c8
mov eax, dword [0x58588c]
mov eax, dword [eax]
mov eax, dword [eax + 0x304]
mov eax, dword [eax + 0x118]
mov edx, dword [ebp - 0xc]
call fcn.0041e4c8
cmp byte [ebp - 5], 0
je 0x562069
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
cmp edx, dword [ebp + 0x10]
jne 0x56205b
cmp eax, dword [ebp + 0xc]
jbe 0x562069
jmp 0x56205d
jle 0x562069
cmp dword [ebp + 0x10], 0
jne 0x56207d
cmp dword [ebp + 0xc], 0
jne 0x56207d
mov eax, dword [0x58588c]
mov eax, dword [eax]
mov eax, dword [eax + 0x2c8]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [0x58588c]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0xd0]
cmp eax, 0xa
ja case.0x562095.0
jmp dword [eax*4 + 0x56209c]
mov byte [0x58a54c], 0
jmp case.0x562095.0
mov byte [0x58a54c], 1
jmp case.0x562095.0
mov byte [0x58a54c], 2
lea edx, [ebp - 0x170]
mov eax, dword [ebp + 0x1c]
call fcn.004578b4
mov edx, dword [ebp - 0x170]
mov eax, dword [0x58588c]
mov eax, dword [eax]
mov ecx, dword [eax + 0x324]
lea eax, [ebp + 0x1c]
call fcn.00403ed4
jmp case.0x562095.0
mov byte [0x58a54c], 3
jmp case.0x562095.0
mov byte [0x58a54c], 4
jmp case.0x562095.0
mov byte [0x58a54c], 5
jmp case.0x562095.0
mov byte [0x58a54c], 6
jmp case.0x562095.0
mov byte [0x58a54c], 7
mov eax, dword [ebp - 0xc]
call fcn.00402fa8
mov eax, dword [0x58588c]
mov eax, dword [eax]
call fcn.00438568
mov eax, dword [0x58588c]
xor edx, edx
mov dword [eax], edx
mov dl, 0x17
mov eax, dword [ebp - 4]
call fcn.0056848c
test al, al
je 0x562172
mov eax, dword [0x585d88]
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 0x562192
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 0x5621cf
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