Function at 0x45f960
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x9c
mov ebx, dword [esp + 0xb8]
mov edi, dword [esp + 0xb4]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov eax, dword [0x5052b0]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], eax
mov dword [esp + 0x5c], 0xc
mov dword [esp + 0x58], 0
xorps xmm0, xmm0
movups xmmword [esp + 0x60], xmm0
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], eax
mov dword [esp + 0x90], 0xc
mov dword [esp + 0x98], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], eax
lea eax, [esp + 0x28]
push eax
call dbg.ffDetectTerminalFont
add esp, 4
test al, al
je 0x45fe00
xor ebp, ebp
mov esi, 0
mov ecx, 0
test edi, edi
je 0x45face
mov eax, dword [esp + 0xb4]
lea edi, [eax + 0x28]
mov esi, dword [eax + 0x28]
cmp dword [eax + 0x2c], esi
je 0x45fee4
lea ecx, [esi + 0x18]
mov dword [edi], ecx
test esi, esi
je 0x45ff55
mov dword [esi + 4], 0
mov dword [esi], 0x60d
mov dword [esi + 8], 0x4f6a88
mov ecx, dword [edi]
mov eax, dword [esp + 0xb4]
cmp dword [eax + 0x2c], ecx
je 0x45ff08
lea eax, [ecx + 0x18]
mov dword [edi], eax
test ecx, ecx
je 0x45ff22
mov dword [ecx + 4], 0
mov dword [ecx], 7
test ebx, ebx
je 0x45fb29
xor ebp, ebp
test esi, esi
je 0x45fb29
mov edx, dword [ebx]
mov eax, edx
and eax, 7
cmp eax, 7
jne 0x45fb29
xor ebp, ebp
test ecx, ecx
je 0x45fb29
mov eax, dword [esi]
and eax, 7
cmp eax, 5
jne 0x45fb29
mov eax, dword [ebx + 4]
shld eax, edx, 0x18
mov edx, esi
je 0x45fb0b
mov edx, dword [ebx + 8]
mov edi, dword [edx + 0x10]
mov edx, dword [edi + 0x10]
mov dword [edi + 0x10], esi
mov dword [ecx + 0x10], edx
mov dword [esi + 0x10], ecx
mov dword [ebx + 8], esi
inc eax
movzx edx, byte [ebx]
mov esi, eax
shr esi, 0x18
shl eax, 8
or eax, edx
mov dword [ebx + 4], esi
mov dword [ebx], eax
mov ebp, ecx
xor edi, edi
mov esi, 0
mov ebx, 0
mov ecx, dword [esp + 0xb4]
test ecx, ecx
je 0x45fb97
lea ebx, [ecx + 0x28]
mov esi, dword [ecx + 0x28]
cmp dword [ecx + 0x2c], esi
je 0x45ff31
lea edx, [esi + 0x18]
mov dword [ebx], edx
test esi, esi
je 0x45ff5c
mov dword [esi + 4], 0
mov dword [esi], 0x40d
mov dword [esi + 8], str.font
mov edx, dword [ebx]
cmp dword [ecx + 0x2c], edx
je 0x45ff67
lea eax, [edx + 0x18]
mov dword [ebx], eax
test edx, edx
je 0x45ff81
mov ebx, edx
mov dword [edx + 4], 0
mov dword [edx], 7
mov dl, 1
test ebp, ebp
mov dword [esp + 0x14], ebp
je 0x4600a8
xor edi, edi
test esi, esi
je 0x4600a8
mov ecx, dword [ebp]
mov eax, ecx
and eax, 7
cmp eax, 7
jne 0x4600a8
xor edi, edi
test ebx, ebx
je 0x4600a8
mov eax, dword [esi]
and eax, 7
cmp eax, 5
jne 0x4600a8
mov eax, dword [ebp + 4]
shld eax, ecx, 0x18
mov ecx, esi
je 0x45fbef
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
mov ecx, dword [edx + 0x10]
mov dword [edx + 0x10], esi
mov dword [ebx + 0x10], ecx
mov dword [esi + 0x10], ebx
inc eax
movzx ecx, byte [ebp]
mov edx, eax
shr edx, 0x18
shl eax, 8
or eax, ecx
mov dword [ebp + 8], esi
mov dword [ebp + 4], edx
mov dword [ebp], eax
mov ecx, dword [esp + 0xb4]
test ecx, ecx
mov dword [esp + 4], ebx
je 0x45fd0b
mov eax, dword [esp + 0x48]
mov dword [esp + 0x10], eax
test eax, eax
je 0x45fd0b
mov eax, dword [ebx]
not eax
test al, 7
jne 0x45fd0b
mov esi, dword [esp + 0x44]
lea ebp, [ecx + 0x28]
mov edi, dword [ecx + 0x28]
mov eax, dword [ecx + 0x2c]
sub eax, edi
sar eax, 3
imul eax, eax, 0xaaaaaaab
cmp eax, 1
jbe 0x45ff88
lea eax, [edi + 0x30]
mov dword [ebp], eax
test edi, edi
je 0x45fd0b
mov ebp, dword [ebx + 1]
mov dword [edi + 4], 0
mov dword [edi], 0x40d
mov dword [edi + 8], 0x4f6a94
lea eax, [ecx + 0x14]
mov dword [esp], eax
mov ebx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x18]
sub eax, ebx
cmp eax, esi
jbe 0x460005
lea eax, [ebx + esi]
inc eax
mov edx, dword [esp]
mov dword [edx], eax
test ebx, ebx
je 0x46002e
push esi
push dword [esp + 0x14]
push ebx
call sym._memcpy
add esp, 0xc
mov byte [ebx + esi], 0
lea eax, [edi + 0x18]
mov dword [edi + 0x20], ebx
mov ecx, esi
shr ecx, 0x18
shl esi, 8
or esi, 5
mov dword [edi + 0x18], esi
mov dword [edi + 0x1c], ecx
mov ecx, edi
test ebp, ebp
mov ebx, dword [esp + 4]
je 0x45fce8
mov ecx, dword [ebx + 8]
mov edx, dword [ecx + 0x10]
mov ecx, dword [edx + 0x10]
mov dword [edx + 0x10], edi
mov dword [edi + 0x28], ecx
mov dword [edi + 0x10], eax
mov dword [ebx + 8], edi
inc ebp
movzx eax, byte [ebx]
mov ecx, ebp
shr ecx, 0x18
shl ebp, 8
or ebp, eax
mov dword [ebx + 4], ecx
mov dword [ebx], ebp
mov ecx, dword [esp + 0xb4]
xor edx, edx
test ecx, ecx
je 0x4600a6
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4600a6
mov dword [esp], eax
mov eax, dword [ebx]
not eax
test al, 7
jne 0x45fffe
mov esi, dword [esp + 0x50]
lea ebp, [ecx + 0x28]
mov edi, dword [ecx + 0x28]
mov eax, dword [ecx + 0x2c]
sub eax, edi
sar eax, 3
imul eax, eax, 0xaaaaaaab
cmp eax, 1
jbe 0x45ffae
lea eax, [edi + 0x30]
mov dword [ebp], eax
test edi, edi
je 0x45fffe
mov ebp, dword [ebx + 1]
mov dword [edi + 4], 0
mov dword [edi], 0x40d
mov dword [edi + 8], str.size
lea edx, [ecx + 0x14]
mov ebx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x18]
sub eax, ebx
cmp eax, esi
jbe 0x46003e
lea eax, [ebx + esi]
inc eax
mov dword [edx], eax
test ebx, ebx
je 0x460065
push esi
push dword [esp + 4]
push ebx
call sym._memcpy
add esp, 0xc
mov byte [ebx + esi], 0
lea eax, [edi + 0x18]
mov dword [edi + 0x20], ebx
mov ecx, esi
shr ecx, 0x18
shl esi, 8
or esi, 5
mov dword [edi + 0x18], esi
mov dword [edi + 0x1c], ecx
mov ecx, edi
test ebp, ebp
mov ebx, dword [esp + 4]
je 0x45fdd6
mov ecx, dword [ebx + 8]
mov edx, dword [ecx + 0x10]
mov ecx, dword [edx + 0x10]
mov dword [edx + 0x10], edi
mov dword [edi + 0x28], ecx
mov dword [edi + 0x10], eax
mov dword [ebx + 8], edi
inc ebp
movzx eax, byte [ebx]
mov ecx, ebp
shr ecx, 0x18
shl ebp, 8
or ebp, eax
mov dword [ebx + 4], ecx
mov dword [ebx], ebp
xor ebp, ebp
mov ecx, dword [esp + 0xb4]
jmp 0x4600bb
test ebx, ebx
je 0x460cc0
mov ecx, edi
test edi, edi
je 0x460cc0
mov edx, dword [esp + 0x30]
test edx, edx
je 0x460cc0
mov eax, dword [ebx]
not eax
test al, 7
jne 0x460cc0
mov esi, dword [esp + 0x2c]
lea ebp, [ecx + 0x28]
mov edi, dword [ecx + 0x28]
mov eax, dword [ecx + 0x2c]
sub eax, edi
sar eax, 3
imul eax, eax, 0xaaaaaaab
cmp eax, 1
jbe 0x45ffd4
lea eax, [edi + 0x30]
mov dword [ebp], eax
test edi, edi
je 0x460cc0
mov ebp, dword [ebx + 1]
mov dword [edi + 4], 0
mov dword [edi], 0x50d
mov dword [edi + 8], 0x4f6a82
lea eax, [ecx + 0x14]
mov dword [esp], eax
mov ebx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x18]
sub eax, ebx
cmp eax, esi
jbe 0x460074
lea eax, [ebx + esi]
inc eax
mov ecx, dword [esp]
mov dword [ecx], eax
test ebx, ebx
je 0x46009a
push esi
push edx
push ebx
call sym._memcpy
add esp, 0xc
mov byte [ebx + esi], 0
lea eax, [edi + 0x18]
mov dword [edi + 0x20], ebx
mov ecx, esi
shr ecx, 0x18
shl esi, 8
or esi, 5
mov dword [edi + 0x18], esi
mov dword [edi + 0x1c], ecx
mov ecx, edi
test ebp, ebp
mov esi, dword [esp + 0xb8]
je 0x45fed6
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 0x10]
mov ecx, dword [edx + 0x10]
mov dword [edx + 0x10], edi
mov dword [edi + 0x28], ecx
mov dword [edi + 0x10], eax
mov dword [esi + 8], edi
jmp 0x460cad
mov esi, dword [esp + 0xb4]
lea eax, [esi + 4]
push 1
push eax
push edi
call dbg.unsafe_yyjson_val_pool_grow
add esp, 0xc
mov ecx, dword [esi + 0x28]
test al, al
je 0x45ff55
mov esi, ecx
jmp 0x45fa81
add eax, 4
push 1
push eax
push edi
call dbg.unsafe_yyjson_val_pool_grow
add esp, 0xc
test al, al
je 0x45ff22
mov ecx, dword [edi]
jmp 0x45fab4
xor ecx, ecx
test ebx, ebx
jne 0x45fad2
jmp 0x45fb29
lea eax, [ecx + 4]
push 1
push eax
push ebx
call dbg.unsafe_yyjson_val_pool_grow
mov ecx, dword [esp + 0xc0]
add esp, 0xc
mov edx, dword [ecx + 0x28]
test al, al
je 0x45ff5c
mov esi, edx
jmp 0x45fb4f
xor esi, esi
jmp 0x45faa4
xor esi, esi
cmp dword [ecx + 0x2c], edx
jne 0x45fb7b
lea eax, [ecx + 4]
push 1
push eax
push ebx
call dbg.unsafe_yyjson_val_pool_grow
add esp, 0xc
test al, al
je 0x45ff81
mov edx, dword [ebx]
jmp 0x45fb7b
xor ebx, ebx
jmp 0x45fb97
lea eax, [ecx + 4]
push 2
push eax
push ebp
call dbg.unsafe_yyjson_val_pool_grow
mov ecx, dword [esp + 0xc0]
add esp, 0xc
test al, al
je 0x45fd0b
mov edi, dword [ebp]
jmp 0x45fc5d
lea eax, [ecx + 4]
push 2
push eax
push ebp
call dbg.unsafe_yyjson_val_pool_grow
add esp, 0xc
test al, al
je 0x45fdf2
mov edi, dword [ebp]
mov ecx, dword [esp + 0xb4]
jmp 0x45fd51
lea eax, [ecx + 4]
push 2
push eax
push ebp
mov edi, edx
call dbg.unsafe_yyjson_val_pool_grow
mov ecx, dword [esp + 0xc0]
add esp, 0xc
test al, al
je 0x460cc0
mov edx, edi
mov edi, dword [ebp]
jmp 0x45fe4b
xor ebp, ebp
jmp 0x4600bb
lea eax, [ecx + 4]
lea ecx, [esi + 1]
push ecx
push eax
push dword [esp + 8]
call dbg.unsafe_yyjson_str_pool_grow
mov ecx, dword [esp + 0xc0]
add esp, 0xc
test al, al
je 0x46002e
mov eax, dword [esp]
mov ebx, dword [eax]
jmp 0x45fc98
mov dword [edi + 0x20], 0
mov ebx, dword [esp + 4]
jmp 0x45fd0b
lea eax, [ecx + 4]
lea ecx, [esi + 1]
push ecx
push eax
mov ebx, edx
push edx
call dbg.unsafe_yyjson_str_pool_grow
mov ecx, dword [esp + 0xc0]
add esp, 0xc
test al, al
je 0x460065
mov edx, ebx
mov ebx, dword [ebx]
jmp 0x45fd89
mov dword [edi + 0x20], 0
xor ebp, ebp
mov ebx, dword [esp + 4]
jmp 0x4600bb
add ecx, 4
lea eax, [esi + 1]
push eax
push ecx
push dword [esp + 8]
mov ebx, edx
call dbg.unsafe_yyjson_str_pool_grow
add esp, 0xc
test al, al
je 0x46009a
mov edx, ebx
mov eax, dword [esp]
mov ebx, dword [eax]
jmp 0x45fe86
mov dword [edi + 0x20], 0
jmp 0x460cc0
mov edi, ebx
mov ecx, dword [esp + 0xb4]
mov ebp, edx
test ecx, ecx
je 0x4607ec
mov ebx, edi
lea edi, [ecx + 0x28]
mov esi, dword [ecx + 0x28]
cmp dword [ecx + 0x2c], esi
je 0x460735
lea edx, [esi + 0x18]
mov dword [edi], edx
test esi, esi
je 0x460759
mov dword [esi + 4], 0
mov dword [esi], 0x60d
mov dword [esi + 8], str.styles
mov edx, dword [edi]
cmp dword [ecx + 0x2c], edx
je 0x460764
lea eax, [edx + 0x18]
mov dword [edi], eax
test edx, edx
je 0x46077e
mov dword [edx + 4], 0
mov dword [edx], 6
mov eax, ebp
test al, al
jne 0x4607ce
mov dword [esp + 0xc], 0
test esi, esi
mov dword [esp + 4], ebx
je 0x460191
mov ecx, dword [ebx]
mov eax, ecx
and eax, 7
cmp eax, 7
jne 0x460191
mov dword [esp + 0xc], 0
test edx, edx
je 0x460191
mov eax, dword [esi]
and eax, 7
cmp eax, 5
jne 0x460191
mov eax, dword [ebx + 4]
shld eax, ecx, 0x18
mov ecx, esi
je 0x460167
mov ecx, dword [ebx + 8]
mov edi, edx
mov edx, dword [ecx + 0x10]
mov ecx, dword [edx + 0x10]
mov dword [edx + 0x10], esi
mov edx, edi
mov dword [edx + 0x10], ecx
mov dword [esi + 0x10], edx
mov dword [ebx + 8], esi
inc eax
movzx ecx, byte [ebx]
mov esi, edx
mov edx, eax
shr edx, 0x18
shl eax, 8
or eax, ecx
mov dword [ebx + 4], edx
mov edx, esi
mov dword [ebx], eax
mov dword [esp + 0xc], 0
jmp 0x460193
xor edx, edx
cmp dword [esp + 0x60], 0
jle 0x46033c
mov ecx, dword [esp + 0xb4]
test ecx, ecx
sete al
mov edi, dword [esp + 0x58]
test edx, edx
sete ah
or ah, al
mov byte [esp + 0xb], ah
lea eax, [ecx + 0x28]
mov dword [esp + 0x20], eax
lea eax, [ecx + 4]
mov dword [esp + 0x24], eax
lea eax, [ecx + 0x14]
mov dword [esp + 0x18], eax
lea ecx, [edi + 0xc]
add edi, 8
mov dword [esp], edx
nop word [eax + eax]
mov dword [esp + 0x10], ecx
cmp byte [esp + 0xb], 0
jne 0x4602bb
mov eax, dword [edi]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4602bb
mov eax, dword [edx]
and eax, 7
cmp eax, 6
jne 0x4602bb
mov ebp, dword [edi - 4]
mov ecx, dword [esp + 0xb4]
mov ebx, dword [ecx + 0x28]
cmp dword [ecx + 0x2c], ebx
mov esi, dword [esp + 0x20]
je 0x4602e0
lea eax, [ebx + 0x18]
mov dword [esi], eax
mov esi, dword [ecx + 0x14]
mov eax, dword [ecx + 0x18]
sub eax, esi
cmp eax, ebp
jbe 0x460304
lea eax, [esi + ebp]
inc eax
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
test esi, esi
je 0x4602bb
push ebp
push dword [esp + 0x20]
push esi
call sym._memcpy
mov edx, dword [esp + 0xc]
add esp, 0xc
mov byte [esi + ebp], 0
test ebx, ebx
je 0x4602bb
mov eax, ebp
shr eax, 0x18
shl ebp, 8
or ebp, 5
mov dword [ebx + 4], eax
mov dword [ebx], ebp
mov dword [ebx + 8], esi
mov ecx, dword [edx]
mov eax, ecx
and eax, 7
cmp eax, 6
jne 0x4602bb
mov eax, dword [edx + 4]
shld eax, ecx, 0x18
lea edx, [eax + 1]
movzx ecx, cl
mov esi, edx
shr esi, 0x18
shl edx, 8
or edx, ecx
mov ecx, dword [esp]
mov dword [ecx + 4], esi
mov ecx, dword [esp]
mov dword [ecx], edx
mov edx, dword [esp]
mov ecx, ebx
test eax, eax
je 0x4602b5
mov eax, dword [edx + 8]
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x10], ebx
mov dword [ebx + 0x10], ecx
mov dword [edx + 8], ebx
mov ecx, dword [esp + 0x10]
mov eax, ecx
sub eax, dword [esp + 0x58]
sar eax, 2
imul eax, eax, 0xaaaaaaab
add ecx, 0xc
add edi, 0xc
cmp eax, dword [esp + 0x60]
jl 0x4601e0
jmp 0x46033c
push 1
push dword [esp + 0x28]
push esi
call dbg.unsafe_yyjson_val_pool_grow
add esp, 0xc
test al, al
je 0x46032b
mov ebx, dword [esi]
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp]
jmp 0x460225
lea eax, [ebp + 1]
push eax
push dword [esp + 0x28]
push dword [esp + 0x20]
call dbg.unsafe_yyjson_str_pool_grow
mov edx, dword [esp + 0xc]
add esp, 0xc
test al, al
je 0x4602bb
mov eax, dword [esp + 0x18]
mov esi, dword [eax]
jmp 0x46023a
xor ebx, ebx
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp]
jmp 0x46022a
mov esi, dword [esp + 0x3c]
test esi, esi
sete al
mov ecx, dword [esp + 0xb4]
test ecx, ecx
je 0x460442
mov edx, dword [esp + 0xc]
or dl, al
jne 0x460442
mov eax, dword [esp + 4]
mov eax, dword [eax]
not eax
test al, 7
jne 0x46044a
mov edi, dword [esp + 0x38]
lea ebp, [ecx + 0x28]
mov ebx, dword [ecx + 0x28]
mov eax, dword [ecx + 0x2c]
sub eax, ebx
sar eax, 3
imul eax, eax, 0xaaaaaaab
cmp eax, 1
jbe 0x46084c
lea eax, [ebx + 0x30]
mov dword [ebp], eax
test ebx, ebx
je 0x46044a
mov dword [esp], esi
mov eax, dword [esp + 4]
mov ebp, dword [eax + 1]
mov dword [ebx + 4], 0
mov dword [ebx], 0x60d
mov dword [ebx + 8], str.pretty
lea edx, [ecx + 0x14]
mov esi, dword [ecx + 0x14]
mov eax, dword [ecx + 0x18]
sub eax, esi
cmp eax, edi
jbe 0x4608e8
lea eax, [esi + edi]
inc eax
mov dword [edx], eax
test esi, esi
je 0x46090f
push edi
push dword [esp + 4]
push esi
call sym._memcpy
add esp, 0xc
mov byte [esi + edi], 0
lea eax, [ebx + 0x18]
mov dword [ebx + 0x20], esi
mov ecx, edi
shr ecx, 0x18
shl edi, 8
or edi, 5
mov dword [ebx + 0x18], edi
mov dword [ebx + 0x1c], ecx
mov ecx, ebx
test ebp, ebp
mov esi, dword [esp + 4]
je 0x46041d
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 0x10]
mov ecx, dword [edx + 0x10]
mov dword [edx + 0x10], ebx
mov dword [ebx + 0x28], ecx
mov dword [ebx + 0x10], eax
mov dword [esi + 8], ebx
inc ebp
movzx eax, byte [esi]
mov ecx, ebp
shr ecx, 0x18
shl ebp, 8
or ebp, eax
mov dword [esi + 4], ecx
mov dword [esi], ebp
mov ecx, dword [esp + 0xb4]
jmp 0x46044a
test ecx, ecx
je 0x4607df
lea edi, [ecx + 0x28]
mov esi, dword [ecx + 0x28]
cmp dword [ecx + 0x2c], esi
je 0x460782
lea ebp, [esi + 0x18]
mov dword [edi], ebp
test esi, esi
je 0x4607a6
mov dword [esi + 4], 0
mov dword [esi], 0x80d
mov dword [esi + 8], str.fallback
mov ebp, dword [edi]
mov ebx, dword [esp + 0x14]
cmp dword [ecx + 0x2c], ebp
je 0x4607ad
lea eax, [ebp + 0x18]
mov dword [edi], eax
test ebp, ebp
je 0x4607c7
mov dword [ebp + 4], 0
mov dword [ebp], 7
mov dword [esp + 0x10], 0
mov al, 1
test ebx, ebx
je 0x46072b
mov dword [esp], eax
xor eax, eax
test esi, esi
je 0x460924
mov ecx, dword [ebx]
mov edx, ecx
and edx, 7
cmp edx, 7
jne 0x460924
xor eax, eax
test ebp, ebp
je 0x460924
mov edx, dword [esi]
and edx, 7
cmp edx, 5
jne 0x460924
mov eax, dword [ebx + 4]
shld eax, ecx, 0x18
mov ecx, esi
je 0x460502
mov ecx, dword [ebx + 8]
mov edx, dword [ecx + 0x10]
mov ecx, dword [edx + 0x10]
mov dword [edx + 0x10], esi
mov dword [ebp + 0x10], ecx
mov dword [esi + 0x10], ebp
inc eax
movzx ecx, byte [ebx]
mov edx, eax
shr edx, 0x18
shl eax, 8
or eax, ecx
mov dword [ebx + 8], esi
mov dword [ebx + 4], edx
mov dword [ebx], eax
mov ecx, dword [esp + 0xb4]
test ecx, ecx
mov dword [esp + 4], ebp
je 0x46061f
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x46061f
mov eax, dword [ebp]
not eax
test al, 7
jne 0x46061f
mov esi, dword [esp + 0x78]
lea ebx, [ecx + 0x28]
mov edi, dword [ecx + 0x28]
mov eax, dword [ecx + 0x2c]
sub eax, edi
sar eax, 3
imul eax, eax, 0xaaaaaaab
cmp eax, 1
jbe 0x460801
lea eax, [edi + 0x30]
mov dword [ebx], eax
test edi, edi
je 0x46061f
mov ebx, dword [ebp + 1]
mov dword [edi + 4], 0
mov dword [edi], 0x40d
mov dword [edi + 8], 0x4f6a94
lea eax, [ecx + 0x14]
mov dword [esp], eax
mov ebp, dword [ecx + 0x14]
mov eax, dword [ecx + 0x18]
sub eax, ebp
cmp eax, esi
jbe 0x460872
lea eax, [esi + ebp]
inc eax
mov edx, dword [esp]
mov dword [edx], eax
test ebp, ebp
je 0x46089b
push esi
push dword [esp + 0x20]
push ebp
call sym._memcpy
add esp, 0xc
mov byte [ebp + esi], 0
lea eax, [edi + 0x18]
mov dword [edi + 0x20], ebp
mov ecx, esi
shr ecx, 0x18
shl esi, 8
or esi, 5
mov dword [edi + 0x18], esi
mov dword [edi + 0x1c], ecx
mov ecx, edi
test ebx, ebx
mov ebp, dword [esp + 4]
je 0x4605fa
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
mov ecx, dword [edx + 0x10]
mov dword [edx + 0x10], edi
mov dword [edi + 0x28], ecx
mov dword [edi + 0x10], eax
mov dword [ebp + 8], edi
inc ebx
movzx eax, byte [ebp]
mov ecx, ebx
shr ecx, 0x18
shl ebx, 8
or ebx, eax
mov dword [ebp + 4], ecx
mov dword [ebp], ebx
mov ecx, dword [esp + 0xb4]
test ecx, ecx
je 0x46091b
mov eax, dword [esp + 0x88]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x46091b
mov eax, dword [ebp]
not eax
test al, 7
jne 0x4608db
mov esi, dword [esp + 0x84]
lea ebp, [ecx + 0x28]
mov edi, dword [ecx + 0x28]
mov eax, dword [ecx + 0x2c]
sub eax, edi
sar eax, 3
imul eax, eax, 0xaaaaaaab
cmp eax, 1
jbe 0x460826
lea eax, [edi + 0x30]
mov dword [ebp], eax
test edi, edi
je 0x4608db
mov eax, dword [esp + 4]
mov ebp, dword [eax + 1]
mov dword [edi + 4], 0
mov dword [edi], 0x40d
mov dword [edi + 8], str.size
lea eax, [ecx + 0x14]
mov dword [esp], eax
mov ebx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x18]
sub eax, ebx
cmp eax, esi
jbe 0x4608ab
lea eax, [ebx + esi]
inc eax
mov edx, dword [esp]
mov dword [edx], eax
test ebx, ebx
je 0x4608d4
push esi
push dword [esp + 0x20]
push ebx
call sym._memcpy
add esp, 0xc
mov byte [ebx + esi], 0
lea eax, [edi + 0x18]
mov dword [edi + 0x20], ebx
mov ecx, esi
shr ecx, 0x18
shl esi, 8
or esi, 5
mov dword [edi + 0x18], esi
mov dword [edi + 0x1c], ecx
mov ecx, edi
test ebp, ebp
mov esi, dword [esp + 4]
je 0x4606fa
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 0x10]
mov ecx, dword [edx + 0x10]
mov dword [edx + 0x10], edi
mov dword [edi + 0x28], ecx
mov dword [edi + 0x10], eax
mov dword [esi + 8], edi
inc ebp
movzx eax, byte [esi]
mov ecx, ebp
shr ecx, 0x18
shl ebp, 8
or ebp, eax
mov dword [esi + 4], ecx
mov dword [esi], ebp
mov dword [esp], 0
mov ecx, dword [esp + 0xb4]
mov edi, esi
jmp 0x460935
mov dword [esp], eax
xor eax, eax
jmp 0x460924
lea eax, [ecx + 4]
push 1
push eax
push edi
call dbg.unsafe_yyjson_val_pool_grow
mov ecx, dword [esp + 0xc0]
add esp, 0xc
mov edx, dword [ecx + 0x28]
test al, al
je 0x460759
mov esi, edx
jmp 0x4600ca
xor esi, esi
cmp dword [ecx + 0x2c], edx
jne 0x4600f6
lea eax, [ecx + 4]
push 1
push eax
push edi
call dbg.unsafe_yyjson_val_pool_grow
add esp, 0xc
test al, al
je 0x46077e
mov edx, dword [edi]
jmp 0x4600f6
mov edi, ebx
jmp 0x4607ee
lea eax, [ecx + 4]
push 1
push eax
push edi
call dbg.unsafe_yyjson_val_pool_grow
mov ecx, dword [esp + 0xc0]
add esp, 0xc
mov ebp, dword [ecx + 0x28]
test al, al
je 0x4607a6
mov esi, ebp
jmp 0x460459
xor esi, esi
jmp 0x46047c
lea eax, [ecx + 4]
push 1
push eax
push edi
call dbg.unsafe_yyjson_val_pool_grow
add esp, 0xc
test al, al
je 0x4607c7
mov ebp, dword [edi]
jmp 0x460489
xor ebp, ebp
jmp 0x4604a4
mov dword [esp + 4], ebx
xor edx, edx
mov al, 1
mov dword [esp + 0xc], eax
jmp 0x460193
xor esi, esi
xor ebp, ebp
mov ebx, dword [esp + 0x14]
jmp 0x4604a4
xor esi, esi
xor edx, edx
mov eax, ebp
test al, al
jne 0x460dcb
mov ebx, edi
jmp 0x46011a
lea eax, [ecx + 4]
push 2
push eax
push ebx
call dbg.unsafe_yyjson_val_pool_grow
mov ecx, dword [esp + 0xc0]
add esp, 0xc
test al, al
je 0x46061f
mov edi, dword [ebx]
jmp 0x46056f
lea eax, [ecx + 4]
push 2
push eax
push ebp
call dbg.unsafe_yyjson_val_pool_grow
add esp, 0xc
test al, al
je 0x460dda
mov edi, dword [ebp]
mov ecx, dword [esp + 0xb4]
jmp 0x46066b
lea eax, [ecx + 4]
push 2
push eax
push ebp
call dbg.unsafe_yyjson_val_pool_grow
mov ecx, dword [esp + 0xc0]
add esp, 0xc
test al, al
je 0x46044a
mov ebx, dword [ebp]
jmp 0x460391
lea eax, [ecx + 4]
lea ecx, [esi + 1]
push ecx
push eax
push dword [esp + 8]
call dbg.unsafe_yyjson_str_pool_grow
mov ecx, dword [esp + 0xc0]
add esp, 0xc
test al, al
je 0x46089b
mov eax, dword [esp]
mov ebp, dword [eax]
jmp 0x4605a9
mov dword [edi + 0x20], 0
mov ebp, dword [esp + 4]
jmp 0x46061f
lea eax, [ecx + 4]
lea ecx, [esi + 1]
push ecx
push eax
push dword [esp + 8]
call dbg.unsafe_yyjson_str_pool_grow
mov ecx, dword [esp + 0xc0]
add esp, 0xc
test al, al
je 0x4608d4
mov eax, dword [esp]
mov ebx, dword [eax]
jmp 0x4606aa
mov dword [edi + 0x20], 0
mov dword [esp], 0
mov edi, dword [esp + 4]
jmp 0x460935
lea eax, [ecx + 4]
lea ecx, [edi + 1]
push ecx
push eax
mov esi, edx
push edx
call dbg.unsafe_yyjson_str_pool_grow
mov ecx, dword [esp + 0xc0]
add esp, 0xc
test al, al
je 0x46090f
mov edx, esi
mov esi, dword [esi]
jmp 0x4603d0
mov dword [ebx + 0x20], 0
jmp 0x46044a
mov dword [esp], 0
mov eax, ebp
mov edi, eax
mov ecx, dword [esp + 0xb4]
test ecx, ecx
je 0x460d5b
lea esi, [ecx + 0x28]
mov ebx, dword [ecx + 0x28]
cmp dword [ecx + 0x2c], ebx
je 0x460d0e
lea edx, [ebx + 0x18]
mov dword [esi], edx
test ebx, ebx
je 0x460d32
mov dword [ebx + 4], 0
mov dword [ebx], 0x60d
mov dword [ebx + 8], str.styles
mov edx, dword [esi]
cmp dword [ecx + 0x2c], edx
je 0x460d3d
lea eax, [edx + 0x18]
mov dword [esi], eax
test edx, edx
je 0x460d57
mov dword [edx + 4], 0
mov dword [edx], 6
cmp byte [esp], 0
jne 0x460d6c
mov dword [esp + 0xc], 0
test ebx, ebx
je 0x460a07
mov ecx, dword [edi]
mov eax, ecx
and eax, 7
cmp eax, 7
jne 0x460a07
mov dword [esp + 0xc], 0
test edx, edx
je 0x460a07
mov eax, dword [ebx]
and eax, 7
cmp eax, 5
jne 0x460a07
mov eax, dword [edi + 4]
shld eax, ecx, 0x18
mov ecx, ebx
je 0x4609dd
mov ecx, dword [edi + 8]
mov esi, edx
mov edx, dword [ecx + 0x10]
mov ecx, dword [edx + 0x10]
mov dword [edx + 0x10], ebx
mov edx, esi
mov dword [edx + 0x10], ecx
mov dword [ebx + 0x10], edx
mov dword [edi + 8], ebx
inc eax
movzx ecx, byte [edi]
mov esi, edx
mov edx, eax
shr edx, 0x18
shl eax, 8
or eax, ecx
mov dword [edi + 4], edx
mov edx, esi
mov dword [edi], eax
mov dword [esp + 0xc], 0
jmp 0x460a09
xor edx, edx
mov dword [esp + 4], edi
cmp dword [esp + 0x94], 0
jle 0x460bc3
mov ecx, dword [esp + 0xb4]
test ecx, ecx
sete al
mov ebp, dword [esp + 0x8c]
test edx, edx
sete ah
or ah, al
mov byte [esp + 0xb], ah
lea eax, [ecx + 0x28]
mov dword [esp + 0x20], eax
lea eax, [ecx + 4]
mov dword [esp + 0x14], eax
lea eax, [ecx + 0x14]
mov dword [esp + 0x18], eax
lea ecx, [ebp + 0xc]
add ebp, 8
mov dword [esp], edx
nop word [eax + eax]
mov dword [esp + 0x10], ecx
cmp byte [esp + 0xb], 0
jne 0x460b3c
mov eax, dword [ebp]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x460b3c
mov eax, dword [edx]
and eax, 7
cmp eax, 6
jne 0x460b3c
mov edi, dword [ebp - 4]
mov ecx, dword [esp + 0xb4]
mov ebx, dword [ecx + 0x28]
cmp dword [ecx + 0x2c], ebx
mov esi, dword [esp + 0x20]
je 0x460b67
lea eax, [ebx + 0x18]
mov dword [esi], eax
mov esi, dword [ecx + 0x14]
mov eax, dword [ecx + 0x18]
sub eax, esi
cmp eax, edi
jbe 0x460b8b
lea eax, [esi + edi]
inc eax
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
test esi, esi
je 0x460b3c
push edi
push dword [esp + 0x20]
push esi
call sym._memcpy
mov edx, dword [esp + 0xc]
add esp, 0xc
mov byte [esi + edi], 0
test ebx, ebx
je 0x460b3c
mov eax, edi
shr eax, 0x18
shl edi, 8
or edi, 5
mov dword [ebx + 4], eax
mov dword [ebx], edi
mov dword [ebx + 8], esi
mov ecx, dword [edx]
mov eax, ecx
and eax, 7
cmp eax, 6
jne 0x460b3c
mov eax, dword [edx + 4]
shld eax, ecx, 0x18
lea edx, [eax + 1]
movzx ecx, cl
mov esi, edx
shr esi, 0x18
shl edx, 8
or edx, ecx
mov ecx, dword [esp]
mov dword [ecx + 4], esi
mov ecx, dword [esp]
mov dword [ecx], edx
mov edx, dword [esp]
mov ecx, ebx
test eax, eax
je 0x460b36
mov eax, dword [edx + 8]
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x10], ebx
mov dword [ebx + 0x10], ecx
mov dword [edx + 8], ebx
mov ecx, dword [esp + 0x10]
mov eax, ecx
sub eax, dword [esp + 0x8c]
sar eax, 2
imul eax, eax, 0xaaaaaaab
add ecx, 0xc
add ebp, 0xc
cmp eax, dword [esp + 0x94]
jl 0x460a60
jmp 0x460bc3
push 1
push dword [esp + 0x18]
push esi
call dbg.unsafe_yyjson_val_pool_grow
add esp, 0xc
test al, al
je 0x460bb2
mov ebx, dword [esi]
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp]
jmp 0x460aa6
lea eax, [edi + 1]
push eax
push dword [esp + 0x18]
push dword [esp + 0x20]
call dbg.unsafe_yyjson_str_pool_grow
mov edx, dword [esp + 0xc]
add esp, 0xc
test al, al
je 0x460b3c
mov eax, dword [esp + 0x18]
mov esi, dword [eax]
jmp 0x460abb
xor ebx, ebx
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp]
jmp 0x460aab
mov esi, dword [esp + 0x70]
test esi, esi
sete al
mov ecx, dword [esp + 0xb4]
test ecx, ecx
je 0x460cc0
mov edx, dword [esp + 0xc]
or dl, al
jne 0x460cc0
mov eax, dword [esp + 4]
mov eax, dword [eax]
not eax
test al, 7
jne 0x460cc0
mov edi, dword [esp + 0x6c]
lea ebp, [ecx + 0x28]
mov ebx, dword [ecx + 0x28]
mov eax, dword [ecx + 0x2c]
sub eax, ebx
sar eax, 3
imul eax, eax, 0xaaaaaaab
cmp eax, 1
jbe 0x460d79
lea eax, [ebx + 0x30]
mov dword [ebp], eax
test ebx, ebx
je 0x460cc0
mov dword [esp], esi
mov eax, dword [esp + 4]
mov ebp, dword [eax + 1]
mov dword [ebx + 4], 0
mov dword [ebx], 0x60d
mov dword [ebx + 8], str.pretty
lea edx, [ecx + 0x14]
mov esi, dword [ecx + 0x14]
mov eax, dword [ecx + 0x18]
sub eax, esi
cmp eax, edi
jbe 0x460d9f
lea eax, [esi + edi]
inc eax
mov dword [edx], eax
test esi, esi
je 0x460dbf
push edi
push dword [esp + 4]
push esi
call sym._memcpy
add esp, 0xc
mov byte [esi + edi], 0
lea eax, [ebx + 0x18]
mov dword [ebx + 0x20], esi
mov ecx, edi
shr ecx, 0x18
shl edi, 8
or edi, 5
mov dword [ebx + 0x18], edi
mov dword [ebx + 0x1c], ecx
mov ecx, ebx
test ebp, ebp
mov esi, dword [esp + 4]
je 0x460ca4
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 0x10]
mov ecx, dword [edx + 0x10]
mov dword [edx + 0x10], ebx
mov dword [ebx + 0x28], ecx
mov dword [ebx + 0x10], eax
mov dword [esi + 8], ebx
inc ebp
movzx eax, byte [esi]
mov ecx, ebp
shr ecx, 0x18
shl ebp, 8
or ebp, eax
mov dword [esi + 4], ecx
mov dword [esi], ebp
lea esi, [esp + 0x34]
cmp dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
je 0x460ce7
mov dword [esp + 0x28], 0
push dword [esp + 0x30]
call sym._free
add esp, 4
lea edi, [esp + 0x68]
mov eax, dword [0x5052b0]
mov dword [esp + 0x30], eax
push esi
call dbg.ffFontDestroy
add esp, 4
push edi
call dbg.ffFontDestroy
add esp, 0xa0
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [ecx + 4]
push 1
push eax
push esi
call dbg.unsafe_yyjson_val_pool_grow
mov ecx, dword [esp + 0xc0]
add esp, 0xc
mov edx, dword [ecx + 0x28]
test al, al
je 0x460d32
mov ebx, edx
jmp 0x460944
xor ebx, ebx
cmp dword [ecx + 0x2c], edx
jne 0x460970
lea eax, [ecx + 4]
push 1
push eax
push esi
call dbg.unsafe_yyjson_val_pool_grow
add esp, 0xc
test al, al
je 0x460d57
mov edx, dword [esi]
jmp 0x460970
mov dword [esp + 0x10], ebx
xor edx, edx
cmp byte [esp], 0
jne 0x460d6e
mov ebx, dword [esp + 0x10]
jmp 0x460994
xor edx, edx
mov al, 1
mov dword [esp + 0xc], eax
jmp 0x460a09
lea eax, [ecx + 4]
push 2
push eax
push ebp
call dbg.unsafe_yyjson_val_pool_grow
mov ecx, dword [esp + 0xc0]
add esp, 0xc
test al, al
je 0x460cc0
mov ebx, dword [ebp]
jmp 0x460c18
add ecx, 4
lea eax, [edi + 1]
push eax
push ecx
mov esi, edx
push edx
call dbg.unsafe_yyjson_str_pool_grow
add esp, 0xc
test al, al
je 0x460dbf
mov edx, esi
mov esi, dword [esi]
jmp 0x460c57
mov dword [ebx + 0x20], 0
jmp 0x460cc0
mov al, 1
mov dword [esp + 0xc], eax
mov dword [esp + 4], edi
jmp 0x460193
mov dword [esp], 0
mov ecx, dword [esp + 0xb4]
mov edi, dword [esp + 4]
jmp 0x460935