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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x54
mov ebx, dword [esp + 0x70]
mov eax, dword [0x5052b0]
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], eax
lea eax, [esp + 0x10]
push eax
call dbg.ffDetectFontImpl
add esp, 4
mov esi, eax
test eax, eax
jne 0x43b548
cmp dword [esp + 0x14], 0
jne 0x43b6d8
cmp dword [esp + 0x20], 0
jne 0x43b6d8
cmp dword [esp + 0x2c], 0
jne 0x43b6d8
mov esi, str.No_fonts_found
cmp dword [esp + 0x38], 0
jne 0x43b6d8
cmp dword [esp + 0x6c], 0
je 0x43b5fd
test ebx, ebx
je 0x43b5fd
mov eax, dword [ebx]
not eax
test al, 7
jne 0x43b5fd
mov ecx, dword [esp + 0x6c]
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 0x43b8af
lea eax, [edi + 0x30]
mov dword [ebp], eax
test edi, edi
je 0x43b5fd
mov ebp, dword [ebx + 1]
lea eax, [edi + 0x18]
mov dword [esp], eax
mov dword [edi + 4], 0
mov dword [edi], 0x50d
mov dword [edi + 8], 0x4f3c91
push esi
call sym._strlen
add esp, 4
mov ecx, eax
shr ecx, 0x18
shl eax, 8
or eax, 5
mov dword [edi + 0x1c], ecx
mov dword [edi + 0x18], eax
mov dword [edi + 0x20], esi
mov eax, edi
test ebp, ebp
je 0x43b5de
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx + 0x10]
mov dword [ecx + 0x10], edi
mov dword [edi + 0x28], eax
mov eax, dword [esp]
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
cmp dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
je 0x43b620
mov dword [esp + 0x40], 0
push dword [esp + 0x48]
call sym._free
add esp, 4
mov eax, dword [0x5052b0]
mov dword [esp + 0x48], eax
cmp dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
je 0x43b651
mov dword [esp + 0x10], 0
push dword [esp + 0x18]
call sym._free
add esp, 4
mov eax, dword [0x5052b0]
mov dword [esp + 0x18], eax
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
je 0x43b67d
mov dword [esp + 0x1c], 0
push dword [esp + 0x24]
call sym._free
add esp, 4
mov eax, dword [0x5052b0]
mov dword [esp + 0x24], eax
cmp dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
je 0x43b6a9
mov dword [esp + 0x28], 0
push dword [esp + 0x30]
call sym._free
add esp, 4
mov eax, dword [0x5052b0]
mov dword [esp + 0x30], eax
cmp dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
je 0x43b6d0
mov dword [esp + 0x34], 0
push dword [esp + 0x3c]
call sym._free
add esp, 4
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret
xor edi, edi
mov ebp, 0
mov esi, 0
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x43b744
lea edi, [ecx + 0x28]
mov ebp, dword [ecx + 0x28]
cmp dword [ecx + 0x2c], ebp
je 0x43b8ce
lea esi, [ebp + 0x18]
mov dword [edi], esi
test ebp, ebp
je 0x43b8ef
mov dword [ebp + 4], 0
mov dword [ebp], 0x60d
mov dword [ebp + 8], 0x4f3c97
mov esi, dword [edi]
cmp dword [ecx + 0x2c], esi
je 0x43b8fa
lea eax, [esi + 0x18]
mov dword [edi], eax
test esi, esi
je 0x43b914
mov dword [esi + 4], 0
mov dword [esi], 7
xor edi, edi
mov dl, 1
test ebx, ebx
je 0x43b981
xor edi, edi
test ebp, ebp
je 0x43b981
mov ecx, dword [ebx]
mov eax, ecx
and eax, 7
cmp eax, 7
jne 0x43b981
xor edi, edi
test esi, esi
je 0x43b981
mov eax, dword [ebp]
and eax, 7
cmp eax, 5
jne 0x43b981
mov eax, dword [ebx + 4]
shld eax, ecx, 0x18
mov ecx, ebp
je 0x43b798
mov ecx, dword [ebx + 8]
mov edx, dword [ecx + 0x10]
mov ecx, dword [edx + 0x10]
mov dword [edx + 0x10], ebp
mov dword [esi + 0x10], ecx
mov dword [ebp + 0x10], esi
inc eax
movzx ecx, byte [ebx]
mov edx, eax
shr edx, 0x18
shl eax, 8
or eax, ecx
mov dword [ebx + 8], ebp
mov dword [ebx + 4], edx
mov dword [ebx], eax
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x43b97d
mov edx, dword [esp + 0x48]
test edx, edx
je 0x43b97d
mov dword [esp], esi
mov eax, dword [esi]
not eax
test al, 7
jne 0x43b976
mov ebx, dword [esp + 0x44]
lea edi, [ecx + 0x28]
mov ebp, dword [ecx + 0x28]
mov eax, dword [ecx + 0x2c]
sub eax, ebp
sar eax, 3
imul eax, eax, 0xaaaaaaab
cmp eax, 1
jbe 0x43b91b
lea eax, [ebp + 0x30]
mov dword [edi], eax
test ebp, ebp
je 0x43b976
mov eax, dword [esp]
mov edi, dword [eax + 1]
mov dword [ebp + 4], 0
mov dword [ebp], 0x70d
mov dword [ebp + 8], str.display
lea eax, [ecx + 0x14]
mov dword [esp + 8], eax
mov esi, dword [ecx + 0x14]
mov eax, dword [ecx + 0x18]
sub eax, esi
cmp eax, ebx
jbe 0x43b93d
lea eax, [esi + ebx]
inc eax
mov ecx, dword [esp + 8]
mov dword [ecx], eax
test esi, esi
je 0x43b964
push ebx
push edx
push esi
call sym._memcpy
add esp, 0xc
mov byte [esi + ebx], 0
lea eax, [ebp + 0x18]
mov dword [ebp + 0x20], esi
mov ecx, ebx
shr ecx, 0x18
shl ebx, 8
or ebx, 5
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x1c], ecx
mov ecx, ebp
test edi, edi
mov ebx, dword [esp]
je 0x43b888
mov ecx, dword [ebx + 8]
mov edx, dword [ecx + 0x10]
mov ecx, dword [edx + 0x10]
mov dword [edx + 0x10], ebp
mov dword [ebp + 0x28], ecx
mov dword [ebp + 0x10], eax
mov dword [ebx + 8], ebp
inc edi
movzx eax, byte [ebx]
mov ecx, edi
shr ecx, 0x18
shl edi, 8
or edi, eax
mov dword [ebx + 4], ecx
mov dword [ebx], edi
xor edx, edx
mov ecx, dword [esp + 0x6c]
jmp 0x43b98f
add ecx, 4
push 2
push ecx
push ebp
call dbg.unsafe_yyjson_val_pool_grow
add esp, 0xc
test al, al
je 0x43b5fd
mov edi, dword [ebp]
jmp 0x43b588
lea eax, [ecx + 4]
push 1
push eax
push edi
call dbg.unsafe_yyjson_val_pool_grow
mov ecx, dword [esp + 0x78]
add esp, 0xc
mov esi, dword [ecx + 0x28]
test al, al
je 0x43b8ef
mov ebp, esi
jmp 0x43b6fb
xor ebp, ebp
cmp dword [ecx + 0x2c], esi
jne 0x43b728
lea eax, [ecx + 4]
push 1
push eax
push edi
call dbg.unsafe_yyjson_val_pool_grow
add esp, 0xc
test al, al
je 0x43b914
mov esi, dword [edi]
jmp 0x43b728
xor esi, esi
jmp 0x43b742
mov esi, edx
lea eax, [ecx + 4]
push 2
push eax
push edi
call dbg.unsafe_yyjson_val_pool_grow
add esp, 0xc
test al, al
je 0x43b96b
mov ebp, dword [edi]
mov ecx, dword [esp + 0x6c]
mov edx, esi
jmp 0x43b7fc
lea eax, [ecx + 4]
lea ecx, [ebx + 1]
push ecx
push eax
push dword [esp + 0x10]
mov esi, edx
call dbg.unsafe_yyjson_str_pool_grow
add esp, 0xc
test al, al
je 0x43b964
mov edx, esi
mov eax, dword [esp + 8]
mov esi, dword [eax]
jmp 0x43b83b
mov dword [ebp + 0x20], 0
xor edx, edx
mov ecx, dword [esp + 0x6c]
mov ebx, dword [esp]
jmp 0x43b98f
xor edx, edx
mov ebx, dword [esp]
jmp 0x43b98f
mov edi, esi
xor edx, edx
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x43bbcf
mov ebx, edi
lea edi, [ecx + 0x28]
mov ebp, dword [ecx + 0x28]
cmp dword [ecx + 0x2c], ebp
je 0x43bbe9
lea ecx, [ebp + 0x18]
mov dword [edi], ecx
test ebp, ebp
je 0x43bc30
mov dword [ebp + 4], 0
mov dword [ebp], 0x50d
mov dword [ebp + 8], str.fonts
mov ecx, dword [edi]
mov eax, dword [esp + 0x6c]
cmp dword [eax + 0x2c], ecx
je 0x43bc0e
lea eax, [ecx + 0x18]
mov dword [edi], eax
test ecx, ecx
je 0x43bc2c
mov dword [ecx + 4], 0
mov dword [ecx], 6
test dl, dl
jne 0x43bc37
mov dword [esp], 0
test ebp, ebp
je 0x43ba54
mov edx, dword [ebx]
mov eax, edx
and eax, 7
cmp eax, 7
jne 0x43ba54
mov dword [esp], 0
test ecx, ecx
je 0x43ba54
mov eax, dword [ebp]
and eax, 7
cmp eax, 5
jne 0x43ba54
mov eax, dword [ebx + 4]
shld eax, edx, 0x18
mov edx, ebp
je 0x43ba35
mov edx, dword [ebx + 8]
mov esi, dword [edx + 0x10]
mov edx, dword [esi + 0x10]
mov dword [esi + 0x10], ebp
mov dword [ecx + 0x10], edx
mov dword [ebp + 0x10], ecx
mov dword [ebx + 8], ebp
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 dword [esp], ecx
mov ecx, dword [esp + 0x6c]
test ecx, ecx
sete al
mov edx, dword [esp]
test edx, edx
sete ah
or ah, al
mov byte [esp + 7], ah
lea eax, [ecx + 0x28]
mov dword [esp + 0x50], eax
lea eax, [ecx + 4]
mov dword [esp + 0x4c], eax
lea eax, [ecx + 0x14]
mov dword [esp + 0xc], eax
mov esi, 8
nop word cs:[eax + eax]
cmp byte [esp + 7], 0
jne 0x43bb68
mov eax, dword [esp + esi + 0x10]
mov dword [esp + 8], eax
test eax, eax
je 0x43bb68
mov eax, dword [edx]
and eax, 7
cmp eax, 6
jne 0x43bb68
mov edi, dword [esp + esi + 0xc]
mov ecx, dword [esp + 0x6c]
mov ebp, dword [ecx + 0x28]
cmp dword [ecx + 0x2c], ebp
mov ebx, dword [esp + 0x50]
je 0x43bb79
lea eax, [ebp + 0x18]
mov dword [ebx], eax
mov ebx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x18]
sub eax, ebx
cmp eax, edi
jbe 0x43bb9a
lea eax, [ebx + edi]
inc eax
mov ecx, dword [esp + 0xc]
mov dword [ecx], eax
test ebx, ebx
je 0x43bb68
push edi
push dword [esp + 0xc]
push ebx
call sym._memcpy
mov edx, dword [esp + 0xc]
add esp, 0xc
mov byte [ebx + edi], 0
test ebp, ebp
je 0x43bb68
mov eax, edi
shr eax, 0x18
shl edi, 8
or edi, 5
mov dword [ebp + 4], eax
mov dword [ebp], edi
mov dword [ebp + 8], ebx
mov ecx, dword [edx]
mov eax, ecx
and eax, 7
cmp eax, 6
jne 0x43bb68
mov eax, dword [edx + 4]
shld eax, ecx, 0x18
lea edx, [eax + 1]
movzx ecx, cl
mov edi, edx
shr edi, 0x18
shl edx, 8
or edx, ecx
mov ecx, dword [esp]
mov dword [ecx + 4], edi
mov ecx, dword [esp]
mov dword [ecx], edx
mov edx, dword [esp]
mov ecx, ebp
test eax, eax
je 0x43bb62
mov eax, dword [edx + 8]
mov ecx, dword [eax + 0x10]
mov dword [eax + 0x10], ebp
mov dword [ebp + 0x10], ecx
mov dword [edx + 8], ebp
add esi, 0xc
cmp esi, 0x38
jne 0x43ba90
jmp 0x43b5fd
push 1
push dword [esp + 0x50]
push ebx
call dbg.unsafe_yyjson_val_pool_grow
add esp, 0xc
test al, al
je 0x43bbc1
mov ebp, dword [ebx]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp]
jmp 0x43bad1
lea eax, [edi + 1]
push eax
push dword [esp + 0x50]
push dword [esp + 0x14]
call dbg.unsafe_yyjson_str_pool_grow
mov edx, dword [esp + 0xc]
add esp, 0xc
test al, al
je 0x43bb68
mov eax, dword [esp + 0xc]
mov ebx, dword [eax]
jmp 0x43bae6
xor ebp, ebp
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp]
jmp 0x43bad6
xor ebp, ebp
xor ecx, ecx
mov ebx, edi
mov dword [esp], 0
test dl, dl
je 0x43b9f1
jmp 0x43ba54
mov esi, edx
mov ebp, dword [esp + 0x6c]
lea eax, [ebp + 4]
push 1
push eax
push edi
call dbg.unsafe_yyjson_val_pool_grow
add esp, 0xc
mov ecx, dword [ebp + 0x28]
test al, al
je 0x43bc43
mov ebp, ecx
mov edx, esi
jmp 0x43b99e
mov esi, edx
add eax, 4
push 1
push eax
push edi
call dbg.unsafe_yyjson_val_pool_grow
add esp, 0xc
test al, al
je 0x43bc4c
mov ecx, dword [edi]
mov edx, esi
jmp 0x43b9cf
mov edi, ebx
jmp 0x43bbd1
xor ebp, ebp
jmp 0x43b9c2
mov dword [esp], 0
jmp 0x43ba54
xor ebp, ebp
mov edx, esi
jmp 0x43b9c2
mov edi, ebx
mov edx, esi
jmp 0x43bbd1