Function at 0x4087d0
Capabilities:
Get file system object information

Disassembly:
jmp 0x4087d0
sub esp, 0xf20
mov eax, dword [0x44e1b4]
xor eax, esp
mov dword [esp + 0xf1c], eax
push esi
mov esi, dword [esp + 0xf28]
test esi, esi
push edi
mov edi, dword [esp + 0xf30]
jne 0x408811
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0xf1c]
xor ecx, esp
call fcn.0041bdf4
add esp, 0xf20
ret
test edi, edi
je 0x4087f8
push ebx
push ebp
push 0x200
lea eax, [esp + 0x920]
push 0
push eax
call fcn.0041be10
push 0x410
lea ecx, [esp + 0xb2c]
push 0
push ecx
call fcn.0041be10
push 0x208
lea edx, [esp + 0x730]
push 0
push edx
call fcn.0041be10
push 0x410
lea eax, [esp + 0x32c]
push 0
push eax
call fcn.0041be10
push 0x2b4
lea ecx, [esp + 0x84]
push 0
push ecx
call fcn.0041be10
push 0x34
lea edx, [esp + 0x5c]
push 0
push edx
call fcn.0041be10
add esp, 0x48
push 0x3f5
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ebp, eax
push edi
lea eax, [esp + 0x308]
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [esp + 0x304]
push ecx
call edi
cmp word [esp + eax*2 + 0x302], 0x5c
je 0x4088d5
push 0x435bfc
lea edx, [esp + 0x308]
push edx
jmp 0x408908
lea eax, [esp + 0x304]
push eax
call edi
lea ecx, [esp + eax*2 + 0x302]
push ecx
lea edx, [esp + 0x308]
push edx
call fcn.00401113
add esp, 8
test eax, eax
jne 0x40890e
push 0x435bfc
lea eax, [esp + 0x308]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0
push 0
push 0
push 0
push 0x208
lea ecx, [esp + 0xb30]
push ecx
push 0x100
lea edx, [esp + 0x938]
push edx
lea eax, [esp + 0x324]
push eax
call fcn.0041c92d
add esp, 0x24
push 0x435bfc
lea ecx, [esp + 0x920]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea edx, [esp + 0x91c]
mov eax, edx
push eax
lea ecx, [esp + 0x308]
push ecx
mov dword [esp + 0x24], 0xffff0000
mov dword [esp + 0x28], 0xffff0003
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], 0x104
mov dword [esp + 0x2c], 0x23
call esi
mov ebx, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push 0x4001
push 0x2b4
lea edx, [esp + 0x58]
push edx
push 0
lea eax, [esp + 0x314]
push eax
call ebx
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0x1132
push ebp
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea edx, [esp + 0xb1c]
mov esi, eax
push edx
mov dword [0x48630c], esi
call edi
xor edi, edi
cmp eax, 1
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 1
jbe 0x408aff
lea ecx, [esp + 0xb1e]
mov dword [esp + 0x10], ecx
nop
movzx eax, word [ecx]
cmp ax, 0x5c
jne 0x408ad4
push ecx
lea eax, [esp + 0xb20]
push eax
call fcn.00401113
add esp, 8
test eax, eax
je 0x408ac3
test edi, edi
je 0x408aff
lea ecx, [esp + 0x714]
mov edx, ecx
push edx
lea eax, [esp + 0x308]
push eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x3c], ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x4001
push 0x2b4
lea ecx, [esp + 0x58]
push ecx
push 0
lea edx, [esp + 0x314]
push edx
call ebx
mov eax, dword [esp + 0x54]
push 0x4003
push 0x2b4
lea ecx, [esp + 0x58]
push ecx
push 0
lea edx, [esp + 0x314]
push edx
mov dword [esp + 0x50], eax
call ebx
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0x1132
push ebp
mov dword [esp + 0x50], eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x208
xor edi, edi
lea edx, [esp + 0x718]
push edi
push edx
mov esi, eax
call fcn.0041be10
add esp, 0xc
jmp 0x408adf
mov eax, dword [esp + 0x10]
mov cx, word [eax]
mov word [esp + edi*2 + 0x714], cx
jmp 0x408adc
mov word [esp + edi*2 + 0x714], ax
add edi, 1
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
add eax, 1
add ecx, 2
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
jb 0x408a00
mov ecx, dword [esp + 0xf2c]
pop ebp
pop ebx
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.0041bdf4
add esp, 0xf20
ret