Function at 0x40d0d0
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x5e0
mov ecx, dword [esp + 0x5e8]
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push ebp
mov ebp, dword [esp + 0x5ec]
mov dword [esp + 0x10], ecx
push esi
lea edx, [esp + 0x24c]
lea ecx, [esp + 0x10]
push edi
xor eax, eax
mov dword [esp + 0x28], edx
mov edx, dword [ebp + 0x19c]
push ecx
push eax
push 0x1005
push edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 1
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3c], pe_nt_image_headers32
call ebx
lea edi, [esp + 0x250]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x50]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x50]
push ecx
call fcn.004732a0
add esp, 4
test eax, eax
je 0x40d176
lea edi, [esp + 0x50]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + ecx + 0x4f], al
lea edx, [esp + 0x350]
lea eax, [esp + 0x50]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x40d426
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, byte [esp + 0x350]
xor edx, edx
test al, 0x10
mov dword [ebp + 0x980], edx
mov dword [ebp + 0x97c], edx
mov dword [ebp + 0x978], edx
je 0x40d29f
lea edi, [esp + 0x250]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x150]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x10], 1
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x150]
push ecx
call fcn.004732a0
add esp, 4
test eax, eax
jne 0x40d232
mov edi, 0x49f898
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x150]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x150]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x50]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x40ca00
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x54]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push ebp
rep movsb byte es:[edi], byte [esi]
mov edi, 0x49f894
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 1
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x5c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00445c30
add esp, 0x10
jmp 0x40d30f
lea edi, [esp + 0x250]
or ecx, 0xffffffff
xor eax, eax
lea esi, [esp + 0x150]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x3c], esi
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x3c]
push 1
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push edx
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x378]
mov dword [ebp + 0x978], 1
push ecx
call fcn.0047e500
mov ecx, dword [esp + 0x370]
xor esi, esi
add eax, ecx
mov ecx, 0xb
adc edx, esi
add eax, 0x7ff
adc edx, esi
call fcn.0047e4e0
mov dword [ebp + 0x980], eax
mov edx, dword [ebp + 0x978]
mov esi, dword [ebp + 0x984]
mov eax, dword [ebp + 0x97c]
mov ecx, dword [ebp + 0x98c]
add esi, edx
mov edx, dword [ebp + 0x988]
add edx, eax
mov eax, dword [ebp + 0x980]
add ecx, eax
mov dword [esp + 0x34], eax
push 0x4000
lea eax, [esp + 0x494]
mov dword [ebp + 0x98c], ecx
push 0x160
mov dword [ebp + 0x988], edx
mov edx, dword [esp + 0x600]
push eax
lea ecx, [esp + 0x15c]
push 0
push ecx
mov dword [ebp + 0x984], esi
mov dword [esp + 0x28], 6
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov ecx, dword [ebp + 0x19c]
mov edx, dword [esp + 0x494]
lea eax, [esp + 0x14]
mov dword [esp + 0x30], edx
push eax
push 0
push 0x1006
push ecx
call ebx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40d503
mov edx, dword [ebp + 0x97c]
mov eax, dword [ebp + 0x978]
push edx
push eax
push 0x52
call fcn.0046b4e0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x50]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x50]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x49f184
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x40d508
lea edi, [esp + 0x250]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x150]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x150]
push ecx
call fcn.004732a0
mov ecx, dword [esp + 0x5fc]
add esp, 4
or eax, 0xffffffff
lea edx, [esp + 0x14]
xor esi, esi
mov dword [ebp + 0x980], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x19c]
push edx
push esi
push 0x1006
push eax
mov dword [esp + 0x24], 6
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], esi
call ebx
push 0x49f1d0
push 0xc4
mov dword [esp + 0x1c], 1
mov dword [esp + 0x24], 2
call fcn.0046b4e0
add esp, 4
lea ecx, [esp + 0x54]
push eax
push 0x49f1cc
push str._s_s_s
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [ebp + 0x19c]
add esp, 0x14
lea eax, [esp + 0x14]
lea edx, [esp + 0x50]
push eax
push esi
push 0x1006
push ecx
mov dword [esp + 0x38], edx
call ebx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5e0
ret
mov byte [esp + 0x50], 0
mov eax, dword [ebp + 0x980]
lea ecx, [esp + 0x40]
shl eax, 1
push eax
push ecx
call fcn.0046e220
lea edi, [esp + 0x48]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x50]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [ebp + 0x19c]
and ecx, 3
lea eax, [esp + 0x50]
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 1
push ecx
push 0
push 0x1006
push edx
mov dword [esp + 0x2c], 2
mov dword [esp + 0x38], eax
call ebx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x5e0
ret