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

Disassembly:
mov eax, 0x34
call fcn.005109c0
mov eax, dword [0x6ba4f8]
xor eax, esp
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x40]
xor eax, eax
mov edx, dword [esp + 0x3c]
push ebx
push ebp
push esi
shr ecx, 4
push edi
mov edi, dword [esp + 0x48]
mov esi, ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ecx
mov ebx, dword [edi + 0x48]
add esi, ebx
mov ebp, dword [edi + 0x4c]
adc eax, ebp
mov dword [esp + 0x10], esi
add ebx, 1
mov dword [esp + 0x18], eax
adc ebp, 0
cmp ebp, eax
ja 0x5de7ac
jb 0x5de6d0
cmp ebx, esi
ja 0x5de7ac
nop
mov ecx, ebx
xor esi, esi
and ecx, 1
mov edx, ebx
or ecx, esi
mov eax, ebp
jne 0x5de6f1
nop
shrd edx, eax, 1
inc esi
mov ecx, edx
shr eax, 1
and ecx, 1
or ecx, 0
je 0x5de6e0
push esi
push edi
call fcn.005df4e0
mov edx, eax
add esp, 8
test edx, edx
je 0x5de873
mov ecx, dword [edx]
xor dword [edi + 0x68], ecx
mov ecx, dword [edx + 4]
xor dword [edi + 0x6c], ecx
mov eax, dword [edx + 8]
xor dword [edi + 0x70], eax
mov eax, dword [edx + 0xc]
mov edx, ebx
xor dword [edi + 0x74], eax
sub edx, dword [edi + 0x48]
mov ecx, dword [edi + 0x68]
dec edx
mov eax, dword [edi + 0x6c]
push dword [edi + 8]
shl edx, 4
add edx, dword [esp + 0x18]
xor eax, dword [edx + 4]
xor ecx, dword [edx]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
mov eax, dword [edx + 0xc]
xor eax, dword [edi + 0x74]
mov ecx, dword [edx + 8]
xor ecx, dword [edi + 0x70]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x30], ecx
push eax
mov eax, dword [edi]
call eax
mov eax, dword [esp + 0x3c]
add esp, 0xc
xor dword [edi + 0x78], eax
mov eax, dword [esp + 0x34]
xor dword [edi + 0x7c], eax
mov eax, dword [esp + 0x38]
xor dword [edi + 0x80], eax
mov eax, dword [esp + 0x3c]
xor dword [edi + 0x84], eax
add ebx, 1
adc ebp, 0
cmp ebp, dword [esp + 0x18]
jb 0x5de6d0
mov esi, dword [esp + 0x10]
ja 0x5de7a4
cmp ebx, esi
jbe 0x5de6d0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x50]
and ebx, 0xf
jbe 0x5de851
mov eax, dword [edi + 0x20]
xorps xmm0, xmm0
xor dword [edi + 0x68], eax
mov eax, dword [edi + 0x24]
xor dword [edi + 0x6c], eax
mov eax, dword [edi + 0x28]
xor dword [edi + 0x70], eax
mov eax, dword [edi + 0x2c]
xor dword [edi + 0x74], eax
lea eax, [esp + 0x20]
shl ecx, 4
push ebx
add ecx, edx
push ecx
push eax
movups xmmword [esp + 0x2c], xmm0
call fcn.005286a0
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x68]
push dword [edi + 8]
mov byte [esp + ebx + 0x30], 0x80
xor eax, dword [esp + 0x34]
xor ecx, dword [esp + 0x30]
mov dword [esp + 0x44], eax
mov eax, dword [edi + 0x74]
xor eax, dword [esp + 0x3c]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x44], ecx
lea eax, [esp + 0x44]
mov ecx, dword [edi + 0x70]
xor ecx, dword [esp + 0x3c]
push eax
mov eax, dword [edi]
mov dword [esp + 0x50], ecx
call eax
mov eax, dword [esp + 0x38]
add esp, 0x18
xor dword [edi + 0x78], eax
mov eax, dword [esp + 0x24]
xor dword [edi + 0x7c], eax
mov eax, dword [esp + 0x28]
xor dword [edi + 0x80], eax
mov eax, dword [esp + 0x2c]
xor dword [edi + 0x84], eax
mov eax, dword [esp + 0x18]
mov dword [edi + 0x48], esi
mov dword [edi + 0x4c], eax
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0050fa22
add esp, 0x34
ret
mov ecx, dword [esp + 0x40]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0050fa22
add esp, 0x34
ret