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

Disassembly:
mov eax, 0x38
call fcn.10123c70
mov eax, dword [0x102ec100]
xor eax, esp
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x40]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x48]
xor ebp, ebp
push edi
mov edi, dword [esp + 0x58]
shr edi, 4
mov ecx, dword [esi + 0x50]
mov ebx, edi
mov dword [esp + 0x10], eax
add ebx, ecx
mov eax, dword [esp + 0x54]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x54]
adc ebp, eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], ebp
test edi, edi
je 0x102148e5
test ebp, ebp
jne 0x102148e5
cmp dword [esi + 0x10], ebp
je 0x102148e5
mov eax, ebx
xor ecx, ecx
shr eax, 1
je 0x102147f5
nop
inc ecx
shr eax, 1
jne 0x102147f0
push ecx
push esi
call fcn.10215060
add esp, 8
test eax, eax
je 0x10214a60
lea eax, [esi + 0x88]
push eax
push dword [esi + 0x40]
lea eax, [esi + 0x78]
push eax
mov eax, dword [esi + 0x50]
inc eax
push eax
push dword [esi + 8]
mov eax, dword [esi + 0x10]
push edi
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call eax
add esp, 0x20
mov edi, dword [esp + 0x58]
and edi, 0xf
jbe 0x102148c7
mov ecx, dword [esi + 0x20]
lea edx, [esi + 0x78]
mov eax, dword [esi + 0x24]
xor eax, dword [edx + 4]
xor ecx, dword [edx]
mov dword [edx], ecx
mov dword [edx + 4], eax
mov eax, dword [esi + 0x28]
xor dword [esi + 0x80], eax
mov eax, dword [esi + 0x2c]
xor dword [esi + 0x84], eax
lea eax, [esp + 0x34]
push dword [esi + 8]
push eax
mov eax, dword [esi]
push edx
call eax
push dword [esp + 0x20]
lea eax, [esp + 0x44]
push edi
push eax
push dword [esp + 0x28]
call fcn.10214df0
push edi
push dword [esp + 0x30]
lea eax, [esp + 0x58]
xorps xmm0, xmm0
push eax
movups xmmword [esp + 0x5c], xmm0
call fcn.1014a620
mov byte [esp + edi + 0x5c], 0x80
add esp, 0x28
mov eax, dword [esp + 0x34]
xor dword [esi + 0x88], eax
mov eax, dword [esp + 0x38]
xor dword [esi + 0x8c], eax
mov eax, dword [esp + 0x3c]
xor dword [esi + 0x90], eax
mov eax, dword [esp + 0x40]
xor dword [esi + 0x94], eax
pop edi
mov dword [esi + 0x50], ebx
mov eax, 1
mov dword [esi + 0x54], ebp
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.10123194
add esp, 0x38
ret
add ecx, 1
mov dword [esp + 0x1c], ecx
adc eax, 0
mov dword [esp + 0x20], eax
cmp eax, ebp
ja 0x1021482e
jb 0x10214905
cmp ecx, ebx
ja 0x1021482e
mov edx, ecx
xor edi, edi
and ecx, 1
or ecx, edi
jne 0x10214921
shrd edx, eax, 1
inc edi
mov ecx, edx
shr eax, 1
and ecx, 1
or ecx, 0
je 0x10214910
push edi
push esi
call fcn.10215060
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x10214a60
mov ebp, dword [ebx]
mov eax, dword [ebx + 4]
xor eax, dword [esi + 0x7c]
xor ebp, dword [esi + 0x78]
mov dword [esi + 0x78], ebp
mov dword [esi + 0x7c], eax
mov edi, dword [ebx + 8]
mov ebx, dword [ebx + 0xc]
xor edi, dword [esi + 0x80]
xor ebx, dword [esi + 0x84]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x10]
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], ebx
mov dword [esp + 0x28], ebp
movups xmm1, xmmword [eax]
mov ebp, dword [esp + 0x18]
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
movaps xmm0, xmm1
psrldq xmm0, 4
movd edx, xmm0
movaps xmm0, xmm1
movd esi, xmm1
movups xmmword [esp + 0x34], xmm1
xor dword [eax + 0x88], esi
xor dword [eax + 0x8c], edx
xor esi, dword [esp + 0x28]
xor edx, dword [esp + 0x2c]
psrldq xmm0, 8
movd ecx, xmm0
psrldq xmm1, 0xc
mov dword [esp + 0x34], esi
mov esi, ebp
xor dword [eax + 0x90], ecx
xor ecx, edi
movd eax, xmm1
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ecx
xor dword [ebp + 0x94], eax
xor eax, ebx
push dword [esi + 8]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x38]
push eax
push eax
mov eax, dword [esi]
call eax
mov eax, dword [esi + 0x78]
add esp, 0xc
xor dword [esp + 0x34], eax
mov eax, dword [esi + 0x7c]
xor dword [esp + 0x38], eax
mov eax, dword [esi + 0x80]
xor dword [esp + 0x3c], eax
mov eax, dword [esi + 0x84]
xor dword [esp + 0x40], eax
mov edx, dword [esp + 0x14]
movups xmm0, xmmword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x30]
movups xmmword [edx], xmm0
add edx, 0x10
add ecx, 1
mov dword [esp + 0x14], edx
adc eax, 0
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
cmp eax, ebp
jb 0x10214905
mov ebx, dword [esp + 0x24]
ja 0x1021482e
cmp ecx, ebx
jbe 0x10214905
jmp 0x1021482e
mov ecx, dword [esp + 0x44]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10123194
add esp, 0x38
ret