Function at 0x490c40
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x4f3e68
mov eax, dword fs:[0]
push eax
sub esp, 0x3cc
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x3c4], eax
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x3d8]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x14], edi
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov ecx, dword [ebp + 0xc]
movq qword [esp + 0xb8], xmm0
mov dword [esp + 0xc0], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0x3e0], 0
cmp dword [eax + 4], 0
mov byte [esp + 0x19], 0
je 0x490f3e
mov edx, dword [eax]
mov esi, 0x501214
mov cl, byte [0x501214]
movzx eax, cl
cmp ax, word [edx]
jne 0x490d17
lea ebx, [ebx]
test cl, cl
je 0x490f3e
mov cl, byte [esi + 1]
inc esi
add edx, 2
movzx eax, cl
cmp ax, word [edx]
je 0x490d00
xorps xmm0, xmm0
lea ecx, [esp + 0xc4]
movdqa xmmword [esp + 0xc4], xmm0
call fcn.00418240
push dword [esp + 0x1c]
lea ecx, [esp + 0xc8]
mov byte [esp + 0x3e4], 3
call fcn.00419a70
lea ecx, [esp + 0x34]
call fcn.00417b20
mov byte [esp + 0x3e0], 4
jmp 0x490d60
cmp dword [esp + 0xc4], 0xffffffff
lea eax, [esp + 0x34]
lea ecx, [esp + 0xc4]
push eax
je 0x490d7d
call fcn.00418cc0
jmp 0x490d89
push dword [esp + 0xcc]
call fcn.00418b70
test al, al
je 0x490e70
mov ecx, dword [esp + 0x54]
mov eax, ecx
mov esi, dword [esp + 0x5c]
shr eax, 4
test al, 1
je 0x490dc1
mov eax, dword [esp + 0x60]
test eax, eax
je 0x490dc1
cmp word [esi], 0x2e
jne 0x490dc1
cmp eax, 1
je 0x490d60
cmp eax, 2
jne 0x490dc1
cmp word [esi + 2], 0x2e
je 0x490d60
shr ecx, 4
test cl, 1
jne 0x490e49
cmp byte [edi + 0x60], 0
je 0x490de9
push esi
mov byte [esp + 0x3e4], 3
call fcn.004df97b
add esp, 4
jmp 0x490d47
cmp byte [edi + 0x7c], 0
jne 0x490e49
mov eax, dword [esp + 0x14]
xor edi, edi
cmp edi, dword [eax + 0x84]
jae 0x490e29
lea ecx, [ecx]
mov eax, dword [eax + 0x80]
mov edx, esi
mov eax, dword [eax + edi*4]
mov ecx, dword [eax]
call fcn.00413f50
test al, al
mov eax, dword [esp + 0x14]
jne 0x490e23
inc edi
cmp edi, dword [eax + 0x84]
jb 0x490e00
cmp edi, dword [eax + 0x84]
jne 0x490e45
push esi
mov byte [esp + 0x3e4], 3
call fcn.004df97b
mov edi, dword [esp + 0x18]
add esp, 4
jmp 0x490d47
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0xbc]
call fcn.00492ce0
push esi
mov byte [esp + 0x3e4], 3
call fcn.004df97b
add esp, 4
jmp 0x490d47
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x12
sete al
test al, al
jne 0x490ef7
call esi
mov esi, eax
mov byte [esp + 0x3e0], 3
push dword [esp + 0x5c]
mov eax, 0x80004005
test esi, esi
cmove esi, eax
call fcn.004df97b
add esp, 4
mov byte [esp + 0x3e0], 0
push dword [esp + 0xc8]
call fcn.004df97b
mov eax, dword [esp + 0xc8]
add esp, 4
cmp eax, 0xffffffff
je 0x490ee4
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0xc4]
or edx, 0xffffffff
test eax, eax
cmovne ecx, edx
mov dword [esp + 0xc4], ecx
lea ecx, [esp + 0xb8]
call fcn.0042b100
mov eax, esi
jmp 0x491739
mov byte [esp + 0x3e0], 3
push dword [esp + 0x5c]
call fcn.004df97b
add esp, 4
mov byte [esp + 0x3e0], 0
push dword [esp + 0xc8]
call fcn.004df97b
mov eax, dword [esp + 0xc8]
add esp, 4
cmp eax, 0xffffffff
je 0x4910de
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x4910de
xorps xmm0, xmm0
mov dword [esp + 0xb4], 0
movq qword [esp + 0xac], xmm0
mov byte [esp + 0x19], 1
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
lea ecx, [esp + 0xac]
mov byte [esp + 0x3e0], 1
call fcn.00419bf0
test al, al
jne 0x490fc4
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0xac]
mov esi, eax
call fcn.00410a70
lea ecx, [esp + 0xb8]
call fcn.0042b100
mov eax, 0x80004005
test esi, esi
cmove esi, eax
mov eax, esi
jmp 0x491739
mov esi, dword [esp + 0xb0]
xor eax, eax
mov dword [esp + 0x20], eax
test esi, esi
je 0x491091
lea esp, [esp]
mov ecx, dword [esp + 0xac]
xorps xmm0, xmm0
movq qword [esp + 0xa0], xmm0
mov dword [esp + 0xa8], 0
push dword [ecx + eax*4]
lea ecx, [esp + 0xa4]
call fcn.00412780
mov byte [esp + 0x3e0], 2
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xa0]
cmp ecx, 3
jb 0x491176
cmp word [edx + ecx*2 - 2], 0x5c
jne 0x491176
dec ecx
xor eax, eax
mov dword [esp + 0xa4], ecx
mov word [edx + ecx*2], ax
lea ecx, [esp + 0xb8]
call fcn.00492da0
lea ecx, [esp + 0xa0]
push ecx
lea ecx, [eax + 0x28]
mov dword [eax + 0x20], 0x10
call fcn.004128e0
mov byte [esp + 0x3e0], 1
push dword [esp + 0xa0]
call fcn.004df97b
mov eax, dword [esp + 0x24]
add esp, 4
inc eax
mov dword [esp + 0x20], eax
cmp eax, esi
jb 0x490fe0
mov byte [esp + 0x3e0], 0
test esi, esi
je 0x4910cf
mov edi, dword [esp + 0xac]
mov eax, dword [edi + esi*4 - 4]
dec esi
mov dword [esp + 0x2c], eax
test eax, eax
je 0x4910c7
push dword [eax]
call fcn.004df97b
add esp, 4
push dword [esp + 0x2c]
call fcn.004df97b
add esp, 4
test esi, esi
jne 0x4910a4
mov edi, dword [esp + 0x14]
push dword [esp + 0xac]
call fcn.004df97b
add esp, 4
push dword [esp + 0x1c]
lea ecx, [edi + 0x54]
call fcn.004128e0
lea ecx, [esp + 0xb8]
push ecx
lea ecx, [edi + 0x14]
call fcn.00492bf0
push dword [edi + 0x54]
push 0x65
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0xb
push dword [edi + 8]
call esi
push 0
push 0
push 0x1009
push dword [edi + 8]
call esi
xor eax, eax
or esi, 0xffffffff
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], esi
cmp byte [edi + 0x45], al
je 0x4912e4
mov eax, dword [edi + 0x4c]
cmp eax, dword [edi + 0x58]
jne 0x4911b6
mov eax, dword [edi + 0x54]
mov ecx, dword [edi + 0x48]
jmp 0x491150
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x4911a9
test dx, dx
je 0x491172
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x4911a9
add ecx, 4
add eax, 4
test dx, dx
jne 0x491150
xor eax, eax
jmp 0x4911ae
push edx
mov byte [esp + 0x3e4], 1
call fcn.004df97b
add esp, 4
lea ecx, [esp + 0xac]
call fcn.00410a70
lea ecx, [esp + 0xb8]
call fcn.0042b100
mov eax, 0x80004005
jmp 0x491739
sbb eax, eax
or eax, 1
test eax, eax
je 0x4912e2
xorps xmm0, xmm0
mov dword [esp + 0x7c], 0
push 0x504bd8
lea ecx, [esp + 0xa4]
movq qword [esp + 0xa4], xmm0
mov dword [esp + 0xac], 0
call fcn.00412700
mov eax, dword [esp + 0x30]
xor ecx, ecx
mov byte [esp + 0x3e0], 5
push dword [edi + 0x54]
mov dword [esp + 0x84], ecx
cmp dword [eax + 4], ecx
push 0x10
cmove esi, ecx
mov dword [esp + 0x80], 7
mov dword [esp + 0x2c], esi
lea ecx, [edi + 0x20]
mov esi, dword [esp + 0xa8]
mov dword [esp + 0xa0], 0xffffffff
mov dword [esp + 0x94], esi
call fcn.004cf8c0
xor ecx, ecx
test eax, eax
cmovs eax, ecx
mov dword [esp + 0x94], eax
lea eax, [esp + 0x78]
push eax
push ecx
push 0x104d
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x34]
mov dword [esp + 0x34], 1
push eax
push 0
push 0x104c
push dword [edi + 8]
mov dword [esp + 0x48], 0
mov dword [esp + 0x58], 0x501180
mov dword [esp + 0x4c], 1
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 0x34]
mov dword [esp + 0x34], 1
push eax
push 0
push 0x104c
push dword [edi + 8]
mov dword [esp + 0x48], 0
mov dword [esp + 0x58], 0x501180
mov dword [esp + 0x4c], 2
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
mov dword [esp + 0x18], 1
mov byte [esp + 0x3e4], 0
call fcn.004df97b
add esp, 4
mov eax, 1
jmp 0x4912e4
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x20], ecx
cmp dword [edi + 0x18], ecx
jbe 0x491624
mov dword [esp + 0x7c], eax
mov edx, 2
mov eax, dword [edi + 0x14]
xorps xmm0, xmm0
movq qword [esp + 0xa0], xmm0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xa0], 0
mov eax, dword [eax + ecx*4]
xor ecx, ecx
mov dword [esp + 0x1c], eax
add eax, 0x28
mov dword [esp + 0x2c], eax
mov esi, dword [eax + 4]
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004df9b3
mov ecx, eax
add esp, 4
mov dword [esp + 0x28], ecx
test ecx, ecx
je 0x49175e
lea eax, [esi*2 + 2]
mov dword [esp + 0xa0], ecx
push eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xa8], esi
mov dword [esp + 0xac], esi
push dword [eax]
push ecx
call fcn.004e4930
add esp, 0xc
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x28]
mov byte [esp + 0x3e0], 6
cmp dword [eax + 4], 0
je 0x4913e9
cmp byte [0x5230d0], 0
mov edx, dword [eax]
je 0x4913d3
mov eax, esi
mov cx, word [eax]
cmp cx, word [edx]
jne 0x4913cc
test cx, cx
je 0x4913c8
mov cx, word [eax + 2]
cmp cx, word [edx + 2]
jne 0x4913cc
add eax, 4
add edx, 4
test cx, cx
jne 0x4913a6
xor eax, eax
jmp 0x4913da
sbb eax, eax
or eax, 1
jmp 0x4913da
mov ecx, esi
call fcn.00411aa0
mov ecx, dword [esp + 0x24]
test eax, eax
cmove ecx, dword [esp + 0x14]
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x20]
lea edx, [edi + 0x54]
mov dword [esp + 0x98], eax
lea ecx, [esp + 0xac]
lea eax, [esp + 0xa0]
mov dword [esp + 0x78], 7
xorps xmm0, xmm0
mov dword [esp + 0x80], 0
push eax
mov dword [esp + 0x90], esi
movq qword [esp + 0xb0], xmm0
mov dword [esp + 0xb8], 0
call fcn.004124b0
cmp byte [esp + 0x19], 0
mov byte [esp + 0x3e0], 7
mov esi, dword [esp + 0xac]
je 0x4914c4
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0xc4]
push 0x5c
call fcn.0041cd20
push 0x4010
push 0x2b4
lea ecx, [esp + 0xdc]
push ecx
push 0x90
push dword [eax]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, dword [esp + 0xd8]
test eax, eax
push dword [esp + 0xc4]
mov dword [esp + 0x98], ecx
sete byte [esp + 0x1f]
call fcn.004df97b
add esp, 4
cmp byte [esp + 0x1b], 0
je 0x4914bb
mov dword [esp + 0x94], 0
jmp 0x4914e2
mov eax, dword [esp + 0x94]
jmp 0x4914d4
mov eax, dword [esp + 0x1c]
lea ecx, [edi + 0x20]
push esi
push dword [eax + 0x20]
call fcn.004cf8c0
xor ecx, ecx
test eax, eax
cmovs eax, ecx
mov dword [esp + 0x94], eax
lea eax, [esp + 0x78]
push eax
push 0
push 0x104d
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x34]
xor eax, eax
push 0xffffffffffffffff
mov word [esp + 0x390], ax
lea ecx, [ecx + 0x18]
call fcn.0041d720
mov cl, byte [esp + 0x34]
movzx eax, cl
mov word [esp + 0x38c], ax
test cl, cl
je 0x49154b
lea edx, [esp + 0x34]
lea esi, [esp + 0x38c]
mov cl, byte [edx + 1]
lea edx, [edx + 1]
movzx eax, cl
lea esi, [esi + 2]
mov word [esi], ax
test cl, cl
jne 0x491531
mov esi, dword [esp + 0xac]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x38c]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x34]
push eax
push 0
push 0x104c
push dword [edi + 8]
mov dword [esp + 0x44], 1
mov dword [esp + 0x4c], 1
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x1c]
xor eax, eax
mov word [esp + 0x38c], ax
mov eax, dword [ecx + 0x20]
shr eax, 4
test al, 1
jne 0x4915ac
push dword [ecx + 4]
push dword [ecx]
lea ecx, [esp + 0x394]
call fcn.00490bb0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x38c]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x34]
push eax
push 0
push 0x104c
push dword [edi + 8]
mov dword [esp + 0x44], 1
mov dword [esp + 0x4c], 2
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
mov byte [esp + 0x3e4], 6
call fcn.004df97b
add esp, 4
mov byte [esp + 0x3e0], 0
push dword [esp + 0x28]
call fcn.004df97b
mov ecx, dword [esp + 0x24]
add esp, 4
mov eax, dword [esp + 0x14]
inc ecx
inc eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], eax
cmp ecx, dword [edi + 0x18]
jb 0x4912f3
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x1004
push dword [edi + 8]
call esi
test eax, eax
jle 0x491664
mov eax, dword [esp + 0x24]
test eax, eax
js 0x491664
lea ecx, [esp + 0x34]
mov dword [esp + 0x44], 3
push ecx
push eax
push 0x102b
push dword [edi + 8]
mov dword [esp + 0x50], 3
call esi
push 0x490b90
push edi
push 0x1030
push dword [edi + 8]
call esi
push 0
push 0
push 0x1004
push dword [edi + 8]
call esi
test eax, eax
jle 0x4916ae
cmp dword [esp + 0x24], 0
jge 0x4916ae
lea eax, [esp + 0x34]
mov dword [esp + 0x44], 1
push eax
push 0
push 0x102b
push dword [edi + 8]
mov dword [esp + 0x50], 1
call esi
push 1
push 0xffffffffffffffff
push 0x100c
push dword [edi + 8]
call esi
push 0
push eax
push 0x1013
push dword [edi + 8]
call esi
push 0
push 1
push 0xb
push dword [edi + 8]
call esi
push 1
push 0
push dword [edi + 8]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov dword [esp + 0x3e0], 0xffffffff
mov esi, dword [esp + 0xbc]
test esi, esi
je 0x491728
mov eax, dword [esp + 0xb8]
mov edi, edi
mov edi, dword [eax + esi*4 - 4]
dec esi
test edi, edi
je 0x491724
push dword [edi + 0x28]
call fcn.004df97b
add esp, 4
push edi
call fcn.004df97b
mov eax, dword [esp + 0xbc]
add esp, 4
test esi, esi
jne 0x491700
push dword [esp + 0xb8]
call fcn.004df97b
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x3d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x3c4]
xor ecx, esp
call fcn.004df96c
mov esp, ebp
pop ebp
ret 8
push 0x51c2c8
lea eax, [esp + 0x1e]
mov byte [esp + 0x1e], 0
push eax
call fcn.004ea58e
int3