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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x5221eb
push rbp
mov rbp, rsp
sub rsp, 0x78
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rbx
movups xmmword [rsp + 0x50], xmm15
mov rcx, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x88]
lea rsi, [0x00593d00]
nop
cmp rdx, rsi
je 0x521f67
jmp 0x521f7d
movzx edx, byte [rcx]
movzx esi, byte [rcx + 1]
movzx edi, byte [rcx + 2]
movzx ecx, byte [rcx + 3]
mov eax, 1
jmp 0x521f89
xor esi, esi
xor edi, edi
xor ecx, ecx
xor edx, edx
xor eax, eax
jmp 0x521f89
mov byte [rsp + 0x1c], dl
mov byte [rsp + 0x1d], sil
mov byte [rsp + 0x1e], dil
mov byte [rsp + 0x1f], cl
mov byte [rsp + 0x1b], al
movzx edx, byte [rsp + 0x1c]
mov byte [rsp + 0x13], dl
mov byte [rsp + 0x14], sil
mov byte [rsp + 0x15], dil
mov byte [rsp + 0x16], cl
movzx ecx, byte [rsp + 0x1b]
mov byte [rsp + 0x12], cl
mov byte [rsp + 0x11], cl
test cl, cl
jne 0x521fc9
jmp 0x521fe9
mov rax, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x90]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rbx
add rsp, 0x78
pop rbp
ret
mov rcx, qword [rsp + 0x88]
test byte [rcx], al
mov rcx, qword [rcx + 0x18]
mov rax, qword [rsp + 0x90]
nop
call rcx
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x3c], ebx
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x34], edi
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x4c], ebx
mov dword [rsp + 0x48], ecx
mov dword [rsp + 0x44], edi
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x24], ebx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x2c], edi
cmp edi, 0xffff
je 0x52203c
jmp 0x5220ad
mov byte [rsp + 0x1c], 0
mov byte [rsp + 0x1d], 0
mov byte [rsp + 0x1e], 0
mov byte [rsp + 0x1f], 0
mov ecx, dword [rsp + 0x20]
shr ecx, 8
mov byte [rsp + 0x1c], cl
mov ecx, dword [rsp + 0x24]
shr ecx, 8
mov byte [rsp + 0x1d], cl
mov ecx, dword [rsp + 0x28]
shr ecx, 8
mov byte [rsp + 0x1e], cl
mov byte [rsp + 0x1f], 0xff
lea rax, [0x0056df60]
lea rbx, [rsp + 0x1c]
call sym.runtime.convTnoptr
mov qword [rsp + 0x70], rax
lea rcx, [0x00593d00]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x78
pop rbp
ret
test edi, edi
je 0x5220b3
jmp 0x5220fe
mov byte [rsp + 0x1c], 0
mov byte [rsp + 0x1d], 0
mov byte [rsp + 0x1e], 0
mov byte [rsp + 0x1f], 0
lea rax, [0x0056df60]
lea rbx, [rsp + 0x1c]
call sym.runtime.convTnoptr
mov qword [rsp + 0x68], rax
lea rcx, [0x00593d00]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x78
pop rbp
ret
mov edx, eax
shl edx, 0x10
sub edx, eax
test edi, edi
jne 0x52210e
jmp 0x5221e5
mov eax, edx
xor edx, edx
div edi
mov dword [rsp + 0x20], eax
mov eax, ebx
shl eax, 0x10
sub eax, ebx
nop
test edi, edi
jne 0x522129
jmp 0x5221e0
xor edx, edx
div edi
mov dword [rsp + 0x24], eax
mov eax, ecx
shl eax, 0x10
sub eax, ecx
test edi, edi
jne 0x522145
nop dword [rax]
jmp 0x5221d8
xor edx, edx
div edi
mov dword [rsp + 0x28], eax
mov byte [rsp + 0x17], 0
mov byte [rsp + 0x18], 0
mov byte [rsp + 0x19], 0
mov byte [rsp + 0x1a], 0
mov ecx, dword [rsp + 0x20]
shr ecx, 8
mov byte [rsp + 0x17], cl
mov edx, dword [rsp + 0x24]
shr edx, 8
mov byte [rsp + 0x18], dl
mov esi, dword [rsp + 0x28]
shr esi, 8
mov byte [rsp + 0x19], sil
mov edi, dword [rsp + 0x2c]
shr edi, 8
mov byte [rsp + 0x1a], dil
mov byte [rsp + 0x1c], cl
mov byte [rsp + 0x1d], dl
mov byte [rsp + 0x1e], sil
mov byte [rsp + 0x1f], dil
lea rax, [0x0056df60]
lea rbx, [rsp + 0x1c]
call sym.runtime.convTnoptr
mov qword [rsp + 0x60], rax
lea rcx, [0x00593d00]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x78
pop rbp
ret
call sym.runtime.panicdivide
nop dword [rax]
call sym.runtime.panicdivide
call sym.runtime.panicdivide
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp sym.image_color.nrgbaModel