Function at 0x433540
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472a39
mov eax, dword fs:[0]
push eax
sub esp, 0x338
mov eax, dword [0x48f240]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x2ec], eax
mov dword [ebp - 0x2f0], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x310], eax
mov dword [eax + 4], 0
mov dword [eax], vtable.mainwindow.0
mov dword [ebp - 0x2e8], ecx
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x20], 0
movups xmm0, xmmword [str.LunaHostWindow]
mov eax, dword [0x47d158]
mov dword [ebp - 0x18], eax
mov ax, word [0x47d15c]
movups xmmword [ebp - 0x30], xmm0
push 0
movq xmm0, qword [0x47d150]
movq qword [ebp - 0x20], xmm0
xorps xmm0, xmm0
mov dword [ebp - 4], 0
mov word [ebp - 0x14], ax
mov dword [ebp - 0x344], 0
movlpd qword [ebp - 0x33c], xmm0
mov dword [ebp - 0x32c], 0
mov dword [ebp - 0x324], 0
mov dword [ebp - 0x340], 0x432f70
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x334], eax
lea eax, [ebp - 0x30]
push 0x208
mov dword [ebp - 0x320], eax
mov dword [ebp - 0x328], 5
call fcn.00462b6f
mov edi, eax
push 0x208
push 0
push edi
lea esi, [edi + 0x208]
mov dword [ebp - 0x31c], edi
mov dword [ebp - 0x314], esi
call sub.msvcrt.dll_memset
add esp, 0x10
mov dword [ebp - 0x318], esi
push 0x104
push edi
push 0
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x433697
push edi
lea ecx, [ebp - 0x30c]
call fcn.004154d0
mov byte [ebp - 0x2f4], 1
jmp 0x43369e
mov byte [ebp - 0x2f4], 0
test edi, edi
je 0x4336b0
push 0x208
push edi
call fcn.00462b9f
add esp, 8
cmp byte [ebp - 0x2f4], 0
lea edx, [ebp - 0x30c]
mov eax, dword [ebp - 0x30c]
mov byte [ebp - 4], 2
je 0x4337e6
push 0x100
push 0x2b4
xor esi, esi
lea ecx, [ebp - 0x2e4]
cmp dword [ebp - 0x2f8], 7
push ecx
push esi
cmovbe eax, edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
cmovne esi, dword [ebp - 0x2e4]
cmp byte [ebp - 0x2f4], 0
mov dword [ebp - 0x330], esi
je 0x43374a
mov ecx, dword [ebp - 0x2f8]
cmp ecx, 7
jbe 0x43374a
mov edx, dword [ebp - 0x30c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x433740
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4337eb
push ecx
push edx
call fcn.00462b9f
add esp, 8
mov eax, dword fs:[0x2c]
mov ecx, dword [0x493dfc]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x4934c0]
cmp eax, dword [ecx + 4]
jg 0x4337f0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, dword [ebp - 0x2e8]
test edi, edi
je 0x433781
mov ecx, dword [edi + 8]
jmp 0x433783
xor ecx, ecx
mov esi, dword [ebp - 0x2ec]
push esi
push eax
push 0
push ecx
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 esi
push 0xffffffffffffffeb
push eax
mov dword [esi + 8], eax
mov dword [esi + 0x18], edi
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, esi
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.00462bad
mov esp, ebp
pop ebp
ret 4
call fcn.0042d470
call fcn.004643d0
push 0x4934c0
call fcn.00462ec9
add esp, 4
cmp dword [0x4934c0], 0xffffffff
jne 0x43376a
lea eax, [ebp - 0x344]
push eax
call dword [sym.imp.USER32.dll_RegisterClassW]
push 0x4934c0
mov word [0x4934bc], ax
call fcn.00462e78
add esp, 4
jmp 0x43376a