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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xe8
mov eax, dword [0x10444724]
xor eax, esp
mov dword [esp + 0xe4], eax
push esi
push edi
cmp dword [ebp + 0x34], 0
mov eax, dword [ebp + 0xc]
movaps xmm0, xmmword [0x1038a040]
mov edx, dword [ebp + 8]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x3c]
mov dword [esp + 8], eax
lea eax, [ebp + 0x14]
mov esi, dword [ebp + 0x38]
mov dword [esp + 0xc], eax
lea eax, [esp + 8]
mov edi, dword [ebp + 0x2c]
mov dword [esp + 0x2c], edx
movaps xmmword [esp + 0x40], xmm0
movaps xmmword [esp + 0x30], xmm0
movaps xmmword [esp + 0x60], xmm0
movaps xmmword [esp + 0x50], xmm0
movaps xmmword [esp + 0x80], xmm0
movaps xmmword [esp + 0x70], xmm0
movaps xmmword [esp + 0xa0], xmm0
movaps xmmword [esp + 0x90], xmm0
mov dword [esp + 0x10], eax
jle 0x102227c1
mov eax, dword [ebp + 0x14]
nop
mov dword [esp + 0xdc], 0
mov ecx, edi
mov dword [esp + 0xe0], 0
test edx, edx
je 0x102226da
push eax
lea eax, [esp + 0xe0]
push edi
push eax
call edx
jmp 0x102226f2
cmp eax, 8
jge 0x102226fc
test eax, eax
jle 0x102226f5
push eax
lea eax, [esp + 0xe0]
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea ecx, [esp + 0xdc]
lea eax, [esp + 0x90]
movq xmm0, qword [ecx]
push eax
lea eax, [esp + 0xa4]
xorps xmm1, xmm1
push eax
lea eax, [esp + 0x78]
punpcklbw xmm0, xmm1
push eax
lea eax, [esp + 0x8c]
psllw xmm0, 8
push eax
lea eax, [esp + 0x60]
movaps xmmword [esp + 0xc0], xmm0
push eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x34]
lea eax, [esp + 0xd4]
push dword [esp + 0x3c]
push dword [esp + 0x44]
push dword [esp + 0x4c]
push dword [esp + 0x54]
push eax
lea eax, [esp + 0xf8]
push eax
call dword [esp + 0x64]
add esp, 0x3c
movups xmm0, xmmword [eax]
mov eax, dword [ebp + 0x14]
psrlw xmm0, 8
packuswb xmm0, xmm0
cmp eax, 8
jne 0x1022278a
movq qword [esi], xmm0
jmp 0x102227a9
movq qword [esp + 0xe4], xmm0
test eax, eax
jle 0x102227ac
push eax
lea eax, [esp + 0xe8]
push eax
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [ebp + 0x14]
add edi, dword [ebp + 0x30]
add esi, dword [esp + 8]
sub dword [ebp + 0x34], 1
mov edx, dword [esp + 0x2c]
jne 0x102226b0
mov edi, dword [ebp + 0x10]
cmp edi, 1
jl 0x102227df
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x44]
push eax
push esi
lea ecx, [esp + 0x18]
call fcn.10221f40
mov esi, eax
cmp edi, 2
jl 0x102227fa
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x64]
push eax
push esi
lea ecx, [esp + 0x18]
call fcn.10221f40
mov esi, eax
cmp edi, 3
jl 0x10222818
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x84]
push eax
push esi
lea ecx, [esp + 0x18]
call fcn.10221f40
mov esi, eax
cmp edi, 4
jl 0x10222837
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0xa4]
push eax
push esi
lea ecx, [esp + 0x18]
call fcn.10221f40
mov ecx, dword [esp + 0xec]
pop edi
pop esi
xor ecx, esp
call fcn.1037e005
mov esp, ebp
pop ebp
ret