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

Disassembly:
mov eax, 0x48
call fcn.00580860
mov eax, dword [0x64ef14]
xor eax, esp
mov dword [esp + 0x44], eax
cmp dword [esp + 0x5c], 0x10
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x50]
push edi
mov dword [esp + 0x10], ecx
mov dword [esp + 8], eax
jae 0x56d7b4
or eax, 0xffffffff
pop edi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0057ffc6
add esp, 0x48
ret
push dword [ecx + 4]
movups xmm0, xmmword [edx]
lea eax, [esp + 0x2c]
push eax
push eax
mov eax, dword [ecx + 0xc]
movups xmmword [esp + 0x34], xmm0
call eax
mov edx, dword [esp + 0x6c]
add esp, 0xc
cmp dword [esp + 0x64], 0
jne 0x56d7e4
test dl, 0xf
je 0x56d7e4
sub edx, 0x10
mov dword [esp + 0x60], edx
push ebx
mov ebx, dword [esp + 0x2c]
push ebp
mov ebp, dword [esp + 0x60]
push esi
mov esi, dword [esp + 0x38]
cmp edx, 0x10
jb 0x56d91f
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [ebp + 4]
mov edx, dword [ebp]
xor ecx, esi
mov dword [esp + 0x28], ecx
xor edx, ebx
mov ecx, dword [ebp + 8]
xor ecx, eax
mov dword [esp + 0x24], edx
mov eax, dword [ebp + 0xc]
xor eax, dword [esp + 0x10]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x24]
push dword [eax]
mov eax, dword [eax + 8]
push ecx
push ecx
call eax
mov edx, dword [esp + 0x20]
add esp, 0xc
mov eax, dword [esp + 0x28]
add ebp, 0x10
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x38]
xor eax, esi
mov ebx, dword [esp + 0x34]
xor ecx, ebx
mov edi, dword [esp + 0x3c]
mov dword [edx + 4], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x40]
mov dword [edx], ecx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
xor ecx, edi
mov eax, dword [esp + 0x30]
xor eax, dword [esp + 0x18]
mov dword [edx + 8], ecx
mov dword [edx + 0xc], eax
add edx, 0x10
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x6c]
sub edx, 0x10
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x6c], edx
je 0x56dade
mov ecx, dword [esp + 0x18]
bswap edi
bswap ecx
mov dword [esp + 0x18], ecx
shrd ecx, edi, 1
bswap esi
shr edi, 1
mov eax, esi
bswap ebx
mov dword [esp + 0x20], edi
xor edi, edi
shrd esi, ebx, 1
shl eax, 0x1f
or edi, ecx
or eax, dword [esp + 0x20]
shr ebx, 1
test byte [esp + 0x18], 1
mov dword [esp + 0x10], edi
mov dword [esp + 0x40], ebx
je 0x56d8f4
shr ebx, 0x18
xor bl, 0xe1
mov byte [esp + 0x43], bl
mov ebx, dword [esp + 0x40]
mov ecx, dword [esp + 0x10]
bswap ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x40], ecx
bswap eax
mov dword [esp + 0x3c], eax
bswap esi
mov dword [esp + 0x38], esi
bswap ebx
mov dword [esp + 0x34], ebx
cmp edx, 0x10
jae 0x56d808
jmp 0x56d927
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x70], 0
je 0x56d9c2
xor ebx, ebx
test edx, edx
je 0x56d970
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x24]
mov edi, dword [esp + 0x6c]
sub ebp, eax
sub eax, ecx
mov dword [esp + 0x20], eax
nop dword [eax]
lea esi, [esp + 0x24]
add esi, ebx
inc ebx
lea ecx, [eax + esi]
mov dl, byte [ecx + ebp]
mov al, byte [esi]
mov byte [ecx], al
mov eax, dword [esp + 0x20]
mov byte [esi], dl
cmp ebx, edi
jb 0x56d950
nop dword [eax + eax]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x24]
movups xmm0, xmmword [esp + 0x24]
movups xmm1, xmmword [esp + 0x34]
push dword [eax]
mov eax, dword [eax + 8]
pxor xmm1, xmm0
push ecx
push ecx
movups xmmword [esp + 0x30], xmm1
call eax
movups xmm1, xmmword [esp + 0x40]
mov eax, dword [esp + 0x20]
add esp, 0xc
movups xmm0, xmmword [esp + 0x24]
pop esi
pop ebp
pxor xmm1, xmm0
pop ebx
movups xmmword [eax - 0x10], xmm1
xor eax, eax
pop edi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0057ffc6
add esp, 0x48
ret
bswap ecx
bswap eax
bswap esi
mov dword [esp + 0x10], ecx
mov edx, esi
shrd ecx, eax, 1
bswap ebx
shrd esi, ebx, 1
xor edi, edi
shl edx, 0x1f
shr eax, 1
or edi, ecx
shr ebx, 1
or edx, eax
test byte [esp + 0x10], 1
mov dword [esp + 0x50], ebx
je 0x56d9fe
shr ebx, 0x18
xor bl, 0xe1
mov byte [esp + 0x53], bl
mov ebx, dword [esp + 0x50]
mov eax, dword [ebp + 4]
mov ecx, dword [ebp]
bswap esi
xor eax, esi
mov dword [esp + 0x48], esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0xc]
bswap edi
push dword [esi]
xor eax, edi
mov dword [esp + 0x54], edi
bswap ebx
xor ecx, ebx
mov dword [esp + 0x34], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x28], ecx
mov ecx, dword [ebp + 8]
bswap edx
push eax
xor ecx, edx
mov dword [esp + 0x4c], ebx
push eax
mov eax, dword [esi + 8]
mov dword [esp + 0x58], edx
mov dword [esp + 0x38], ecx
call eax
movups xmm0, xmmword [esp + 0x30]
mov edi, dword [esp + 0x78]
add esp, 0xc
mov ebx, dword [esp + 0x14]
movups xmm1, xmmword [esp + 0x44]
pxor xmm1, xmm0
movups xmmword [esp + 0x24], xmm1
test edi, edi
je 0x56da95
lea edx, [esp + 0x24]
sub ebp, ebx
lea esi, [ebx + 0x10]
mov cl, byte [esi + ebp]
lea esi, [esi + 1]
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [esi - 1], al
mov byte [edx - 1], cl
sub edi, 1
jne 0x56da76
movups xmm1, xmmword [esp + 0x24]
mov esi, dword [esp + 0x1c]
push dword [esi]
movups xmm0, xmmword [esp + 0x38]
lea eax, [esp + 0x28]
push eax
pxor xmm0, xmm1
push eax
mov eax, dword [esi + 8]
movups xmmword [esp + 0x30], xmm0
call eax
mov ecx, dword [esp + 0x40]
add esp, 0xc
xor ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x38]
xor eax, dword [esp + 0x28]
mov dword [ebx], ecx
mov ecx, dword [esp + 0x3c]
xor ecx, dword [esp + 0x2c]
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x40]
xor eax, dword [esp + 0x30]
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], eax
mov ecx, dword [esp + 0x54]
xor eax, eax
pop esi
pop ebp
pop ebx
pop edi
xor ecx, esp
call fcn.0057ffc6
add esp, 0x48
ret