Function at 0x41b550
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45ca64
mov eax, dword fs:[0]
push eax
sub esp, 0x338
mov eax, dword [0x4771ac]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x318], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x31c], edi
mov dword [edi + 4], 0
mov dword [edi], vtable.mainwindow.0
mov dword [ebp - 0x2f8], eax
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
movups xmm0, xmmword [str.LunaHostWindow]
mov eax, dword [0x465fd0]
mov dword [ebp - 0x18], eax
mov ax, word [0x465fd4]
movups xmmword [ebp - 0x30], xmm0
push 0
movq xmm0, qword [0x465fc8]
movq qword [ebp - 0x20], xmm0
xorps xmm0, xmm0
movups xmmword [ebp - 0x344], xmm0
mov dword [ebp - 4], 0
mov word [ebp - 0x14], ax
movups xmmword [ebp - 0x334], xmm0
mov dword [ebp - 0x340], 0x41b4d0
movq qword [ebp - 0x324], xmm0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x334], eax
lea ecx, [ebp - 0x2f4]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x328], 5
mov dword [ebp - 0x320], eax
lea eax, [ebp - 0x2e5]
push eax
push 0x104
call fcn.004137c0
mov esi, dword [ebp - 0x2f4]
push 0x104
push esi
push 0
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x41b673
push esi
lea ecx, [ebp - 0x314]
call fcn.004136a0
mov byte [ebp - 0x2fc], 1
jmp 0x41b69d
xorps xmm0, xmm0
mov dword [ebp - 0x2fc], 0
movups xmmword [ebp - 0x314], xmm0
mov byte [ebp - 0x314], 0
movq qword [ebp - 0x304], xmm0
mov byte [ebp - 0x2fc], 0
lea ecx, [ebp - 0x2f4]
call fcn.00413cb0
cmp byte [ebp - 0x2fc], 0
mov byte [ebp - 4], 2
je 0x41b79a
push 0x100
push 0x2b4
xor esi, esi
lea ecx, [ebp - 0x2e4]
cmp dword [ebp - 0x300], 8
lea eax, [ebp - 0x314]
push ecx
cmovae eax, dword [ebp - 0x314]
push esi
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
lea ecx, [ebp - 0x314]
cmovne esi, dword [ebp - 0x2e4]
mov dword [ebp - 0x330], esi
call fcn.00419550
mov eax, dword fs:[0x2c]
mov ecx, dword [0x47b4c8]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x47ab10]
cmp eax, dword [ecx + 4]
jg 0x41b7cb
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, dword [ebp - 0x2f8]
mov ecx, eax
test esi, esi
je 0x41b73b
mov eax, dword [esi + 8]
jmp 0x41b73d
xor eax, eax
push edi
push ecx
push 0
push eax
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0xcf0000
lea eax, [ebp - 0x30]
push eax
push eax
push 0x200
call dword [sym.imp.USER32.dll_CreateWindowExW]
push edi
push 0xffffffffffffffeb
push eax
mov dword [edi + 8], eax
mov dword [edi + 0x18], esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044edeb
mov esp, ebp
pop ebp
ret 4
xorps xmm0, xmm0
mov dword [ebp - 0x2ec], 0
lea ecx, [ebp - 0x2f4]
movq qword [ebp - 0x2f4], xmm0
call fcn.00419470
push 0x471fe8
lea eax, [ebp - 0x2f4]
push eax
call sub.msvcrt.dll__CxxThrowException
push 0x47ab10
call fcn.0044f078
add esp, 4
cmp dword [0x47ab10], 0xffffffff
jne 0x41b722
lea eax, [ebp - 0x344]
push eax
call dword [sym.imp.USER32.dll_RegisterClassW]
push 0x47ab10
mov word [0x47ab0c], ax
call fcn.0044f02e
add esp, 4
jmp 0x41b722