Function at 0x42f4e0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470124
mov eax, dword fs:[0]
push eax
sub esp, 0x338
mov eax, dword [0x48f1ac]
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 - 0x314], eax
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x20], 0
movups xmm0, xmmword [str.LunaHostWindow]
mov eax, dword [0x47acc8]
mov dword [ebp - 0x18], eax
mov ax, word [0x47accc]
movups xmmword [ebp - 0x30], xmm0
push 0
movq xmm0, qword [0x47acc0]
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], 0x42f160
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.00412aa0
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 0x42f63c
mov ecx, esi
mov dword [ebp - 0x300], 0
xor eax, eax
mov dword [ebp - 0x2fc], 7
mov word [ebp - 0x310], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42f617
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x310]
call fcn.00413d20
mov byte [ebp - 0x2f8], 1
jmp 0x42f666
xorps xmm0, xmm0
mov dword [ebp - 0x2f8], 0
movups xmmword [ebp - 0x310], xmm0
mov byte [ebp - 0x310], 0
movq qword [ebp - 0x300], xmm0
mov byte [ebp - 0x2f8], 0
lea ecx, [ebp - 0x2f4]
call fcn.004133c0
cmp byte [ebp - 0x2f8], 0
mov byte [ebp - 4], 2
je 0x42f763
push 0x100
push 0x2b4
xor esi, esi
lea ecx, [ebp - 0x2e4]
cmp dword [ebp - 0x2fc], 8
lea eax, [ebp - 0x310]
push ecx
cmovae eax, dword [ebp - 0x310]
push esi
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
lea ecx, [ebp - 0x310]
cmovne esi, dword [ebp - 0x2e4]
mov dword [ebp - 0x330], esi
call fcn.00420c50
mov eax, dword fs:[0x2c]
mov ecx, dword [0x494720]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x493c7c]
cmp eax, dword [ecx + 4]
jg 0x42f794
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, dword [ebp - 0x314]
mov ecx, eax
test esi, esi
je 0x42f704
mov eax, dword [esi + 8]
jmp 0x42f706
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.0045fc2d
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.004203a0
push 0x48977c
lea eax, [ebp - 0x2f4]
push eax
call sub.msvcrt.dll__CxxThrowException
push 0x493c7c
call fcn.0045ffbb
add esp, 4
cmp dword [0x493c7c], 0xffffffff
jne 0x42f6eb
lea eax, [ebp - 0x344]
push eax
call dword [sym.imp.USER32.dll_RegisterClassW]
push 0x493c7c
mov word [0x493c78], ax
call fcn.0045ff71
add esp, 4
jmp 0x42f6eb