Function at 0x401c20
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3e4
mov ax, word [ebp + 0xc]
mov word [ebp - 0x19c], ax
lea ecx, [ebp - 0x19c]
mov dword [ebp - 0x3b4], ecx
mov edx, 0xde1
mov word [ebp - 0x3c8], dx
mov byte [ebp - 0x179], 0x30
mov dword [ebp - 0x190], 0x33a8
lea eax, [ebp - 0x179]
mov dword [ebp - 0x3b0], eax
mov byte [ebp - 0x3c9], 0xd8
mov ecx, dword [ebp + 0x14]
sub ecx, 0xdbc2
cmp ecx, dword [ebp + 0x10]
ja 0x401d2a
movsx edx, word [ebp - 0x19c]
mov dword [ebp - 0x3dc], edx
cmp dword [ebp - 0x3dc], 0x4d
je 0x401d10
cmp dword [ebp - 0x3dc], 0x78b
je 0x401ca9
jmp 0x401d2a
push 0x73
lea eax, [ebp - 0x178]
push eax
push 0x6d
mov ecx, dword [ebp - 0x194]
push ecx
mov edx, dword [ebp - 0x3b8]
push edx
mov eax, dword [ebp - 0x198]
push eax
call sub.WINSPOOL.DRV_SetPrinterDataExA
mov dword [ebp - 0x178], eax
movsx ecx, byte [ebp - 0x179]
add ecx, 0x26
mov edx, dword [ebp - 0x3b0]
mov byte [edx], cl
mov eax, dword [ebp - 0x3b4]
movzx ecx, word [eax]
push ecx
mov edx, dword [ebp - 0x178]
push edx
mov eax, dword [ebp - 0x178]
push eax
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x3b0]
mov cl, byte [ecx]
call fcn.00401b70
jmp 0x401d2a
mov edx, dword [ebp - 0x3b0]
movsx eax, byte [edx]
movsx ecx, byte [ebp - 0x179]
and eax, ecx
mov edx, dword [ebp - 0x3b0]
mov byte [edx], al
movzx eax, word [ebp - 0x3c8]
cmp eax, 0x89d
je 0x401df9
mov ecx, dword [ebp - 0x178]
mov dword [ebp - 0x3e0], ecx
cmp dword [ebp - 0x3e0], 0xd72c
je 0x401d56
jmp 0x401dd1
movsx edx, word [ebp - 0x19c]
mov eax, dword [ebp - 0x3b4]
movsx ecx, word [eax]
or edx, ecx
movsx eax, word [ebp + 8]
movsx ecx, word [ebp + 0xc]
sar eax, cl
cmp edx, eax
je 0x401dbd
mov ecx, dword [ebp - 0x3b4]
mov dx, word [ecx]
mov word [ebp + 0xc], dx
lea eax, [ebp - 0x198]
push eax
lea ecx, [ebp - 0x3b4]
push ecx
call dword [sym.imp.SHELL32.dll_ILFindChild]
mov dword [ebp - 8], eax
mov dx, word [ebp - 0x19c]
mov word [ebp + 8], dx
movsx eax, word [ebp - 0x19c]
movsx ecx, word [ebp + 0xc]
xor eax, ecx
mov edx, dword [ebp - 0x3b4]
mov word [edx], ax
jmp 0x401dcf
mov eax, dword [ebp - 0x3b0]
movsx ecx, byte [eax]
add ecx, 0x34
mov byte [ebp - 0x179], cl
jmp 0x401df7
lea edx, [ebp - 0x190]
mov dword [ebp - 0x188], edx
mov ax, word [ebp - 0x3c8]
mov word [ebp - 0x3a8], ax
mov cl, byte [ebp - 0x3c9]
mov byte [ebp - 0x3d1], cl
jmp 0x401e5b
mov edx, dword [ebp - 0x3b0]
movsx eax, byte [edx]
cdq
mov ecx, 0xd
idiv ecx
movsx edx, byte [ebp - 0x179]
cmp eax, edx
jle 0x401e5b
mov eax, dword [ebp - 0x188]
mov ecx, dword [eax]
sub ecx, 0x1847
mov dword [ebp - 0x190], ecx
push 0x57
push 0x4e
lea edx, [ebp - 0x170]
push edx
push 0x57
mov eax, dword [ebp - 0x3a4]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov dword [ebp - 0x3d0], eax
movsx ecx, byte [ebp - 0x179]
and ecx, 0x64
mov edx, dword [ebp - 0x3b0]
mov byte [edx], cl
lea eax, [ebp + 0x10]
mov dword [ebp - 0x3c4], eax
mov cl, byte [ebp - 0x3d1]
mov byte [ebp - 1], cl
movzx edx, word [ebp - 0x3a8]
imul edx, edx, 0x47c
movzx eax, word [ebp - 0x3c8]
cmp edx, eax
jge 0x401eab
mov ecx, dword [ebp - 0x3c4]
mov edx, dword [ecx]
or edx, dword [ebp - 0x3d0]
mov eax, dword [ebp - 0x3c4]
mov dword [eax], edx
mov ecx, dword [ebp - 0x3c4]
mov edx, dword [ecx]
mov dword [ebp + 0x10], edx
jmp 0x402113
mov ax, word [ebp - 0x3a8]
mov word [ebp - 0x3d8], ax
lea ecx, [ebp - 1]
mov dword [ebp - 0x174], ecx
lea edx, [ebp - 0x178]
mov dword [ebp - 0x184], edx
mov eax, dword [ebp - 0x184]
mov ecx, dword [ebp + 0x10]
xor ecx, dword [eax]
mov edx, dword [ebp - 0x3c4]
mov eax, dword [edx]
and eax, dword [ebp - 0x3d0]
cmp ecx, eax
jne 0x401fcd
mov ecx, dword [ebp - 0x3b0]
movsx edx, byte [ecx]
imul edx, edx, 0x67
movsx eax, byte [ebp - 0x179]
cmp edx, eax
jl 0x401f2c
mov ecx, dword [ebp - 0x3d0]
mov dword [ebp - 0x18c], ecx
lea edx, [ebp - 0x190]
mov dword [ebp - 0x3ac], edx
mov eax, dword [ebp - 0x3ac]
mov ecx, dword [eax]
mov dword [ebp - 0x3c0], ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x178], edx
mov eax, dword [ebp - 0x3b0]
movzx ecx, byte [eax]
push ecx
mov edx, dword [ebp - 0x174]
movzx eax, byte [edx]
push eax
movzx ecx, word [ebp - 0x3a8]
push ecx
call fcn.005b4a20
add esp, 0xc
movzx edx, word [ebp - 0x3a8]
movzx eax, word [ebp - 0x3c8]
add edx, eax
movzx ecx, word [ebp - 0x3d8]
cmp edx, ecx
jl 0x401fbf
mov edx, dword [ebp - 0x188]
mov eax, dword [edx]
sub eax, dword [ebp - 0x3c0]
mov ecx, dword [ebp - 0x188]
mov dword [ecx], eax
mov edx, dword [ebp - 0x174]
movzx eax, byte [edx]
movzx ecx, byte [ebp - 0x3d1]
sar eax, cl
mov byte [ebp - 1], al
movzx ecx, word [ebp - 0x3c8]
push ecx
movzx edx, byte [ebp - 0x3c9]
push edx
movzx eax, byte [ebp - 0x179]
push eax
call fcn.004021a0
add esp, 0xc
mov ecx, dword [ebp - 0x3d0]
mov dword [ebp + 0x14], ecx
jmp 0x4020b4
mov edx, dword [ebp - 0x188]
mov eax, dword [edx]
imul eax, eax, 0x5179
cmp eax, dword [ebp - 0x190]
jge 0x4020b4
mov ecx, dword [ebp - 0x190]
mov dword [ebp - 0x3e4], ecx
cmp dword [ebp - 0x3e4], 0x6738
je 0x402010
cmp dword [ebp - 0x3e4], 0x6788
je 0x40202b
jmp 0x4020b4
movsx edx, word [ebp + 8]
movsx eax, word [ebp - 0x19c]
add edx, eax
mov ecx, dword [ebp - 0x3b4]
mov word [ecx], dx
jmp 0x4020b4
mov edx, dword [ebp - 0x3b4]
movsx eax, word [edx]
movsx ecx, word [ebp - 0x19c]
sub eax, ecx
movsx edx, word [ebp + 0xc]
movsx ecx, word [ebp + 8]
sub edx, ecx
cmp eax, edx
jle 0x4020b4
mov edx, dword [ebp - 0x184]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x3c4]
mov edx, dword [ecx]
push edx
movzx eax, word [ebp - 0x19c]
push eax
movzx ecx, word [ebp + 0xc]
push ecx
call fcn.00401c20
add esp, 0x10
movzx edx, byte [ebp - 0x3c9]
movzx eax, byte [ebp - 0x3d1]
add edx, eax
mov ecx, dword [ebp - 0x174]
mov byte [ecx], dl
movzx edx, word [ebp - 0x3d8]
movzx eax, word [ebp - 0x3a8]
and edx, eax
mov word [ebp - 0x3c8], dx
lea ecx, [ebp - 0x3a4]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetInstanceExplorer]
mov dword [ebp - 0x180], eax
mov edx, dword [ebp - 0x3b4]
mov ax, word [edx]
mov word [ebp + 8], ax
movzx ecx, byte [ebp - 0x179]
push ecx
movzx edx, byte [ebp - 1]
push edx
movzx eax, word [ebp - 0x3c8]
push eax
call fcn.005b4a20
add esp, 0xc
mov ecx, dword [ebp - 0x3b4]
mov dx, word [ecx]
mov word [ebp + 8], dx
lea eax, [ebp - 0x3c9]
push eax
lea ecx, [ebp - 0x170]
push ecx
lea edx, [ebp - 0x3b4]
push edx
mov eax, dword [ebp - 0x3b8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDiskFreeSpaceExA]
mov dword [ebp - 0x3bc], eax
mov ecx, dword [ebp - 0x3c4]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x178]
push eax
movzx ecx, word [ebp - 0x19c]
push ecx
mov edx, dword [ebp - 0x3b4]
movzx eax, word [edx]
push eax
call fcn.00401c20
add esp, 0x10
mov ecx, dword [ebp - 0x3b4]
movsx edx, word [ecx]
movsx eax, word [ebp - 0x19c]
sub edx, eax
mov ecx, dword [ebp - 0x3b4]
mov word [ecx], dx
movzx edx, byte [ebp - 1]
movzx eax, byte [ebp - 0x3c9]
add edx, eax
movzx ecx, byte [ebp - 0x3d1]
cmp edx, ecx
jle 0x402182
lea edx, [ebp - 0x3a0]
push edx
push 0x42
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x188]
mov ecx, dword [eax]
sar ecx, 0x14
mov dword [ebp - 0x190], ecx
mov eax, 0x75
mov esp, ebp
pop ebp
ret