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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
push edi
lea edi, [ecx + ecx*2]
shl edi, 4
add edi, esi
test byte [edi + 0x12c4], 1
je 0x10122aab
cmp byte [ebp + 0xc], 0
jne 0x10122a98
mov eax, dword fs:[0x2c]
mov ecx, dword [0x11d0c5b8]
mov edx, dword [esi + 0x100]
mov ecx, dword [eax + ecx*4]
mov eax, dword [edx]
mov dword [ecx + 0x10], eax
mov eax, dword [edi + 0x12bc]
mov edi, dword [eax]
cmp edi, 0x73655243
jne 0x10122a39
test dword [eax + 0x18], 0xfffffff0
lea esi, [eax + 0x18]
jbe 0x10122a39
cmp dword [eax + 0x14], 0
lea ecx, [eax + 0x14]
je 0x10122a39
mov eax, dword [ecx]
xor edx, edx
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
and eax, 0x78000000
cmp eax, 0x10000000
sete dl
jmp 0x10122a41
lea ecx, [eax + 0x14]
xor edx, edx
lea esi, [eax + 0x18]
test dl, dl
je 0x10122a8e
cmp edi, 0x73655243
jne 0x10122a83
test dword [esi], 0xfffffff0
jbe 0x10122a83
cmp dword [ecx], 0
je 0x10122a83
mov eax, dword [ecx]
xor edx, edx
push 1
mov ecx, dword [eax]
mov eax, dword [ecx + 0x10]
and eax, 0x78000000
cmp eax, 0x10000000
cmove edx, ecx
mov ecx, edx
mov eax, dword [edx]
call dword [eax + 0x70]
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
xor edx, edx
push 1
mov ecx, edx
mov eax, dword [edx]
call dword [eax + 0x70]
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
push ecx
mov ecx, esi
call fcn.10122da0
test eax, eax
js 0x10122d98
mov ecx, dword [ebp + 8]
test byte [edi + 0x12c4], 4
je 0x10122b20
mov eax, dword [esi + 0x1180]
mov edx, dword [esi + 0x1188]
add eax, 0x218
test ecx, ecx
jne 0x10122ae7
cmp eax, edx
jb 0x10122ad9
push 0x218
mov ecx, esi
call fcn.10122580
mov eax, dword [esi + 0x1180]
mov dword [eax], 8
jmp 0x10122b03
cmp eax, edx
jb 0x10122af7
push 0x218
mov ecx, esi
call fcn.10122580
mov eax, dword [esi + 0x1180]
mov dword [eax], 0x94
mov dword [eax + 4], 0
add eax, 8
mov dword [esi + 0x1180], eax
inc dword [esi + 0x118c]
and byte [edi + 0x12c4], 0xfb
mov eax, dword [edi + 0x12bc]
xorps xmm0, xmm0
movzx ecx, byte [ebp + 0xc]
mov dword [esp + 0x40], eax
xor ecx, 1
movzx eax, byte [ebp + 0xc]
mov dword [esp + 8], eax
add eax, eax
or eax, ecx
mov dword [esp + 0xc], ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x338]
push ecx
push dword [esi + 0xfc]
movlpd qword [esp + 0x54], xmm0
movlpd qword [esp + 0x5c], xmm0
movlpd qword [esp + 0x64], xmm0
movlpd qword [esp + 0x7c], xmm0
mov dword [esp + 0x84], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
call eax
mov edx, eax
test edx, edx
jns 0x10122bf3
mov eax, dword [esi + 0x1180]
cmp eax, dword [esi + 0x1188]
jb 0x10122bc3
push 0
mov ecx, esi
call fcn.10122580
lea eax, [esp + 0x40]
mov dword [esi + 0x1b00], 0x5f
push 2
mov ecx, esi
mov dword [esi + 0x1b04], eax
call fcn.101218f0
push 0x5f
mov ecx, esi
call fcn.10121b70
mov edx, eax
test edx, edx
js 0x10122cb5
mov cl, byte [edi + 0x12c4]
mov eax, dword [esp + 0x68]
or cl, 3
cmp byte [ebp + 0xc], 0
mov byte [edi + 0x12c4], cl
mov dword [edi + 0x12c8], eax
je 0x10122d96
mov eax, dword [esp + 0x40]
or cl, 8
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x78]
mov byte [edi + 0x12c4], cl
mov ecx, dword [esp + 0x7c]
mov dword [edi + 0x12d4], 0
mov dword [edi + 0x12d0], 0
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x1180]
add eax, 0x218
mov dword [esp + 0x24], ecx
cmp eax, dword [esi + 0x1188]
jb 0x10122c7a
push 0x218
mov ecx, esi
call fcn.10122580
mov eax, dword [esi + 0x1180]
movups xmm0, xmmword [esp + 0x10]
mov dword [eax], 0x61
movups xmmword [eax + 4], xmm0
movq xmm0, qword [esp + 0x20]
movq qword [eax + 0x14], xmm0
add eax, 0x1c
inc dword [esi + 0x118c]
xor edx, edx
mov dword [esi + 0x1180], eax
mov eax, edx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi + 0x12bc]
mov dword [esp + 0x10], eax
movzx eax, byte [esi + 0xf8]
and eax, 0x20
mov dword [esp + 0x14], 0
or eax, dword [esp + 8]
add eax, eax
mov dword [esp + 0x30], 0
or eax, dword [esp + 0xc]
shl eax, 2
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x1180]
add eax, 0x218
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
cmp eax, dword [esi + 0x1188]
jb 0x10122d19
push 0x218
mov ecx, esi
call fcn.10122580
mov eax, dword [esi + 0x1180]
lea ecx, [esp + 0x10]
push 4
mov dword [eax], 0x23
mov dword [esi + 0x1190], 1
mov dword [eax + 4], ecx
add eax, 8
mov ecx, esi
mov dword [esi + 0x1180], eax
call fcn.101218f0
push 0x23
mov ecx, esi
call fcn.10121b70
mov edx, eax
test edx, edx
js 0x10122d96
mov cl, byte [edi + 0x12c4]
mov eax, dword [esp + 0x30]
or cl, 1
and cl, 0xfd
mov dword [edi + 0x12c8], eax
cmp byte [ebp + 0xc], 0
mov byte [edi + 0x12c4], cl
je 0x10122d96
or cl, 8
mov dword [edi + 0x12d4], 0
mov byte [edi + 0x12c4], cl
mov dword [edi + 0x12d0], 0
mov eax, edx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8