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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, dword [0x748068]
xor eax, esp
mov dword [esp + 0xa4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x24], ecx
call fcn.00577620
mov ecx, dword [esi]
mov dword [esi], eax
test ecx, ecx
je 0x59d4f7
lea eax, [ecx + 4]
or edx, 0xffffffff
lock xadd dword [eax], edx
cmp edx, 1
jne 0x59d4f7
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esi + 4], 0xffffffff
lea eax, [esi + 0xa]
mov word [esi + 8], 0
mov cl, 2
xchg byte [eax], cl
mov edx, dword [esp + 0x24]
xorps xmm6, xmm6
movss xmm1, dword [edx]
mulss xmm1, dword [0x6f2b28]
comiss xmm6, xmm1
movss dword [esp + 0x14], xmm1
jae 0x59d8b8
movss xmm0, dword [edi + 0xc]
xor ecx, ecx
subss xmm0, dword [edi + 4]
comiss xmm6, xmm0
movss xmm0, dword [edi + 8]
subss xmm0, dword [edi]
seta cl
xor eax, eax
comiss xmm6, xmm0
seta al
cmp ecx, eax
je 0x59d560
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax*4 + 0x6edc80]
jmp 0x59d563
mov ecx, dword [ebp + 0x10]
movups xmm4, xmmword [edi]
mov dword [esp + 8], ecx
movaps xmm2, xmm4
shufps xmm2, xmm4, 0xaa
comiss xmm4, xmm2
movups xmmword [esp + 0x40], xmm4
movups xmmword [esp + 0x30], xmm4
movaps xmmword [esp + 0x50], xmm2
jbe 0x59d598
movaps xmm0, xmm4
movaps xmm4, xmm2
movaps xmm2, xmm0
movups xmmword [esp + 0x40], xmm4
movaps xmmword [esp + 0x50], xmm2
movss xmm5, dword [esp + 0x34]
movss xmm3, dword [esp + 0x3c]
comiss xmm5, xmm3
movss dword [esp + 0xc], xmm5
movss dword [esp + 0x10], xmm3
jbe 0x59d5ca
movaps xmm0, xmm5
movaps xmm5, xmm3
movaps xmm3, xmm0
movss dword [esp + 0xc], xmm5
movss dword [esp + 0x10], xmm3
movaps xmm0, xmm2
movzx eax, byte [edx + 0xd]
subss xmm0, xmm4
movaps xmm6, xmm5
movss dword [esp + 0x28], xmm0
movaps xmm0, xmm3
subss xmm0, xmm5
movss dword [esp + 0x2c], xmm0
movaps xmm0, xmm1
xorps xmm0, xmmword [0x6f3380]
addss xmm6, xmm0
movaps xmm7, xmm0
addss xmm7, xmm4
movss dword [esp + 0x20], xmm6
movss dword [esp + 0x34], xmm6
movaps xmm6, xmm2
movss dword [esp + 0x30], xmm7
subss xmm6, xmm0
movss dword [esp + 0x1c], xmm6
movss dword [esp + 0x38], xmm6
movaps xmm6, xmm3
subss xmm6, xmm0
movss dword [esp + 0x18], xmm6
movss dword [esp + 0x3c], xmm6
xorps xmm6, xmm6
test eax, eax
jne 0x59d653
movss xmm0, dword [0x6f2b78]
mov edi, 2
comiss xmm0, dword [edx + 4]
cmova eax, edi
sub eax, 0
je 0x59d82d
sub eax, 1
je 0x59d7c6
sub eax, 1
jne 0x59d86c
movss xmm0, dword [esp + 0x20]
test ecx, ecx
jne 0x59d71e
movss dword [esp + 0x6c], xmm0
lea eax, [esp + 0x68]
movss dword [esp + 0x74], xmm0
mov ecx, esi
movss xmm0, dword [esp + 0x1c]
push 1
movss dword [esp + 0x7c], xmm0
movss dword [esp + 0x84], xmm0
movss xmm0, dword [esp + 0x1c]
push 8
push eax
movss dword [esp + 0x74], xmm4
movss dword [esp + 0x7c], xmm2
movss dword [esp + 0x88], xmm5
movss dword [esp + 0x90], xmm3
movss dword [esp + 0x94], xmm2
movss dword [esp + 0x98], xmm0
movss dword [esp + 0x9c], xmm4
movss dword [esp + 0xa0], xmm0
movss dword [esp + 0xa4], xmm7
movss dword [esp + 0xa8], xmm3
movss dword [esp + 0xac], xmm7
movss dword [esp + 0xb0], xmm5
call fcn.00549b40
jmp 0x59d850
movss dword [esp + 0xa4], xmm0
lea eax, [esp + 0x68]
movss dword [esp + 0x9c], xmm0
mov ecx, esi
movss xmm0, dword [esp + 0x1c]
push 1
movss dword [esp + 0x94], xmm0
movss dword [esp + 0x8c], xmm0
movss xmm0, dword [esp + 0x1c]
push 8
push eax
movss dword [esp + 0xac], xmm4
movss dword [esp + 0xa4], xmm2
movss dword [esp + 0xa0], xmm5
movss dword [esp + 0x98], xmm3
movss dword [esp + 0x8c], xmm2
movss dword [esp + 0x90], xmm0
movss dword [esp + 0x84], xmm4
movss dword [esp + 0x88], xmm0
movss dword [esp + 0x7c], xmm7
movss dword [esp + 0x80], xmm3
movss dword [esp + 0x74], xmm7
movss dword [esp + 0x78], xmm5
call fcn.00549b40
jmp 0x59d850
comiss xmm6, xmm1
ja 0x59d80e
lea eax, [esp + 0x30]
movaps xmm3, xmm1
push eax
movaps xmm2, xmm1
lea ecx, [esp + 0x6c]
call fcn.005760a0
mov edi, dword [esp + 8]
lea eax, [esp + 0x68]
push edi
push eax
mov ecx, esi
call fcn.00549ee0
movss xmm1, dword [esp + 0x14]
movups xmm4, xmmword [esp + 0x40]
movaps xmm2, xmmword [esp + 0x50]
movss xmm5, dword [esp + 0xc]
movss xmm3, dword [esp + 0x10]
jmp 0x59d870
cvtps2pd xmm0, xmm1
sub esp, 0x10
unpcklpd xmm0, xmm0
movups xmmword [esp], xmm0
push str.I_got__f_and__f_as_radii_to_SkPath::AddRoundRect__but_negative_radii_are_not_allowed.
push 1
call fcn.00575a60
add esp, 0x18
jmp 0x59d850
movss xmm0, dword [esp + 0x18]
movaps xmm1, xmm7
movss xmm3, dword [esp + 0x1c]
movss xmm2, dword [esp + 0x20]
push ecx
push ecx
mov ecx, esi
movss dword [esp], xmm0
call fcn.00549990
movss xmm3, dword [esp + 0x10]
movss xmm5, dword [esp + 0xc]
movaps xmm2, xmmword [esp + 0x50]
movups xmm4, xmmword [esp + 0x40]
movss xmm1, dword [esp + 0x14]
mov edi, dword [esp + 8]
movss xmm0, dword [esp + 0x28]
minss xmm0, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
comiss xmm0, dword [eax]
jbe 0x59d8b8
cmp byte [eax + 0xe], 0
jne 0x59d8b8
push dword [edi*4 + 0x6edc80]
subss xmm3, xmm1
subss xmm2, xmm1
addss xmm5, xmm1
addss xmm4, xmm1
push ecx
movss dword [esp], xmm3
mov ecx, esi
movaps xmm3, xmm2
movaps xmm2, xmm5
movaps xmm1, xmm4
call fcn.00549990
mov ecx, dword [esp + 0xac]
pop edi
pop esi
xor ecx, esp
call fcn.0064fb08
mov esp, ebp
pop ebp
ret 0xc