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

Disassembly:
push ebp
push edi
push esi
push ebx
mov ebx, edx
sub esp, 0x1cc
mov edx, dword [edx]
mov dword [esp + 0x58], eax
mov eax, dword [eax + 8]
mov dword [esp + 0x20], eax
sub eax, edx
add eax, 1
cmp eax, 2
ja 0x46cb3f
mov esi, dword [esp + 0x58]
mov eax, dword [ebx + 4]
mov esi, dword [esi + 0xc]
mov dword [esp + 0x20], esi
sub esi, eax
add esi, 1
cmp esi, 2
jbe 0x46d4d4
mov eax, dword [esp + 0x1e0]
mov esi, dword [esp + 0x58]
lea ebp, [esp + 0x98]
mov byte [esp + 0x24], 1
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x9c], edx
mov dword [esp + 0x98], eax
mov edx, dword [ecx + 4]
mov eax, dword [ecx]
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa0], eax
mov edx, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [esp + 0xac], edx
mov dword [esp + 0xa8], eax
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
mov dword [esp + 0xb4], edx
mov dword [esp + 0xb0], eax
mov eax, dword [esi]
mov ebx, eax
mov dword [esp + 0x20], eax
mov edi, eax
lea eax, [esp + 0x198]
cmp ebp, eax
jb 0x46cf65
cmp byte [esp + 0x24], 0
je 0x46d070
cmp byte [esi + 0x14], 0
je 0x46cf54
xor ecx, ecx
mov edx, ebx
mov eax, esi
call sym._ft_stroker_subpath_start
test eax, eax
jne 0x46ce56
mov dword [esp + 4], edi
mov dword [esp], ebx
call sym._FT_Angle_Diff
mov ecx, dword [esp + 0x20]
mov dword [esp], edi
mov dword [esp + 0x24], eax
mov dword [esp + 4], ecx
call sym._FT_Angle_Diff
mov dword [esp + 4], edi
mov dword [esp], ebx
mov dword [esp + 0x28], eax
call sym._FT_Angle_Diff
mov edx, eax
mov ecx, dword [esp + 0x20]
mov dword [esp], edi
shr edx, 0x1f
add eax, edx
sar eax, 1
mov dword [esp + 4], ecx
add ebx, eax
mov dword [esp + 0x2c], ebx
call sym._FT_Angle_Diff
mov edx, dword [esp + 0x24]
mov ebx, eax
shr ebx, 0x1f
add ebx, eax
mov eax, edx
sar ebx, 1
shr eax, 0x1f
add edi, ebx
add edx, eax
mov dword [esp + 0x38], edi
sar edx, 1
mov dword [esp], edx
call sym._FT_Cos
mov dword [esp + 4], eax
mov eax, dword [esi + 0x3c]
mov dword [esp], eax
call sym._FT_DivFix
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x30], eax
mov eax, ecx
shr eax, 0x1f
add eax, ecx
sar eax, 1
mov dword [esp], eax
call sym._FT_Cos
mov dword [esp + 4], eax
mov eax, dword [esi + 0x3c]
mov dword [esp], eax
call sym._FT_DivFix
cmp byte [esi + 0x28], 0
mov dword [esp + 0x34], eax
jne 0x46d0c0
mov eax, dword [ebp + 4]
mov ebx, dword [ebp]
mov dword [esp + 0x44], 0
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
xor ecx, ecx
lea edi, [esi + 0x40]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x24], ebx
mov esi, ecx
add eax, 0x5a0000
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x38]
add eax, 0x5a0000
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x20]
add eax, 0x5a0000
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x3c]
add eax, esi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
lea eax, [esp + 0x70]
mov dword [esp], eax
call sym._FT_Vector_From_Polar
mov eax, dword [ebp + 0x10]
add dword [esp + 0x70], eax
mov eax, dword [ebp + 0x14]
add dword [esp + 0x74], eax
mov eax, dword [esp + 0x40]
add eax, esi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
lea eax, [esp + 0x78]
mov dword [esp], eax
call sym._FT_Vector_From_Polar
mov eax, dword [ebp + 8]
add dword [esp + 0x78], eax
lea edx, [esp + 0x80]
mov eax, dword [ebp + 0xc]
add dword [esp + 0x7c], eax
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x2c]
add eax, esi
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x3c]
mov dword [esp], edx
mov dword [esp + 4], eax
call sym._FT_Vector_From_Polar
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
add eax, dword [esp + 0x80]
add edx, dword [esp + 0x84]
cmp byte [ebx + 0x28], 0
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
je 0x46cdd4
mov ebx, dword [edi]
mov ecx, dword [edi + 8]
lea ecx, [ecx + ebx*8 - 8]
mov ebx, dword [ecx]
mov ecx, dword [ecx + 4]
sub eax, ebx
sub edx, ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [esp + 0x4c], ebx
call sym._FT_Atan2
mov dword [esp + 0x50], eax
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call sym._FT_Angle_Diff
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x5a0000
jg 0x46d0f0
mov eax, dword [edi]
mov edx, dword [edi + 4]
mov dword [esp + 0x90], 0
lea ecx, [eax + 3]
cmp ecx, edx
jbe 0x46cea2
mov eax, dword [edi + 0x18]
mov ebx, edx
mov dword [esp + 0x28], eax
nop
lea esi, [esi]
mov eax, ebx
shr eax, 1
lea ebx, [ebx + eax + 0x10]
cmp ecx, ebx
ja 0x46ce00
lea eax, [esp + 0x90]
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], eax
mov eax, dword [edi + 8]
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 4], 8
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call sym._ft_mem_realloc
mov dword [edi + 8], eax
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x24]
test eax, eax
je 0x46ce61
mov esi, edi
mov byte [esi + 0x10], 0
add esp, 0x1cc
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [esp + 0x90]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edx
mov dword [esp + 4], 1
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call sym._ft_mem_realloc
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x90]
test eax, eax
jne 0x46ce50
mov eax, dword [edi]
mov dword [edi + 4], ebx
mov edx, dword [edi + 8]
mov ebx, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
lea edx, [edx + eax*8]
add eax, dword [edi + 0xc]
mov dword [edx], ecx
mov dword [edx + 4], ebx
mov ebx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
mov dword [edx + 0xc], ebx
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x80]
mov ebx, dword [esp + 0x84]
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], ebx
mov byte [eax], 2
mov byte [eax + 1], 2
mov byte [eax + 2], 1
add dword [edi], 3
mov byte [edi + 0x10], 0
sub esi, 0xb40000
cmp esi, 0xfe980000
je 0x46cf10
mov eax, dword [ebp]
add edi, 0x20
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 4]
mov dword [esp + 0x28], eax
jmp 0x46cce4
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
sub ebp, 0x18
mov byte [esp + 0x24], 0
mov dword [esi], eax
lea eax, [esp + 0x98]
cmp ebp, eax
jae 0x46cba3
mov eax, dword [esp + 0x1e0]
mov esi, dword [esp + 0x58]
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esi + 0xc], edx
mov dword [esi + 8], eax
add esp, 0x1cc
pop ebx
xor eax, eax
pop esi
pop edi
pop ebp
ret
mov dword [esi + 4], ebx
xor edx, edx
mov eax, esi
call sym._ft_stroker_process_corner
jmp 0x46cbdc
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x1c]
mov ebx, eax
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], eax
sub ebx, edi
mov edi, dword [ebp + 0x14]
mov dword [esp + 0x50], ecx
mov edx, edi
mov dword [esp + 0x4c], edi
mov edi, ecx
mov ecx, edx
sub ecx, edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x38], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x28], edi
sub edi, eax
mov eax, ecx
mov dword [esp + 0x2c], ecx
sub eax, edx
mov edx, dword [ebp]
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0x54], edx
sub edx, dword [esp + 0x28]
mov dword [esp + 0x30], edx
mov edx, dword [ebp + 4]
mov dword [esp + 0x5c], edx
sub edx, dword [esp + 0x2c]
mov dword [esp + 0x40], edx
lea edx, [ebx + 1]
cmp edx, 2
ja 0x46cfe1
mov eax, dword [esp + 0x38]
add eax, 1
cmp eax, 2
setbe al
movzx eax, al
lea ecx, [edi + 1]
xor edx, edx
cmp ecx, 2
ja 0x46cffb
mov ecx, dword [esp + 0x3c]
lea edx, [ecx + 1]
cmp edx, 2
setbe dl
movzx edx, dl
mov ecx, dword [esp + 0x30]
add ecx, 1
mov dword [esp + 0x34], ecx
xor ecx, ecx
cmp dword [esp + 0x34], 2
ja 0x46d01f
mov ecx, dword [esp + 0x40]
add ecx, 1
cmp ecx, 2
setbe cl
movzx ecx, cl
test eax, eax
je 0x46d2e0
test edx, edx
jne 0x46d4a5
mov eax, dword [esp + 0x3c]
test ecx, ecx
mov dword [esp], edi
mov dword [esp + 4], eax
jne 0x46d58b
call sym._FT_Atan2
mov edi, eax
mov eax, dword [esp + 0x40]
mov ebx, edi
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call sym._FT_Atan2
mov dword [esp + 0x20], eax
jmp 0x46d330
mov dword [esp + 4], ebx
mov eax, dword [esi]
mov dword [esp], eax
call sym._FT_Angle_Diff
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x5a000
jle 0x46cbe4
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x1c]
mov dword [esi + 4], ebx
mov dword [esi + 0x30], 0
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
mov eax, esi
xor edx, edx
call sym._ft_stroker_process_corner
mov edx, dword [esi + 0x34]
mov dword [esi + 0x30], edx
jmp 0x46cbdc
mov eax, dword [ebp + 4]
mov ebx, dword [ebp]
mov dword [esp + 0x28], eax
sub eax, dword [ebp + 0x1c]
mov dword [esp + 4], eax
mov eax, ebx
sub eax, dword [ebp + 0x18]
mov dword [esp], eax
call sym._FT_Atan2
mov dword [esp + 0x44], eax
jmp 0x46ccae
mov eax, dword [ebp + 0x1c]
sub eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x18]
sub eax, dword [esp + 0x4c]
mov dword [esp], eax
call sym._FT_Atan2
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x54], eax
sub ebx, dword [esp + 0x80]
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x84]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._FT_Atan2
mov ebx, eax
mov eax, dword [esp + 0x80]
sub eax, dword [esp + 0x4c]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x84]
sub eax, dword [esp + 0x48]
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x88]
mov dword [esp], eax
call sym._FT_Vector_Length
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x50]
sub eax, ebx
mov dword [esp], eax
call sym._FT_Sin
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x54]
sub eax, ebx
mov dword [esp], eax
call sym._FT_Sin
mov ecx, dword [esp + 0x28]
cdq
xor eax, edx
sub eax, edx
mov dword [esp + 8], eax
mov eax, ecx
mov edx, ecx
sar eax, 0x1f
xor edx, eax
sub edx, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._FT_MulDiv
mov ebx, dword [esp + 0x54]
mov dword [esp + 4], eax
lea eax, [esp + 0x90]
mov dword [esp], eax
mov dword [esp + 8], ebx
call sym._FT_Vector_From_Polar
mov edx, dword [esp + 0x4c]
add dword [esp + 0x90], edx
lea edx, [esp + 0x90]
mov ecx, dword [esp + 0x48]
mov byte [edi + 0x10], 0
mov eax, edi
add dword [esp + 0x94], ecx
xor ecx, ecx
call sym._ft_stroke_border_lineto
test eax, eax
jne 0x46ce56
lea edx, [esp + 0x80]
xor ecx, ecx
mov eax, edi
call sym._ft_stroke_border_lineto
test eax, eax
jne 0x46ce56
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [esp + 0x6c], 0
lea edx, [ecx + 3]
mov dword [esp + 0x24], eax
cmp eax, edx
jae 0x46d522
mov ecx, dword [edi + 0x18]
mov ebx, eax
mov esi, esi
lea edi, [edi]
mov eax, ebx
shr eax, 1
lea ebx, [ebx + eax + 0x10]
cmp edx, ebx
ja 0x46d240
lea edx, [esp + 0x6c]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x14], edx
mov eax, dword [edi + 8]
mov dword [esp], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 4], 8
mov dword [esp + 0x50], edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 8], eax
call sym._ft_mem_realloc
mov dword [edi + 8], eax
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x50]
test eax, eax
jne 0x46ce50
mov dword [esp + 0x14], edx
mov eax, dword [edi + 0xc]
mov dword [esp + 0xc], ebx
mov dword [esp + 4], 1
mov dword [esp], ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 8], eax
call sym._ft_mem_realloc
mov edx, dword [esp + 0x6c]
mov dword [edi + 0xc], eax
test edx, edx
jne 0x46d59d
mov dword [edi + 4], ebx
mov ecx, dword [edi]
jmp 0x46d525
mov eax, dword [esp + 0x38]
test edx, edx
mov dword [esp], ebx
mov dword [esp + 4], eax
jne 0x46d461
test ecx, ecx
jne 0x46d5a6
call sym._FT_Atan2
mov ebx, eax
mov eax, dword [esp + 0x3c]
mov dword [esp], edi
mov dword [esp + 4], eax
call sym._FT_Atan2
mov edi, eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call sym._FT_Atan2
mov dword [esp + 0x20], eax
lea esi, [esi]
mov dword [esp + 4], edi
mov dword [esp], ebx
call sym._FT_Angle_Diff
mov ecx, dword [esp + 0x20]
mov dword [esp], edi
mov dword [esp + 0x30], eax
mov dword [esp + 4], ecx
call sym._FT_Angle_Diff
mov ecx, eax
mov edx, eax
sar ecx, 0x1f
xor edx, ecx
sub edx, ecx
cmp edx, 0x167fff
jg 0x46d37c
mov edx, dword [esp + 0x30]
mov eax, edx
sar eax, 0x1f
xor edx, eax
sub edx, eax
cmp edx, 0x167fff
jle 0x46cbbc
cmp byte [esi + 0x14], 0
je 0x46d384
mov dword [esi], ebx
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x54]
mov edi, dword [esp + 0x48]
add eax, ebx
mov edx, eax
mov dword [ebp + 0x30], edi
shr edx, 0x1f
add eax, edx
mov edx, edi
mov edi, dword [esp + 0x44]
sar eax, 1
mov dword [ebp + 8], eax
add edx, edi
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, edi
mov edi, dword [esp + 0x50]
add ecx, ebx
sar edx, 1
mov ebx, ecx
mov dword [ebp + 0x28], edx
shr ebx, 0x1f
mov dword [ebp + 0x34], edi
add ecx, ebx
sar ecx, 1
add eax, ecx
add edx, ecx
mov ebx, eax
mov ecx, edx
shr ebx, 0x1f
shr ecx, 0x1f
add eax, ebx
add ecx, edx
mov ebx, dword [esp + 0x2c]
sar ecx, 1
sar eax, 1
mov dword [ebp + 0x10], eax
add eax, ecx
mov dword [ebp + 0x20], ecx
mov edx, eax
shr edx, 0x1f
add eax, edx
sar eax, 1
mov dword [ebp + 0x18], eax
mov eax, dword [esp + 0x5c]
add eax, ebx
mov edx, eax
shr edx, 0x1f
add eax, edx
mov edx, edi
mov edi, dword [esp + 0x4c]
sar eax, 1
mov dword [ebp + 0xc], eax
add edx, edi
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, edx
mov edx, edi
add edx, ebx
sar ecx, 1
mov ebx, edx
mov dword [ebp + 0x2c], ecx
shr ebx, 0x1f
add ebp, 0x18
add edx, ebx
sar edx, 1
add eax, edx
add edx, ecx
mov ebx, eax
shr ebx, 0x1f
add eax, ebx
sar eax, 1
mov ebx, eax
mov dword [ebp - 4], eax
mov eax, edx
shr eax, 0x1f
add eax, edx
sar eax, 1
mov dword [ebp + 0xc], eax
lea eax, [ebx + eax]
mov edx, eax
shr edx, 0x1f
add eax, edx
sar eax, 1
mov dword [ebp + 4], eax
jmp 0x46cf22
test ecx, ecx
jne 0x46d58b
call sym._FT_Atan2
mov ebx, eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call sym._FT_Atan2
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 0x20], eax
call sym._FT_Angle_Diff
mov edx, eax
shr edx, 0x1f
add eax, edx
sar eax, 1
lea edi, [ebx + eax]
jmp 0x46d330
mov ebx, dword [esp + 0x20]
test ecx, ecx
mov edi, ebx
jne 0x46d330
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call sym._FT_Atan2
mov ebx, eax
mov dword [esp + 0x20], eax
mov edi, eax
jmp 0x46d330
mov esi, dword [ecx]
sub edx, esi
add edx, 1
cmp edx, 2
ja 0x46cb3f
mov edx, dword [ecx + 4]
sub eax, edx
add eax, 1
cmp eax, 2
ja 0x46cb3f
mov edi, dword [esp + 0x1e0]
mov eax, esi
sub eax, dword [edi]
add eax, 1
cmp eax, 2
ja 0x46cb3f
mov eax, edx
sub eax, dword [edi + 4]
add eax, 1
cmp eax, 2
ja 0x46cb3f
jmp 0x46cf31
mov eax, dword [edi + 0xc]
mov edx, dword [edi + 8]
mov ebx, dword [esp + 0x7c]
add eax, ecx
lea edx, [edx + ecx*8]
mov ecx, dword [esp + 0x78]
mov dword [edx + 4], ebx
mov dword [edx], ecx
mov ecx, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x4c]
mov dword [edx + 0xc], ebx
mov dword [edx + 0x10], ecx
mov ecx, dword [esp + 0x48]
mov dword [edx + 0x14], ecx
mov byte [eax], 2
lea edx, [esp + 0x80]
mov byte [eax + 1], 2
mov byte [eax + 2], 1
xor ecx, ecx
add dword [edi], 3
mov byte [edi + 0x10], 0
mov eax, edi
call sym._ft_stroke_border_lineto
test eax, eax
je 0x46ceec
add esp, 0x1cc
pop ebx
pop esi
pop edi
pop ebp
ret
call sym._FT_Atan2
mov ebx, eax
mov dword [esp + 0x20], eax
mov edi, eax
jmp 0x46d330
mov esi, edi
mov eax, edx
jmp 0x46ce52
call sym._FT_Atan2
mov ebx, eax
mov eax, dword [esp + 0x3c]
mov dword [esp], edi
mov dword [esp + 4], eax
call sym._FT_Atan2
mov dword [esp + 0x20], eax
mov edi, eax
jmp 0x46d330