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

Disassembly:
mov eax, 0x24c
call fcn.00488be0
mov eax, dword [0x605580]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x25c]
lea ebx, [esp + 0x214]
push edi
mov edi, dword [esp + 0x264]
xor edx, edx
mov cl, byte [edx + edi]
mov al, cl
shr cl, 4
and al, 0xf
mov byte [esp + edx*2 + 0x219], cl
mov byte [ebx + edx*2], al
inc edx
cmp edx, 0x20
jl 0x5092a3
xor al, al
xor edi, edi
mov dl, byte [esp + edi + 0x218]
add dl, al
lea ecx, [edx + 8]
sar cl, 4
mov al, cl
shl al, 4
sub dl, al
mov byte [esp + edi + 0x218], dl
mov dl, byte [esp + edi + 0x219]
add dl, cl
lea ecx, [edx + 8]
sar cl, 4
mov al, cl
shl al, 4
sub dl, al
mov byte [esp + edi + 0x219], dl
mov dl, byte [esp + edi + 0x21a]
add dl, cl
lea eax, [edx + 8]
sar al, 4
mov cl, al
shl cl, 4
sub dl, cl
mov byte [esp + edi + 0x21a], dl
add edi, 3
cmp edi, 0x3f
jl 0x5092c1
add byte [esp + 0x257], al
lea ebx, [esi + 0x28]
xorps xmm0, xmm0
lea ebp, [esi + 0x50]
movups xmmword [esi], xmm0
mov edi, 1
movups xmmword [esi + 0x10], xmm0
movq qword [esi + 0x20], xmm0
movups xmmword [ebx], xmm0
movups xmmword [ebx + 0x10], xmm0
movq qword [ebx + 0x20], xmm0
mov dword [ebx], 1
movups xmmword [ebp], xmm0
movups xmmword [ebp + 0x10], xmm0
movq qword [ebp + 0x20], xmm0
mov dword [ebp], 1
movups xmmword [esi + 0x78], xmm0
movups xmmword [esi + 0x88], xmm0
movq qword [esi + 0x98], xmm0
nop word [eax + eax]
movzx eax, byte [esp + edi + 0x218]
push eax
mov eax, edi
shr eax, 1
push eax
lea eax, [esp + 0x1a8]
push eax
call fcn.0050dc00
lea eax, [esp + 0x1ac]
push eax
lea eax, [esp + 0x20]
push esi
push eax
call fcn.005086e0
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0x2c]
push eax
push esi
call fcn.00505900
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x60]
push eax
push ebx
call fcn.00505900
lea eax, [esp + 0xb8]
push eax
lea eax, [esp + 0x94]
push eax
push ebp
call fcn.00505900
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esi + 0x78]
push eax
call fcn.00505900
add edi, 2
add esp, 0x48
cmp edi, 0x40
jl 0x509380
movups xmm0, xmmword [esi]
lea eax, [esp + 0x128]
push eax
movups xmmword [esp + 0x12c], xmm0
lea eax, [esp + 0x14]
movups xmm0, xmmword [esi + 0x10]
push eax
movups xmmword [esp + 0x140], xmm0
movq xmm0, qword [esi + 0x20]
movq qword [esp + 0x150], xmm0
movups xmm0, xmmword [ebx]
movups xmmword [esp + 0x158], xmm0
movups xmm0, xmmword [ebx + 0x10]
movups xmmword [esp + 0x168], xmm0
movq xmm0, qword [ebx + 0x20]
movq qword [esp + 0x178], xmm0
movups xmm0, xmmword [ebp]
movups xmmword [esp + 0x180], xmm0
movups xmm0, xmmword [ebp + 0x10]
movups xmmword [esp + 0x190], xmm0
movq xmm0, qword [ebp + 0x20]
movq qword [esp + 0x1a0], xmm0
call fcn.00508da0
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0xc0]
push eax
call fcn.00505900
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0xf4]
push eax
call fcn.00505900
lea eax, [esp + 0xa8]
push eax
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x128]
push eax
call fcn.00505900
lea eax, [esp + 0xdc]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.00508da0
lea eax, [esp + 0xbc]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0xec]
push eax
call fcn.00505900
add esp, 0x40
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0xe0]
push eax
call fcn.00505900
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x114]
push eax
call fcn.00505900
lea eax, [esp + 0xc8]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.00508da0
lea eax, [esp + 0xa8]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0xd8]
push eax
call fcn.00505900
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x10c]
push eax
call fcn.00505900
lea eax, [esp + 0xc0]
push eax
lea eax, [esp + 0x9c]
push eax
lea eax, [esp + 0x140]
push eax
call fcn.00505900
add esp, 0x44
lea eax, [esp + 0xb0]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00508da0
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.00505900
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x50]
push eax
push ebx
call fcn.00505900
lea eax, [esp + 0xa8]
push eax
lea eax, [esp + 0x84]
push eax
push ebp
call fcn.00505900
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esi + 0x78]
push eax
call fcn.00505900
add esp, 0x38
xor edi, edi
movzx eax, byte [esp + edi + 0x218]
push eax
mov eax, edi
shr eax, 1
push eax
lea eax, [esp + 0x1a8]
push eax
call fcn.0050dc00
lea eax, [esp + 0x1ac]
push eax
lea eax, [esp + 0x20]
push esi
push eax
call fcn.005086e0
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0x2c]
push eax
push esi
call fcn.00505900
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x60]
push eax
push ebx
call fcn.00505900
lea eax, [esp + 0xb8]
push eax
lea eax, [esp + 0x94]
push eax
push ebp
call fcn.00505900
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esi + 0x78]
push eax
call fcn.00505900
add edi, 2
add esp, 0x48
cmp edi, 0x40
jl 0x509605
pop edi
pop esi
pop ebp
pop ebx
lea eax, [esp + 0x208]
push 0x40
push eax
call fcn.00401320
mov ecx, dword [esp + 0x250]
add esp, 8
xor ecx, esp
call fcn.004883ab
add esp, 0x24c
ret