Function at 0x407fe0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4396ca
mov eax, dword fs:[0]
push eax
sub esp, 0x384
mov eax, dword [0x44a03c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x204], edi
mov eax, dword [ebp + 8]
lea ecx, [edi + 0x45]
mov dword [ebp - 0x228], eax
mov al, byte [ecx]
test al, al
jne 0x4089dc
mov al, 1
xchg byte [ecx], al
mov eax, dword [edi + 8]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x1009
push dword [eax + 4]
call ebx
mov ecx, dword [edi + 0x3c]
mov eax, 0x92492493
sub ecx, dword [edi + 0x38]
imul ecx
mov dword [ebp - 0x214], 0
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x224], eax
test eax, eax
jle 0x40861f
xor ecx, ecx
mov dword [ebp - 0x218], ecx
mov eax, dword [edi + 0x38]
add eax, ecx
mov dword [ebp - 0x208], eax
mov eax, dword [eax + 0x10]
sub eax, 0x10
push eax
call fcn.00403dd0
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x220], esi
mov eax, dword [ebp - 0x228]
mov dword [ebp - 4], 0
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
je 0x4080ec
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
jne 0x4080ec
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4085f7
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4085f7
cmp dword [esi - 4], 1
jle 0x408106
push dword [esi - 0xc]
lea ecx, [ebp - 0x220]
call fcn.00404c70
mov esi, dword [ebp - 0x220]
push esi
call dword [sym.imp.SHLWAPI.dll_PathStripPathA]
push dword [esi - 8]
push esi
call fcn.00428405
add esp, 8
test eax, eax
js 0x4089ff
cmp eax, dword [esi - 8]
jg 0x4089ff
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
mov eax, dword [ebp - 0x208]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov edx, dword [eax + 0x10]
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x20c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408157
sub ecx, dword [ebp - 0x20c]
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.00407d40
mov ecx, esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408190
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.00407d40
cmp dword [ebp - 0x48], 0
mov eax, dword [edi + 8]
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x210], 0xffffffff
je 0x408216
push 0x160
lea eax, [ebp - 0x200]
push 0
push eax
call fcn.004262b0
add esp, 0xc
mov dword [ebp - 0x1fc], 0xffffffff
cmp dword [ebp - 0x44], 0x10
lea ecx, [ebp - 0x200]
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push 0x4000
push 0x160
push ecx
push 0x80
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov eax, dword [ebp - 0x1fc]
mov dword [ebp - 0x210], eax
mov eax, dword [ebp - 0x20c]
cmp dword [ebp - 0x14], 0x10
lea edi, [ebp - 0x28]
push 0
cmovae edi, dword [ebp - 0x28]
push 0
push 0x1004
push dword [eax + 4]
call ebx
mov dword [ebp - 0x260], eax
xorps xmm0, xmm0
mov eax, dword [ebp - 0x210]
mov dword [ebp - 0x248], eax
lea eax, [ebp - 0x264]
push eax
mov eax, dword [ebp - 0x20c]
push 0
push 0x1007
movlpd qword [ebp - 0x25c], xmm0
push dword [eax + 4]
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x24c], 0
movlpd qword [ebp - 0x240], xmm0
movlpd qword [ebp - 0x238], xmm0
movlpd qword [ebp - 0x230], xmm0
mov dword [ebp - 0x264], 7
mov dword [ebp - 0x250], edi
mov dword [ebp - 0x244], 0
call ebx
mov edx, dword [ebp - 0x14]
mov ebx, eax
cmp edx, 0x10
jb 0x4082e1
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4082d7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4089fa
push edx
push ecx
call fcn.0040e839
add esp, 8
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x40832b
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408321
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4089fa
push edx
push ecx
call fcn.0040e839
add esp, 8
mov eax, dword [ebp - 0x208]
mov ecx, dword [ebp - 0x204]
mov eax, dword [eax + 0x10]
mov edi, dword [ecx + 8]
mov dword [ebp - 0x20c], eax
mov eax, ebx
test ebx, ebx
jns 0x40835c
mov eax, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x1004
push dword [edi + 4]
call eax
mov ecx, dword [ebp - 0x20c]
mov dword [ebp - 0x2c8], ecx
lea ecx, [ebp - 0x2dc]
push ecx
push eax
push 0x102e
push dword [edi + 4]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x2d4], 1
call edi
call fcn.00405700
mov ecx, eax
test ecx, ecx
je 0x408a09
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp - 0x208]
mov byte [ebp - 4], 2
movzx eax, word [eax + 6]
push eax
lea eax, [ebp - 0x20c]
push str.0x_x
push eax
call fcn.00404d80
mov eax, dword [ebp - 0x204]
add esp, 0xc
mov ecx, ebx
mov eax, dword [eax + 8]
mov dword [ebp - 0x210], eax
test ebx, ebx
jns 0x4083f5
push 0
push 0
push 0x1004
push dword [eax + 4]
call edi
mov ecx, eax
mov eax, dword [ebp - 0x210]
mov edi, dword [ebp - 0x20c]
lea edx, [ebp - 0x318]
push edx
push ecx
push 0x102e
push dword [eax + 4]
mov eax, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x310], 2
mov dword [ebp - 0x304], edi
call eax
call fcn.00405700
mov ecx, eax
test ecx, ecx
je 0x408a09
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x210], eax
mov eax, dword [ebp - 0x208]
mov byte [ebp - 4], 3
push dword [eax]
lea eax, [ebp - 0x210]
push 0x43b50c
push eax
call fcn.00404d80
mov eax, dword [ebp - 0x204]
add esp, 0xc
mov ecx, ebx
mov eax, dword [eax + 8]
mov dword [ebp - 0x21c], eax
test ebx, ebx
jns 0x408488
push 0
push 0
push 0x1004
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, eax
mov eax, dword [ebp - 0x210]
mov dword [ebp - 0x340], eax
lea eax, [ebp - 0x354]
push eax
mov eax, dword [ebp - 0x21c]
push ecx
push 0x102e
mov dword [ebp - 0x34c], 3
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x208]
mov ecx, dword [eax + 0x14]
mov eax, dword [ebp - 0x204]
mov dword [ebp - 0x208], ecx
mov ecx, ebx
mov eax, dword [eax + 8]
mov dword [ebp - 0x21c], eax
test ebx, ebx
jns 0x4084f8
push 0
push 0
push 0x1004
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, eax
mov eax, dword [ebp - 0x21c]
mov edx, dword [ebp - 0x208]
mov dword [ebp - 0x37c], edx
lea edx, [ebp - 0x390]
push edx
push ecx
push 0x102e
push dword [eax + 4]
mov dword [ebp - 0x388], 4
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 0x204]
xorps xmm0, xmm0
mov dword [ebp - 0x29c], ebx
movlpd qword [ebp - 0x298], xmm0
movlpd qword [ebp - 0x290], xmm0
mov eax, dword [ecx + 8]
mov ecx, dword [ebp - 0x214]
mov dword [ebp - 0x280], ecx
lea ecx, [ebp - 0x2a0]
push ecx
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0x1006
push dword [eax + 4]
movlpd qword [ebp - 0x288], xmm0
movlpd qword [ebp - 0x27c], xmm0
movlpd qword [ebp - 0x274], xmm0
movlpd qword [ebp - 0x26c], xmm0
mov dword [ebp - 0x2a0], 4
call ebx
mov edx, dword [ebp - 0x210]
or eax, 0xffffffff
mov byte [ebp - 4], 2
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4085b6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4085d2
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4085f1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x204]
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 0x218]
inc eax
add ecx, 0x1c
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x218], ecx
cmp eax, dword [ebp - 0x224]
jl 0x408080
mov eax, dword [edi + 0x24]
test eax, eax
je 0x408859
cmp dword [eax + 0x14], 0
je 0x408859
mov eax, dword [edi + 0x48]
cmp dword [eax - 0xc], 0
jne 0x4086b6
push 8
push 0x43b51c
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.00407d40
cmp dword [ebp - 0x5c], 0x10
lea eax, [ebp - 0x70]
mov ecx, dword [edi + 0x10]
cmovae eax, dword [ebp - 0x70]
push eax
push 0
push 0x401
push dword [ecx + 4]
call ebx
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x408845
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4086a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4089fa
push edx
push ecx
call fcn.0040e839
add esp, 8
jmp 0x408845
add eax, 0xfffffff0
push eax
call fcn.00403dd0
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x218], esi
cmp dword [esi - 4], 1
mov dword [ebp - 4], 4
jle 0x4086ec
push dword [esi - 0xc]
lea ecx, [ebp - 0x218]
call fcn.00404c70
mov esi, dword [ebp - 0x218]
push esi
call dword [sym.imp.SHLWAPI.dll_PathStripPathA]
push dword [esi - 8]
push esi
call fcn.00428405
add esp, 8
test eax, eax
js 0x4089ff
cmp eax, dword [esi - 8]
jg 0x4089ff
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
call fcn.00405700
mov ecx, eax
test ecx, ecx
je 0x408a09
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x214], eax
mov ecx, dword [edi + 0x3c]
mov eax, 0x92492493
sub ecx, dword [edi + 0x38]
imul ecx
mov byte [ebp - 4], 5
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
push esi
lea eax, [ebp - 0x214]
je 0x408761
push 0x43b528
jmp 0x408766
push str._s_
push eax
call fcn.00403aa0
mov edi, dword [ebp - 0x214]
add esp, 0xc
mov ecx, edi
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408790
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x88]
call fcn.00407d40
mov eax, dword [ebp - 0x204]
cmp dword [ebp - 0x74], 0x10
mov ecx, dword [eax + 0x10]
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
push eax
push 0
push 0x401
push dword [ecx + 4]
call ebx
mov edx, dword [ebp - 0x74]
cmp edx, 0x10
jb 0x408804
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4087fa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408a13
push edx
push ecx
call fcn.0040e839
add esp, 8
mov byte [ebp - 4], 4
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x408820
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40883f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x204]
call fcn.00405700
mov ecx, eax
test ecx, ecx
je 0x408a18
jmp 0x4088e3
push 8
push 0x43b510
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
call fcn.00407d40
cmp dword [ebp - 0x8c], 0x10
lea eax, [ebp - 0xa0]
mov ecx, dword [edi + 0x10]
cmovae eax, dword [ebp - 0xa0]
push eax
push 0
push 0x401
push dword [ecx + 4]
call ebx
mov edx, dword [ebp - 0x8c]
cmp edx, 0x10
jb 0x408845
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4086a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408a22
jmp 0x4086a7
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x208], eax
mov eax, dword [edi + 8]
push 0
push 0
push 0x1004
push dword [eax + 4]
mov dword [ebp - 4], 6
call ebx
push eax
lea eax, [ebp - 0x208]
push 0x43b544
push eax
call fcn.00404d80
mov esi, dword [ebp - 0x208]
add esp, 0xc
mov ecx, esi
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408940
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.00407d40
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
mov ecx, dword [edi + 0x10]
cmovae eax, dword [ebp - 0x40]
push eax
push 1
push 0x401
push dword [ecx + 4]
call ebx
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x4089a2
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408998
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408a27
push edx
push ecx
call fcn.0040e839
add esp, 8
mov dword [ebp - 0x30], 0
lea ecx, [edi + 0x45]
mov dword [ebp - 0x2c], 0xf
xor al, al
mov byte [ebp - 0x40], 0
xchg byte [ecx], al
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
mov eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4089dc
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040ed5f
mov esp, ebp
pop ebp
ret 4
call fcn.00428329
push 0x80070057
call fcn.00403bf0
push 0x80004005
call fcn.00403bf0
call fcn.00428329
push 0x80004005
call fcn.00403bf0
call fcn.00428329
call fcn.00428329
int3