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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x1070dd84]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
lea eax, [esi + 0x3ab40]
mov dword [ebp - 0x70], eax
mov eax, dword [eax + 0x3bb8]
mov cl, byte [eax + 0x4d]
xor eax, eax
test cl, cl
mov byte [ebp - 9], cl
sete al
lea eax, [eax*2 + 1]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 8]
add eax, 0xe0
mov dword [ebp - 8], eax
mov eax, dword [eax + 0xfd0]
mov edi, dword [eax]
test byte [edi + 0x9f], 0x40
jne 0x10212918
cmp byte [edi + 0x1c], 2
je 0x10212918
mov al, byte [edi + 5]
cmp al, 0xf
je 0x102128c0
cmp al, 0x17
jne 0x102129b9
mov eax, dword [edi]
mov bl, byte [eax + 0x10556e14]
mov al, byte [eax + 0x10556e2c]
cmp bl, al
movzx ecx, al
movzx edx, bl
cmovae edx, ecx
cmp edx, 2
jb 0x102129b9
mov ebx, dword [ebp - 8]
xor ecx, ecx
xor edx, edx
cmp byte [edi + 0x15], cl
setg dl
mov ebx, dword [ebx + 0x1ac8]
inc edx
nop word [eax + eax]
movsx eax, byte [edi + ecx + 0x14]
lea eax, [eax + eax*8]
cmp byte [ebx + eax*4 + 0x20], 1
je 0x102129b9
inc ecx
cmp ecx, edx
jl 0x10212900
xor ecx, ecx
movsx eax, byte [edi + 0x14]
xorps xmm0, xmm0
mov edx, dword [esi + 0x3ad08]
xor ebx, ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x44], 0
movlpd qword [ebp - 0x3c], xmm0
push dword [eax + 0x146c]
add eax, 0x58
movlpd qword [ebp - 0x34], xmm0
push eax
push ecx
push edx
push esi
push edi
movlpd qword [ebp - 0x2c], xmm0
mov byte [ebp - 0x24], 1
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x6c], ebx
movlpd qword [ebp - 0x64], xmm0
movlpd qword [ebp - 0x5c], xmm0
movlpd qword [ebp - 0x54], xmm0
mov byte [ebp - 0x4c], 1
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x18], edx
call fcn.10212670
add esp, 0x18
cmp eax, 0xffffffff
je 0x102129d0
mov ebx, dword [ebp + 0x2c]
lea ecx, [eax + eax*4]
lea eax, [eax + eax*4]
mov edx, dword [ebx + ecx*8 + 0x70]
mov esi, dword [ebx + ecx*8 + 0x74]
mov ecx, dword [ebp + 0x20]
mov dword [ecx], edx
mov edx, dword [ebp - 0x10]
mov dword [ecx + 4], esi
mov ecx, dword [ebp + 8]
mov eax, dword [ebx + eax*8 + 0x78]
mov dword [ecx + edx*4 + 0x24398], eax
jmp 0x10212e56
cmp dword [esi + 0x64fac], 0
jne 0x10212918
mov ecx, 1
jmp 0x1021291a
push 0
push dword [ebp - 8]
call fcn.1018b450
push 1
push dword [ebp - 8]
mov esi, eax
mov dword [ebp - 0x7c], esi
call fcn.1018b450
mov ecx, dword [edi + 0x18]
add esi, 0xa4a
mov dword [ebp - 0x78], eax
add esp, 0x10
mov eax, dword [ebp - 0x70]
movzx ecx, cx
lea edx, [esi + esi*2]
mov esi, dword [ebp + 8]
add edx, ecx
mov eax, dword [eax + 0x3bb8]
mov edx, dword [esi + edx*4]
cmp byte [eax + 0x40], bl
je 0x10212a2a
mov eax, dword [ebp - 0x78]
mov ecx, dword [edi + 0x18]
shr ecx, 0x10
lea eax, [eax + eax*2]
add eax, 0x1ede
add ecx, eax
add edx, dword [esi + ecx*4]
mov eax, dword [ebp + 0x24]
mov dword [eax], edx
mov eax, dword [ebp + 0x28]
push dword [eax]
lea eax, [ebp - 0x44]
push eax
push 0
push 0
push dword [ebp + 0x1c]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push esi
call fcn.10213990
add esp, 0x20
cmp byte [ebp - 9], bl
jne 0x10212a75
mov eax, dword [ebp + 0x28]
push dword [eax]
lea eax, [ebp - 0x6c]
push eax
push 2
push 1
push dword [ebp + 0x1c]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push esi
call fcn.10213990
mov ebx, dword [ebp - 0x6c]
add esp, 0x20
mov eax, dword [ebp + 0x28]
mov dword [eax], 1
cmp ebx, 0x7fffffff
je 0x10212b1f
mov esi, dword [ebp - 0x44]
cmp esi, 0x7fffffff
je 0x10212b1f
mov eax, esi
cdq
mov dword [ebp - 8], eax
mov ecx, edx
mov eax, ebx
cdq
add dword [ebp - 8], eax
adc ecx, edx
test ecx, ecx
jg 0x10212abc
jl 0x10212ab8
cmp dword [ebp - 8], 0x7fffffff
jae 0x10212abc
add ebx, esi
jmp 0x10212ac1
mov ebx, 0x7fffffff
mov eax, dword [ebp - 0x68]
test eax, eax
mov ecx, dword [ebp - 0x64]
cmove eax, dword [ebp - 0x40]
add ecx, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x60]
adc esi, dword [ebp - 0x38]
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], esi
cmp edx, 0x7fffffff
jg 0x10212b14
mov eax, dword [ebp - 0x54]
jl 0x10212af7
cmp eax, 0xffffffff
jae 0x10212b14
cmp dword [ebp - 0x28], 0x7fffffff
jg 0x10212b14
jl 0x10212b08
cmp dword [ebp - 0x2c], 0xffffffff
jae 0x10212b14
add eax, dword [ebp - 0x2c]
mov dword [ebp - 0x54], eax
adc edx, dword [ebp - 0x28]
mov dword [ebp - 0x50], edx
mov al, byte [ebp - 0x4c]
and al, byte [ebp - 0x24]
mov byte [ebp - 0x4c], al
jmp 0x10212b49
mov ebx, 0x7fffffff
mov byte [ebp - 0x4c], 0
or ecx, 0xffffffff
mov dword [ebp - 0x6c], ebx
mov esi, ebx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x68], 0
mov eax, dword [ebp + 0x24]
mov eax, dword [eax]
add eax, ebx
mov ebx, dword [ebp + 8]
imul dword [ebx + 0x31cc]
add eax, 0x100
adc edx, 0
shrd eax, edx, 9
shld esi, ecx, 7
sar edx, 9
shl ecx, 7
add eax, ecx
mov ecx, dword [ebp + 0x20]
adc edx, esi
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [ecx], eax
add edx, 0x90e6
mov eax, dword [ebp - 0x28]
lea edx, [ebx + edx*4]
mov ecx, dword [ebp - 0x2c]
shrd ecx, eax, 4
cmp dword [ebp - 0x18], 4
mov dword [ebp - 0x80], edx
mov dword [edx], ecx
jne 0x10212e56
cmp dword [ebp - 0x14], 0
je 0x10212e56
mov eax, dword [ebp + 0x2c]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10212c72
cmp byte [edi + 0x15], 0
jle 0x10212c72
movzx eax, byte [edi + 5]
movzx esi, byte [edi + 0x9f]
shr esi, 4
and esi, 3
movzx edx, byte [eax + 0x10556e98]
movzx eax, byte [eax + 0x10556eb4]
lea ecx, [esi + eax*2]
add ecx, eax
movsx eax, byte [edi + 0x15]
lea eax, [eax + ecx*8]
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ecx + eax*8]
mov dword [ebp - 8], ebx
mov ebx, dword [ecx + eax*8 + 4]
lea ecx, [esi + edx*2]
movsx eax, byte [edi + 0x14]
add ecx, edx
mov dword [ebp - 0x18], ebx
lea eax, [eax + ecx*8]
mov ecx, dword [ebp - 0x14]
mov esi, dword [ecx + eax*8 + 4]
cmp esi, ebx
mov edx, dword [ecx + eax*8]
mov ebx, dword [ebp + 8]
jg 0x10212c28
jl 0x10212c30
mov eax, dword [ebp - 8]
cmp edx, eax
jae 0x10212c2b
jmp 0x10212c30
mov eax, dword [ebp - 8]
mov esi, dword [ebp - 0x18]
mov edx, eax
mov eax, dword [ebp + 0x20]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
shrd ecx, eax, 1
sar eax, 1
cmp eax, esi
jl 0x10212c72
jg 0x10212c48
cmp ecx, edx
jbe 0x10212c72
cmp dword [ebp + 0x34], 0x7fffffff
jg 0x10212c72
jl 0x10212c59
cmp dword [ebp + 0x30], 0xffffffff
jae 0x10212c72
or eax, 0xffffffff
mov edx, 0x7fffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10398bef
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0xc]
mov dword [ebx + 0x1dbf4], 0
mov eax, dword [ecx + 0x99410]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push ecx
push ebx
call fcn.10212f70
mov esi, dword [ebp + 0x18]
add esp, 0x10
push dword [ebp - 0x74]
movups xmm0, xmmword [esi]
sub esp, 0x18
mov eax, esp
movups xmmword [eax], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [eax + 0x10], xmm0
lea eax, [ebx + 0xe0]
push eax
call fcn.101df060
mov eax, dword [ebp - 0x70]
add esp, 0x20
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x1c], esi
mov esi, dword [ebp + 0xc]
mov eax, dword [eax + 0x3bb8]
mov dword [ebp - 0x18], ecx
cmp byte [eax + 0x40], 0
je 0x10212d4e
cmp dword [esi + 0x64e20], 0
je 0x10212d17
push dword [ebp - 8]
lea eax, [ebp - 0x7c]
push dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 0x24]
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x44]
push eax
push dword [ebp + 0x20]
push ecx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
push ebx
call fcn.102131f0
jmp 0x10212d78
mov eax, dword [ebp - 8]
and eax, dword [ebp - 0x10]
push 0
push 0x1fe
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 0x24]
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x44]
push eax
push dword [ebp + 0x20]
push ecx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
push ebx
call fcn.102133b0
add esp, 0x38
jmp 0x10212d7b
push dword [ebp - 0x10]
lea eax, [ebp - 0x7c]
push dword [ebp - 8]
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 0x24]
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x44]
push eax
push dword [ebp + 0x20]
push ecx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
push ebx
call fcn.10213730
add esp, 0x34
push dword [ebp - 0x74]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebx + 0xe0]
push eax
call fcn.10214590
add esp, 0xc
cmp dword [ebx + 0x1dbf4], 1
jne 0x10212dbf
push 0
push 0
push dword [ebp + 0x14]
lea eax, [ebx + 0xe0]
push dword [ebp + 0x1c]
push dword [eax + 4]
push dword [eax]
push eax
lea eax, [esi + 0x3ab40]
push eax
call fcn.1026b960
add esp, 0x20
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
shrd ebx, eax, 4
mov eax, dword [ebp - 0x80]
mov dword [eax], ebx
cmp dword [esi + 0x64e28], 0
je 0x10212e56
mov esi, dword [ebp + 0x2c]
mov edx, dword [esi + 0x146c]
cmp edx, 0x80
jge 0x10212e50
mov eax, dword [edi + 0x18]
mov ecx, dword [ebp + 0x20]
mov dword [ebp - 0x44], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x40], eax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x3c], eax
movzx eax, byte [edi + 0x14]
mov byte [ebp - 0x38], al
movzx eax, byte [edi + 0x15]
mov byte [ebp - 0x37], al
movzx eax, byte [edi + 0x4f]
mov byte [ebp - 0x36], al
movzx eax, byte [edi + 0xa0]
movups xmm0, xmmword [ebp - 0x44]
shr eax, 1
and eax, 1
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x34], eax
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x2c], eax
lea eax, [edx + edx*4]
movups xmmword [esi + eax*8 + 0x58], xmm0
mov dword [ebp - 0x28], ecx
inc edx
movups xmm0, xmmword [ebp - 0x34]
movups xmmword [esi + eax*8 + 0x68], xmm0
movq xmm0, qword [ebp - 0x24]
movq qword [esi + eax*8 + 0x78], xmm0
mov dword [esi + 0x146c], edx
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
xor edx, edx
pop ebx
call fcn.10398bef
mov esp, ebp
pop ebp
ret