Function at 0x467770
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c4e0d
mov eax, dword fs:[0]
push eax
sub esp, 0x434
mov eax, dword [0x67c3c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
sub eax, 0
je 0x46817e
sub eax, 1
je 0x468175
sub eax, 1
je 0x46816c
test esi, esi
je 0x46809a
lea eax, [ebp - 0x428]
push eax
call fcn.00465a70
push str.themes_
push eax
lea eax, [ebp - 0x3f8]
mov dword [ebp - 4], 0
push eax
call fcn.0045da60
push esi
push eax
lea eax, [ebp - 0x394]
mov byte [ebp - 4], 1
push eax
call fcn.0045da60
add esp, 0x1c
lea ecx, [ebp - 0x3f8]
call fcn.004443f0
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 4
call fcn.004443f0
push 0x38
lea eax, [ebp - 0x3d8]
push 0
push eax
call fcn.0059c4a0
add esp, 0xc
lea ecx, [ebp - 0x3d8]
push 0
push 0x400
push 0
call fcn.00442cc0
cmp dword [ebp - 0x380], 7
lea eax, [ebp - 0x394]
mov dword [ebp - 0x3e0], eax
lea eax, [ebp - 0x3d8]
mov dword [ebp - 0x3dc], eax
lea eax, [ebp - 0x394]
cmova eax, dword [ebp - 0x394]
xor esi, esi
xor edi, edi
mov dword [ebp - 0x3f0], 0
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push eax
mov dword [ebp - 0x3e8], esi
mov dword [ebp - 0x3e4], edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
xor ecx, ecx
mov dword [ebp - 0x3ec], eax
cmp eax, 0xffffffff
je 0x467921
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
mov esi, eax
push esi
push edi
push 2
push edi
push dword [ebp - 0x3ec]
mov dword [ebp - 0x3e8], esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x3f0], eax
test eax, eax
jne 0x4678eb
push dword [ebp - 0x3ec]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
jmp 0x467921
push esi
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
mov dword [ebp - 0x3e4], edi
mov ecx, edi
test edi, edi
jne 0x467921
push dword [ebp - 0x3ec]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x3f0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, edi
mov byte [ebp - 4], 7
test ecx, ecx
je 0x4681a6
push esi
push edi
lea ecx, [ebp - 0x3d8]
call fcn.0045e2b0
cmp dword [eax + 0x30], 0
jne 0x4681c7
mov edx, 0x35
lea ecx, [ebp - 0x35c]
nop
mov eax, edx
dec edx
test eax, eax
je 0x467977
mov dword [ecx + 4], 0
mov dword [ecx], 0
mov dword [ecx - 4], 0
mov dword [ecx - 8], 0
add ecx, 0x10
jmp 0x467950
push str.Text
lea eax, [ebp - 0x374]
push eax
lea ecx, [ebp - 0x3e0]
call fcn.00461410
push str.TextDisabled
lea ecx, [ebp - 0x3e0]
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x374]
push eax
movups xmmword [ebp - 0x364], xmm0
call fcn.00461410
push str.WindowBg
lea ecx, [ebp - 0x3e0]
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x374]
push eax
movups xmmword [ebp - 0x354], xmm0
call fcn.00461410
push str.ChildBg
lea ecx, [ebp - 0x3e0]
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x374]
push eax
movups xmmword [ebp - 0x344], xmm0
call fcn.00461410
push str.PopupBg
lea ecx, [ebp - 0x3e0]
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x374]
push eax
movups xmmword [ebp - 0x334], xmm0
call fcn.00461410
push str.Border
lea ecx, [ebp - 0x3e0]
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x374]
push eax
movups xmmword [ebp - 0x324], xmm0
call fcn.00461410
push str.BorderShadow
lea ecx, [ebp - 0x3e0]
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x374]
push eax
movups xmmword [ebp - 0x314], xmm0
call fcn.00461410
push str.FrameBg
lea ecx, [ebp - 0x3e0]
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x374]
push eax
movups xmmword [ebp - 0x304], xmm0
call fcn.00461410
push str.FrameBgHovered
lea ecx, [ebp - 0x3e0]
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x374]
push eax
movups xmmword [ebp - 0x2f4], xmm0
call fcn.00461410
push str.FrameBgActive
lea ecx, [ebp - 0x3e0]
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x374]
push eax
movups xmmword [ebp - 0x2e4], xmm0
call fcn.00461410
push str.TitleBg
lea ecx, [ebp - 0x3e0]
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x374]
push eax
movups xmmword [ebp - 0x2d4], xmm0
call fcn.00461410
push str.TitleBgActive
lea ecx, [ebp - 0x3e0]
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x374]
push eax
movups xmmword [ebp - 0x2c4], xmm0
call fcn.00461410
push str.TitleBgCollapsed
lea ecx, [ebp - 0x3e0]
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x374]
push eax
movups xmmword [ebp - 0x2b4], xmm0
call fcn.00461410
push str.MenuBarBg
lea ecx, [ebp - 0x3e0]
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x374]
push eax
movups xmmword [ebp - 0x2a4], xmm0
call fcn.00461410
push str.ScrollbarBg
lea ecx, [ebp - 0x3e0]
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x374]
push eax
movups xmmword [ebp - 0x294], xmm0
call fcn.00461410
push str.ScrollbarGrab
lea ecx, [ebp - 0x3e0]
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x374]
push eax
movups xmmword [ebp - 0x284], xmm0
call fcn.00461410
push str.ScrollbarGrabHovered
lea ecx, [ebp - 0x3e0]
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x374]
push eax
movups xmmword [ebp - 0x274], xmm0
call fcn.00461410
push str.ScrollbarGrabActive
lea ecx, [ebp - 0x3e0]
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x374]
push eax
movups xmmword [ebp - 0x264], xmm0
call fcn.00461410
push str.CheckMark
lea ecx, [ebp - 0x3e0]
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x374]
push eax
movups xmmword [ebp - 0x254], xmm0
call fcn.00461410
push str.SliderGrab
lea ecx, [ebp - 0x3e0]
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x374]
push eax
movups xmmword [ebp - 0x244], xmm0
call fcn.00461410
push str.SliderGrabActive
lea ecx, [ebp - 0x3e0]
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x374]
push eax
movups xmmword [ebp - 0x234], xmm0
call fcn.00461410
push str.Button
lea ecx, [ebp - 0x3e0]
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x374]
push eax
movups xmmword [ebp - 0x224], xmm0
call fcn.00461410
push str.ButtonHovered
lea ecx, [ebp - 0x3e0]
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x374]
push eax
movups xmmword [ebp - 0x214], xmm0
call fcn.00461410
push str.ButtonActive
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x204], xmm0
lea eax, [ebp - 0x374]
push eax
lea ecx, [ebp - 0x3e0]
call fcn.00461410
push str.Header
lea ecx, [ebp - 0x3e0]
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x374]
push eax
movups xmmword [ebp - 0x1f4], xmm0
call fcn.00461410
push str.HeaderHovered
lea ecx, [ebp - 0x3e0]
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x374]
push eax
movups xmmword [ebp - 0x1e4], xmm0
call fcn.00461410
push str.HeaderActive
lea ecx, [ebp - 0x3e0]
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x374]
push eax
movups xmmword [ebp - 0x1d4], xmm0
call fcn.00461410
push str.Separator
lea ecx, [ebp - 0x3e0]
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x374]
push eax
movups xmmword [ebp - 0x1c4], xmm0
call fcn.00461410
push str.SeparatorHovered
lea ecx, [ebp - 0x3e0]
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x374]
push eax
movups xmmword [ebp - 0x1b4], xmm0
call fcn.00461410
push str.SeparatorActive
lea ecx, [ebp - 0x3e0]
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x374]
push eax
movups xmmword [ebp - 0x1a4], xmm0
call fcn.00461410
push str.ResizeGrip
lea ecx, [ebp - 0x3e0]
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x374]
push eax
movups xmmword [ebp - 0x194], xmm0
call fcn.00461410
push str.ResizeGripHovered
lea ecx, [ebp - 0x3e0]
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x374]
push eax
movups xmmword [ebp - 0x184], xmm0
call fcn.00461410
push str.ResizeGripActive
lea ecx, [ebp - 0x3e0]
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x374]
push eax
movups xmmword [ebp - 0x174], xmm0
call fcn.00461410
push 0x5cbc24
lea ecx, [ebp - 0x3e0]
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x374]
push eax
movups xmmword [ebp - 0x164], xmm0
call fcn.00461410
push str.TabHovered
lea ecx, [ebp - 0x3e0]
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x374]
push eax
movups xmmword [ebp - 0x154], xmm0
call fcn.00461410
movups xmm0, xmmword [eax]
push str.TabActive
lea eax, [ebp - 0x374]
push eax
lea ecx, [ebp - 0x3e0]
movups xmmword [ebp - 0x144], xmm0
call fcn.00461410
push str.TabUnfocused
lea ecx, [ebp - 0x3e0]
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x374]
push eax
movups xmmword [ebp - 0x134], xmm0
call fcn.00461410
push str.TabUnfocusedActive
lea ecx, [ebp - 0x3e0]
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x374]
push eax
movups xmmword [ebp - 0x124], xmm0
call fcn.00461410
push str.PlotLines
lea ecx, [ebp - 0x3e0]
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x374]
push eax
movups xmmword [ebp - 0x114], xmm0
call fcn.00461410
push str.PlotLinesHovered
lea ecx, [ebp - 0x3e0]
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x374]
push eax
movups xmmword [ebp - 0x104], xmm0
call fcn.00461410
push str.PlotHistogram
lea ecx, [ebp - 0x3e0]
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x374]
push eax
movups xmmword [ebp - 0xf4], xmm0
call fcn.00461410
push str.PlotHistogramHovered
lea ecx, [ebp - 0x3e0]
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x374]
push eax
movups xmmword [ebp - 0xe4], xmm0
call fcn.00461410
push str.TableHeaderBg
lea ecx, [ebp - 0x3e0]
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x374]
push eax
movups xmmword [ebp - 0xd4], xmm0
call fcn.00461410
push str.TableBorderStrong
lea ecx, [ebp - 0x3e0]
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x374]
push eax
movups xmmword [ebp - 0xc4], xmm0
call fcn.00461410
push str.TableBorderLight
lea ecx, [ebp - 0x3e0]
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x374]
push eax
movups xmmword [ebp - 0xb4], xmm0
call fcn.00461410
push str.TableRowBg
lea ecx, [ebp - 0x3e0]
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x374]
push eax
movups xmmword [ebp - 0xa4], xmm0
call fcn.00461410
push str.TableRowBgAlt
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x374]
movups xmmword [ebp - 0x94], xmm0
push eax
lea ecx, [ebp - 0x3e0]
call fcn.00461410
push str.TextSelectedBg
lea ecx, [ebp - 0x3e0]
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x374]
push eax
movups xmmword [ebp - 0x84], xmm0
call fcn.00461410
push str.DragDropTarget
lea ecx, [ebp - 0x3e0]
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x374]
push eax
movups xmmword [ebp - 0x74], xmm0
call fcn.00461410
push str.NavHighlight
lea ecx, [ebp - 0x3e0]
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x374]
push eax
movups xmmword [ebp - 0x64], xmm0
call fcn.00461410
push str.NavWindowingHighlight
lea ecx, [ebp - 0x3e0]
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x374]
push eax
movups xmmword [ebp - 0x54], xmm0
call fcn.00461410
push str.NavWindowingDimBg
lea ecx, [ebp - 0x3e0]
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x374]
push eax
movups xmmword [ebp - 0x44], xmm0
call fcn.00461410
push str.ModalWindowDimBg
lea ecx, [ebp - 0x3e0]
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x374]
push eax
movups xmmword [ebp - 0x34], xmm0
call fcn.00461410
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x24], xmm0
call fcn.0040e830
mov ecx, 0xd4
lea esi, [ebp - 0x364]
lea edi, [eax + 0xc4]
mov eax, dword [ebp - 0x3e4]
rep movsd dword es:[edi], dword [esi]
test eax, eax
je 0x468063
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0x3f0]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x468076
push eax
call esi
mov eax, dword [ebp - 0x3ec]
cmp eax, 0xffffffff
je 0x468084
push eax
call esi
lea ecx, [ebp - 0x3d8]
call fcn.004442c0
lea ecx, [ebp - 0x394]
call fcn.004443f0
mov al, 1
jmp 0x46818a
push 0
call fcn.004223b0
jmp 0x468185
push 0
call fcn.00422d80
jmp 0x468185
push 0
call fcn.004228a0
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0059a5ad
mov esp, ebp
pop ebp
ret
push str.File_not_found
lea ecx, [ebp - 0x404]
call fcn.00460fb0
push 0x65b4a0
lea eax, [ebp - 0x404]
push eax
call fcn.0059d5bd
push str.Invalid_JSON__TODO:_describe_how_
lea ecx, [ebp - 0x410]
call fcn.00460fb0
push 0x65b4a0
lea eax, [ebp - 0x410]
push eax
call fcn.0059d5bd
int3