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

Disassembly:
sub esp, 0x6c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x84]
push edi
xor edi, edi
mov byte [esp + 0x13], 0
mov byte [esp + 0x14], 0
mov dword [esp + 0x18], edi
test esi, esi
je 0x1013bb2f
cmp dword [esi], 0xc0dedbad
jne 0x1013bb2f
mov ecx, dword [esp + 0x80]
cmp byte [ecx + 0x118], 0
je 0x1013aa00
mov edi, 0x2a
push esi
mov dword [esp + 0x1c], edi
call fcn.100299d0
push 0
push edi
push esi
call fcn.1013a3a0
add esp, 0x10
cmp dword [esi + 0x34], 0xf
je 0x1013a9f9
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x34], 0xf
dec dword [eax + 0x10]
mov eax, dword [esi + 0x7c]
cmp dword [eax + 0x10], 0
jne 0x1013a9c6
push eax
call fcn.1013c2f0
add esp, 4
mov ebx, dword [esi + 0x18]
test ebx, ebx
je 0x1013a9e9
push esi
push ebx
call fcn.1014ad40
push 0
lea eax, [esi + 0x28]
push eax
lea eax, [ebx + 0x2b4]
push eax
call fcn.10152690
add esp, 0x14
push esi
mov dword [esi + 0x18], 0
call fcn.10139150
add esp, 4
mov ecx, dword [esp + 0x80]
mov al, byte [ecx + 0x116]
xor ebp, ebp
mov byte [esp + 0x12], 0
mov byte [ecx + 0x116], 0
test al, al
je 0x1013aa21
push ecx
call fcn.1013c3c0
add esp, 4
mov ecx, dword [esi + 0x34]
lea ebx, [esi + 0x18]
lea eax, [ecx - 3]
cmp eax, 0xb
ja 0x1013aa40
cmp dword [ebx], ebp
jne 0x1013aa44
mov eax, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
cmp dword [ebx], ebp
je 0x1013aa74
lea eax, [ecx - 2]
cmp eax, 0xc
ja 0x1013aa74
push 0
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x1a]
push eax
push dword [esp + 0x90]
push esi
call fcn.1013a7e0
mov edi, dword [esp + 0x2c]
add esp, 0x14
test al, al
jne 0x1013b93d
mov ecx, dword [esi + 0x34]
cmp ecx, 0x10
ja case.default.0x1013aa7c
jmp dword [ecx*4 + 0x1013bb3c]
push esi
call fcn.10151780
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
test edi, edi
jne case.0x1013aa7c.1
cmp dword [esi + 0x34], 2
je 0x1013aab0
push esi
mov dword [esi + 0x34], 2
call fcn.101516d0
add esp, 4
push 1
lea eax, [esp + 0x40]
push esi
push eax
call fcn.1015a4f0
add esp, 0xc
or ebp, 0xffffffff
movups xmm0, xmmword [eax]
mov eax, dword [esp + 0x84]
movups xmmword [eax], xmm0
jmp case.0x1013aa7c.1
push 2
lea eax, [esp + 0x50]
push esi
push eax
call fcn.1015a4f0
mov ebx, dword [esp + 0x90]
add esp, 0xc
movups xmm0, xmmword [eax]
movups xmmword [ebx], xmm0
mov eax, dword [esi + 0x1d8]
test eax, eax
je 0x1013ab0a
push 0xa
push 0
push eax
push esi
call fcn.10138f40
add esp, 0x10
mov eax, dword [esi + 0x1dc]
test eax, eax
je 0x1013ab22
push 2
push 0
push eax
push esi
call fcn.10138f40
add esp, 0x10
lea eax, [esp + 0x15]
push eax
lea eax, [esp + 0x1b]
push eax
push esi
call fcn.101461d0
mov edi, eax
add esp, 0xc
mov dword [esp + 0x18], edi
cmp edi, 0x59
jne 0x1013abac
cmp dword [esi + 0x34], 1
je 0x1013ab4d
mov dword [esi + 0x34], 1
mov ebx, dword [esp + 0x80]
lea eax, [esi + 0x1c]
push eax
push esi
push dword [ebx + 0x28]
lea eax, [ebx + 0x24]
push eax
call fcn.10152610
mov ecx, dword [esi + 0x14]
add esp, 0x10
mov eax, dword [esi + 0x10]
test ecx, ecx
je 0x1013ab77
mov dword [ecx + 0x10], eax
jmp 0x1013ab7a
mov dword [ebx + 4], eax
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
test ecx, ecx
je 0x1013ab98
mov dword [ecx + 0x14], eax
xor edi, edi
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], ebp
mov dword [esp + 0x18], edi
jmp case.0x1013aa7c.1
mov dword [ebx + 8], eax
xor edi, edi
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], ebp
mov dword [esp + 0x18], edi
jmp case.0x1013aa7c.1
cmp byte [esi + 0xd23], 0
je 0x1013abcb
push 0x11170e68
push esi
call fcn.1014b5c0
push dword [esi + 0x7c]
call fcn.1013c3c0
add esp, 0xc
test edi, edi
jne case.0x1013aa7c.1
push 3
lea eax, [esp + 0x60]
push esi
push eax
call fcn.1015a4f0
add esp, 0xc
cmp byte [esp + 0x17], 0
movups xmm0, xmmword [eax]
movups xmmword [ebx], xmm0
mov eax, dword [esi + 0x34]
je 0x1013ac08
cmp eax, 3
je case.0x1013aa7c.1
mov dword [esi + 0x34], 3
jmp case.0x1013aa7c.1
or ebp, 0xffffffff
cmp byte [esp + 0x15], 0
je 0x1013ac27
cmp eax, 6
je case.0x1013aa7c.1
mov dword [esi + 0x34], 6
jmp case.0x1013aa7c.1
cmp eax, 4
je case.0x1013aa7c.1
mov dword [esi + 0x34], 4
jmp case.0x1013aa7c.1
mov eax, dword [ebx]
mov dword [esp + 0x1c], ebp
cmp byte [eax + 0x240], 0
je 0x1013ac50
mov ebx, dword [eax + 0x78]
jmp 0x1013ac61
cmp byte [eax + 0x249], 0
je 0x1013ac5e
mov ebx, dword [eax + 0x48]
jmp 0x1013ac61
mov ebx, dword [eax + 0x30]
push dword [eax + 0xec]
push ebx
push esi
call fcn.10152e30
add esp, 0xc
mov dword [esp + 0x1c], eax
test eax, eax
je 0x1013aca1
push ebx
push 0x11170e90
xor edi, edi
mov dword [esi + 0x938], eax
push esi
mov byte [esi + 0x94c], 1
mov dword [esp + 0x24], edi
call fcn.1014b5c0
add esp, 0xc
cmp dword [esp + 0x1c], edi
jne 0x1013acb5
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.10153a20
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
mov ebx, dword [esp + 0x80]
push esi
push ebx
call fcn.1013c470
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x1013bab1
cmp dword [esp + 0x1c], eax
je 0x1013acf1
lea eax, [esp + 0x15]
push eax
push esi
call fcn.10153470
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
test edi, edi
je 0x1013ad03
mov dword [esi + 0x18], ebp
test edi, edi
je case.0x1013aa7c.1
mov byte [esp + 0x12], 1
jmp case.0x1013aa7c.1
mov eax, dword [esi + 0x34]
jmp 0x1013ac08
lea eax, [esp + 0x13]
push eax
push esi
call fcn.10154f90
mov edi, eax
add esp, 8
mov eax, dword [ebx]
mov dword [esp + 0x18], edi
cmp byte [eax + 0x244], 0
je 0x1013ad5a
xor edi, edi
or ebp, 0xffffffff
push edi
push edi
push esi
mov dword [esp + 0x24], edi
call fcn.1013a3a0
add esp, 0xc
cmp dword [esi + 0x34], 2
je case.0x1013aa7c.1
push esi
mov dword [esi + 0x34], 2
call fcn.101516d0
jmp 0x1013b8e5
test edi, edi
jne 0x1013acf9
or ebp, 0xffffffff
cmp dword [esi + 0x34], 6
jmp 0x1013ac15
lea eax, [esp + 0x15]
push eax
push 0
push 0
push esi
call fcn.1014abc0
add esp, 0x10
mov edi, eax
cmp byte [esp + 0x15], 0
mov dword [esp + 0x18], edi
je 0x1013ad99
test edi, edi
jne 0x1013ada1
or ebp, 0xffffffff
cmp dword [esi + 0x34], 6
jmp 0x1013ac15
test edi, edi
je case.0x1013aa7c.1
push esi
call fcn.100299d0
push 1
push edi
push esi
call fcn.1013a3a0
add esp, 0x10
mov byte [esp + 0x12], 1
jmp case.0x1013aa7c.1
mov ebx, dword [ebx]
test edi, edi
jne 0x1013ada1
cmp byte [ebx + 0x247], 0
je 0x1013addb
mov dword [esi + 0x34], 8
or ebp, 0xffffffff
jmp case.0x1013aa7c.1
test edi, edi
jne 0x1013ada1
lea eax, [ebx + 0x24e]
mov byte [esp + 0x13], 0
push edi
push ebx
mov dword [esp + 0x24], eax
call fcn.1014b090
add esp, 8
test al, al
mov eax, dword [esp + 0x1c]
je 0x1013ae21
cmp byte [eax], 0
je 0x1013ae2a
mov eax, dword [ebx + 0x260]
movzx ecx, byte [esp + 0x13]
cmp dword [eax + 0x18], edi
mov eax, 1
cmove ecx, eax
mov byte [esp + 0x13], cl
jmp 0x1013ae56
cmp byte [eax], 0
mov dword [esp + 0x1c], eax
jne 0x1013ae56
mov eax, dword [ebx + 0x260]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x1013ae4a
lea ecx, [esp + 0x13]
push ecx
push esi
call eax
mov edi, eax
add esp, 8
test edi, edi
jne 0x1013ae56
jmp 0x1013ae4f
mov byte [esp + 0x13], 1
mov eax, dword [esp + 0x1c]
mov byte [eax], 1
mov ecx, dword [esi + 0x34]
mov dword [esp + 0x18], edi
test edi, edi
jne 0x1013ada1
cmp byte [esp + 0x13], 0
jne 0x1013aed2
cmp ecx, 7
je 0x1013ae78
mov dword [esi + 0x34], 7
or ebp, 0xffffffff
jmp case.0x1013aa7c.1
mov edx, dword [ebx]
test edx, edx
je 0x1013aebc
mov eax, dword [edx + 0x260]
cmp dword [eax + 0x18], ebp
je 0x1013aebc
mov byte [esp + 0x13], 0
lea ecx, [esp + 0x13]
mov eax, dword [edx + 0x260]
push ecx
push esi
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [esi + 0x34]
mov edi, eax
add esp, 8
mov dword [esp + 0x18], edi
test edi, edi
je 0x1013aec7
jmp 0x1013ada1
xor edi, edi
mov byte [esp + 0x13], 1
mov dword [esp + 0x18], edi
cmp byte [esp + 0x13], 0
je case.0x1013aa7c.1
cmp ecx, 8
je 0x1013aede
mov dword [esi + 0x34], 8
or ebp, 0xffffffff
jmp case.0x1013aa7c.1
cmp dword [esi + 0x1b4], ebp
je 0x1013af90
mov eax, dword [esi + 0x80]
lea edi, [esi + 0x7c]
test eax, eax
jne 0x1013af05
mov eax, dword [edi]
test eax, eax
je 0x1013af0c
mov byte [eax + 0x117], 1
push dword [esi + 0xddc]
lea eax, [esi + 0xdaa]
push dword [esi + 0xdd8]
push eax
lea eax, [esi + 0xd7c]
push eax
push dword [esi + 0x1b8]
mov eax, dword [esi + 0x1b4]
call eax
mov ecx, dword [esi + 0x80]
add esp, 0x14
mov edx, eax
test ecx, ecx
je 0x1013af4c
mov byte [ecx + 0x117], 0
jmp 0x1013af59
mov eax, dword [edi]
test eax, eax
je 0x1013af59
mov byte [eax + 0x117], 0
test edx, edx
je 0x1013af8d
push 0x11170eb8
push esi
call fcn.1014b4f0
mov edi, 0x2a
push esi
mov dword [esp + 0x24], edi
call fcn.100299d0
push 0
push edi
push esi
call fcn.1013a3a0
add esp, 0x18
mov byte [esp + 0x12], 1
jmp case.0x1013aa7c.1
mov ecx, dword [esi + 0x34]
cmp byte [esi + 0x69d], 1
mov edx, dword [esi + 0x18]
jne 0x1013afc2
push 0
push edx
call fcn.1014dae0
add esp, 8
cmp dword [esi + 0x34], 0xe
je 0x1013afb4
mov dword [esi + 0x34], 0xe
xor edi, edi
or ebp, 0xffffffff
mov dword [esp + 0x18], edi
jmp case.0x1013aa7c.1
mov eax, dword [edx + 0x260]
xor edi, edi
mov eax, dword [eax + 8]
test eax, eax
je 0x1013afe4
lea ecx, [esp + 0x14]
push ecx
push esi
call eax
mov edx, dword [esi + 0x18]
add esp, 8
mov ecx, dword [esi + 0x34]
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
jne 0x1013b0cd
cmp byte [esp + 0x14], 0
jne 0x1013b085
cmp byte [esi + 0xd1e], 0
je 0x1013b071
mov eax, dword [esi + 0xd30]
mov al, byte [eax + 0x20]
cmp al, 7
je 0x1013b015
cmp al, 5
jne 0x1013b071
push 0
push 0
push esi
call fcn.1013a3a0
mov ebx, dword [esi + 0x18]
add esp, 0xc
mov eax, ebx
neg eax
sbb eax, eax
add eax, 0xf
cmp dword [esi + 0x34], eax
je 0x1013b069
mov dword [esi + 0x34], eax
test ebx, ebx
jne 0x1013b051
mov eax, dword [esi + 0x7c]
dec dword [eax + 0x10]
mov eax, dword [esi + 0x7c]
cmp dword [eax + 0x10], ebp
jne 0x1013b051
push eax
call fcn.1013c2f0
add esp, 4
xor eax, eax
test ebx, ebx
sete al
mov eax, dword [eax*4 + 0x11170ce8]
test eax, eax
je 0x1013b069
push esi
call eax
add esp, 4
or ebp, 0xffffffff
jmp case.0x1013aa7c.1
cmp ecx, 9
je 0x1013b07d
mov dword [esi + 0x34], 9
or ebp, 0xffffffff
jmp case.0x1013aa7c.1
cmp byte [edx + 0x24d], 0
je 0x1013b0a2
cmp ecx, 0xa
je 0x1013b09a
mov dword [esi + 0x34], 0xa
or ebp, 0xffffffff
jmp case.0x1013aa7c.1
cmp ecx, 0xb
je 0x1013b0c5
push 7
lea eax, [esp + 0x70]
mov dword [esi + 0x34], 0xb
push esi
push eax
mov byte [esi + 0x138], 0
call fcn.1015a4f0
add esp, 0xc
or ebp, 0xffffffff
jmp case.0x1013aa7c.1
cmp edi, 0x37
jne 0x1013b18b
cmp byte [edx + 0x247], 0
je 0x1013b18b
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], ebp
push eax
push esi
call fcn.10151f00
add esp, 8
test eax, eax
je 0x1013b104
mov edi, eax
mov byte [esp + 0x12], 1
mov dword [esp + 0x18], edi
push esi
call fcn.100299d0
push 0
push edi
push esi
call fcn.1013a3a0
mov ecx, dword [esp + 0x2c]
add esp, 0x10
test ecx, ecx
je 0x1013b17a
test eax, eax
je 0x1013b139
cmp eax, 0x37
je 0x1013b139
mov edi, eax
push ecx
mov dword [esp + 0x1c], edi
call dword [0x112e6e54]
jmp 0x1013b8e5
push 2
push ecx
push esi
call fcn.101511c0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x1013b166
cmp dword [esi + 0x34], 2
je 0x1013b161
push esi
mov dword [esi + 0x34], 2
call fcn.101516d0
add esp, 4
or ebp, 0xffffffff
xor edi, edi
mov ecx, dword [esp + 0x1c]
push ecx
mov dword [esp + 0x1c], edi
call dword [0x112e6e54]
jmp 0x1013b8e5
push ecx
mov byte [esp + 0x16], 1
call dword [0x112e6e54]
jmp 0x1013b8e5
push esi
call fcn.100299d0
add esp, 4
cmp dword [esi + 0x18], ebp
je 0x1013adb3
push 0
push edi
push esi
call fcn.1013a3a0
add esp, 0xc
mov byte [esp + 0x12], 1
jmp case.0x1013aa7c.1
mov edx, dword [ebx]
test edx, edx
je 0x1013b209
mov eax, dword [edx + 0x260]
cmp dword [eax + 0x1c], ebp
je 0x1013b209
mov byte [esp + 0x14], 0
lea ecx, [esp + 0x14]
mov eax, dword [edx + 0x260]
push ecx
push esi
mov eax, dword [eax + 0x1c]
call eax
mov edx, dword [esi + 0x18]
mov edi, eax
mov ecx, dword [esi + 0x34]
add esp, 8
mov dword [esp + 0x18], edi
test edi, edi
je 0x1013b214
push esi
call fcn.100299d0
push 0
push edi
push esi
call fcn.1013a3a0
add esp, 0x10
mov byte [esp + 0x12], 1
jmp case.0x1013aa7c.1
xor edi, edi
mov byte [esp + 0x14], 1
mov dword [esp + 0x18], edi
cmp byte [esp + 0x14], 0
je case.0x1013aa7c.1
mov dl, byte [edx + 0x24d]
xor eax, eax
test dl, dl
sete al
add eax, 0xa
cmp ecx, eax
je 0x1013b069
mov dword [esi + 0x34], eax
xor eax, eax
test dl, dl
sete al
mov eax, dword [eax*4 + 0x11170cd8]
jmp 0x1013b05f
mov eax, dword [ebx]
xor edx, edx
mov dword [esp + 0x2c], edx
xor edi, edi
mov eax, dword [eax + 0x260]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x1013b278
lea ecx, [esp + 0x2c]
push ecx
push esi
call eax
mov ecx, dword [esi + 0x34]
add esp, 8
mov edx, dword [esp + 0x2c]
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
jne 0x1013b1ed
test edx, edx
je case.0x1013aa7c.1
xor eax, eax
cmp edx, 1
sete al
lea eax, [eax*2 + 9]
cmp ecx, eax
je 0x1013b069
mov dword [esi + 0x34], eax
mov eax, dword [eax*4 + 0x11170cb0]
jmp 0x1013b05f
mov eax, dword [ebx]
cmp byte [eax + 0x256], 0
je 0x1013b2d3
mov ebx, dword [esp + 0x80]
push ebx
call fcn.1013c3c0
mov ecx, dword [esi + 0x34]
lea ebx, [esi + 0x18]
add esp, 4
mov eax, dword [ebx]
cmp dword [eax + 0x278], 0xffffffff
jne 0x1013b31e
cmp dword [eax + 0x27c], 0xffffffff
jne 0x1013b31e
cmp byte [esi + 0xd1e], 0
je 0x1013b309
mov eax, dword [eax + 0x260]
test dword [eax + 0x4c], 0x1000
jne 0x1013b309
mov eax, dword [esi + 0xd30]
mov byte [eax + 0x20], 7
cmp dword [esi + 0x34], 0xe
je 0x1013b32a
mov dword [esi + 0x34], 0xe
or ebp, 0xffffffff
jmp case.0x1013aa7c.1
cmp ecx, 0xc
je 0x1013b32a
mov dword [esi + 0x34], 0xc
or ebp, 0xffffffff
jmp case.0x1013aa7c.1
push esi
call fcn.1015a820
add esp, 4
test eax, eax
je 0x1013b34c
mov ebx, 0x2a
mov edi, ebx
mov dword [esp + 0x18], edi
jmp 0x1013b373
mov ecx, dword [esp + 0x84]
sub esp, 0x10
mov eax, esp
movups xmm0, xmmword [ecx]
push esi
movups xmmword [eax], xmm0
call fcn.1015bba0
mov edi, eax
add esp, 0x14
mov dword [esp + 0x18], edi
mov ebx, edi
test edi, edi
je 0x1013b3a9
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + 0x260]
test byte [eax + 0x4c], 2
jne 0x1013b392
cmp ebx, 0x5c
je 0x1013b392
push 2
push ecx
call fcn.1014dae0
add esp, 8
push esi
call fcn.100299d0
push 1
push ebx
push esi
call fcn.1013a3a0
add esp, 0x10
jmp case.0x1013aa7c.1
mov edx, dword [esi + 0x208]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x20c]
mov eax, edx
or eax, ecx
movlpd qword [esp + 0x30], xmm0
je 0x1013b40f
mov ebx, dword [esp + 0x84]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [ebx]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0x7b0]
push ecx
push edx
push dword [esi + 0x7c4]
movups xmmword [eax], xmm0
push dword [esi + 0x7c0]
push dword [esi + 0x70c]
push dword [esi + 0x708]
call fcn.1015a130
add esp, 0x38
mov dword [esp + 0x1c], edx
mov ebx, eax
jmp 0x1013b41b
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x210]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x214]
or eax, ecx
movlpd qword [esp + 0x24], xmm0
je 0x1013b481
mov edx, dword [esp + 0x84]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [edx]
mov edx, dword [esi + 0x210]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0x7c8]
push ecx
push edx
push dword [esi + 0x7dc]
movups xmmword [eax], xmm0
push dword [esi + 0x7d8]
push dword [esi + 0x704]
push dword [esi + 0x700]
call fcn.1015a130
add esp, 0x38
mov ecx, eax
jmp 0x1013b489
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov eax, ebx
or eax, dword [esp + 0x1c]
jne 0x1013b4c4
mov eax, ecx
or eax, edx
jne 0x1013b4c4
cmp dword [esi + 0x34], 0xc
je 0x1013b4a4
mov dword [esi + 0x34], 0xc
mov ecx, dword [esp + 0x84]
sub esp, 0x10
mov eax, esp
movups xmm0, xmmword [ecx]
push esi
movups xmmword [eax], xmm0
call fcn.1015aba0
add esp, 0x14
jmp case.0x1013aa7c.1
mov eax, dword [esp + 0x1c]
cmp eax, edx
jl 0x1013b4e4
jg 0x1013b4d2
cmp ebx, ecx
jb 0x1013b4e4
push 0xb
push eax
push ebx
push esi
call fcn.10138f40
add esp, 0x10
jmp case.0x1013aa7c.1
push 0xb
push edx
push ecx
push esi
call fcn.10138f40
add esp, 0x10
jmp case.0x1013aa7c.1
mov edx, dword [esi + 0x208]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x20c]
mov eax, edx
or eax, ecx
mov dword [esp + 0x1c], ebp
mov byte [esp + 0x16], 0
movlpd qword [esp + 0x30], xmm0
je 0x1013b565
mov ebx, dword [esp + 0x84]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [ebx]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0x7b0]
push ecx
push edx
push dword [esi + 0x7c4]
movups xmmword [eax], xmm0
push dword [esi + 0x7c0]
push dword [esi + 0x70c]
push dword [esi + 0x708]
call fcn.1015a130
add esp, 0x38
mov dword [esp + 0x20], edx
mov ebx, eax
jmp 0x1013b571
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x210]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x214]
or eax, ecx
movlpd qword [esp + 0x24], xmm0
je 0x1013b5db
mov edx, dword [esp + 0x84]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [edx]
mov edx, dword [esi + 0x210]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [esi + 0x7c8]
push ecx
push edx
push dword [esi + 0x7dc]
movups xmmword [eax], xmm0
push dword [esi + 0x7d8]
push dword [esi + 0x704]
push dword [esi + 0x700]
call fcn.1015a130
add esp, 0x38
mov dword [esp + 0x24], eax
mov ecx, eax
jmp 0x1013b5e7
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x24], ecx
mov eax, ebx
mov dword [esp + 0x30], edx
or eax, dword [esp + 0x20]
jne 0x1013b7cb
mov eax, ecx
or eax, edx
jne 0x1013b7cb
push esi
call fcn.10151b20
add esp, 4
mov edi, eax
cmp byte [esi + 0x12e], 0
mov dword [esp + 0x18], edi
jne 0x1013b659
cmp edi, 0x38
je 0x1013b659
cmp edi, 0x5c
jne 0x1013b68f
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + 0x260]
test byte [eax + 0x4c], 2
jne 0x1013b642
cmp edi, 0x5c
je 0x1013b642
push 2
push ecx
call fcn.1014dae0
add esp, 8
push esi
call fcn.100299d0
push 1
push edi
push esi
call fcn.1013a3a0
add esp, 0x10
jmp case.0x1013aa7c.1
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.10151f00
add esp, 8
test eax, eax
jne 0x1013b685
cmp dword [esp + 0x1c], ebp
setne bl
test bl, bl
je 0x1013b693
xor edi, edi
mov byte [esi + 0x12e], 1
mov dword [esp + 0x18], edi
jmp 0x1013b697
test edi, edi
jne 0x1013b623
mov edi, eax
mov dword [esp + 0x18], edi
mov bl, byte [esp + 0x16]
test edi, edi
jne 0x1013b623
cmp byte [esi + 0x12e], 0
je 0x1013b7aa
push esi
call fcn.100299d0
add esp, 4
test bl, bl
jne 0x1013b75b
cmp dword [esi + 0x120], ebp
jne 0x1013b737
cmp dword [esi + 0x11c], ebp
je 0x1013b71e
push dword [esp + 0x1c]
call dword [0x112e6e54]
mov eax, dword [esi + 0x11c]
push 1
push eax
push esi
mov dword [esp + 0x2c], eax
mov dword [esi + 0x11c], ebp
call fcn.101511c0
push dword [esp + 0x2c]
mov edi, eax
mov dword [esp + 0x2c], edi
call dword [0x112e6e54]
add esp, 0x14
test edi, edi
je 0x1013b71e
push 1
push edi
push esi
mov byte [esp + 0x1e], 1
call fcn.1013a3a0
mov edi, eax
add esp, 0xc
mov dword [esp + 0x18], edi
test edi, edi
jne case.0x1013aa7c.1
cmp dword [esi + 0x34], 0xe
je 0x1013b069
mov dword [esi + 0x34], 0xe
or ebp, 0xffffffff
jmp case.0x1013aa7c.1
push dword [esp + 0x1c]
call dword [0x112e6e54]
mov eax, dword [esi + 0x120]
add esp, 4
mov dword [esp + 0x1c], eax
mov edi, 3
mov dword [esi + 0x120], ebp
jmp 0x1013b760
mov edi, 2
push 0
push 0
push esi
call fcn.1013a3a0
push edi
push dword [esp + 0x2c]
push esi
call fcn.101511c0
mov edi, eax
add esp, 0x18
mov dword [esp + 0x18], edi
test edi, edi
jne 0x1013b79b
cmp dword [esi + 0x34], 2
je 0x1013b798
push esi
mov dword [esi + 0x34], 2
call fcn.101516d0
add esp, 4
or ebp, 0xffffffff
push dword [esp + 0x1c]
call dword [0x112e6e54]
jmp 0x1013b8e5
cmp byte [esi + 0xd17], 0
je case.0x1013aa7c.1
push 8
push 0
push 0
push esi
call fcn.10138f40
add esp, 0x10
jmp case.0x1013aa7c.1
mov ecx, dword [esp + 0x84]
sub esp, 0x10
mov eax, esp
movups xmm0, xmmword [ecx]
push esi
movups xmmword [eax], xmm0
call fcn.1015aba0
add esp, 0x14
cmp dword [esi + 0x34], 0xd
je 0x1013b7f3
mov dword [esi + 0x34], 0xd
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
cmp eax, edx
jl 0x1013b81b
jg 0x1013b823
mov ecx, dword [esp + 0x24]
cmp ebx, ecx
jb 0x1013b81f
push 0xb
push eax
push ebx
push esi
call fcn.10138f40
add esp, 0x10
jmp case.0x1013aa7c.1
mov ecx, dword [esp + 0x24]
mov ebx, ecx
mov eax, edx
push 0xb
push eax
push ebx
push esi
call fcn.10138f40
add esp, 0x10
jmp case.0x1013aa7c.1
mov eax, dword [ebx]
or ebp, 0xffffffff
test eax, eax
je 0x1013b86c
cmp byte [eax + 0x256], 0
je 0x1013b857
mov ebx, dword [esp + 0x80]
push ebx
call fcn.1013c3c0
add esp, 4
push 0
push edi
push esi
call fcn.1013a3a0
add esp, 0xc
test edi, edi
cmove edi, eax
mov dword [esp + 0x18], edi
cmp byte [esi + 0xd1e], 0
je 0x1013b890
mov eax, dword [esi + 0xd30]
cmp byte [eax + 0x20], 7
je 0x1013b890
cmp dword [esi + 0x34], 0
je case.0x1013aa7c.1
mov dword [esi + 0x34], 0
jmp case.0x1013aa7c.1
cmp dword [esi + 0x34], 0xf
je case.0x1013aa7c.1
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x34], 0xf
dec dword [eax + 0x10]
mov eax, dword [esi + 0x7c]
cmp dword [eax + 0x10], 0
jne 0x1013b8b5
push eax
call fcn.1013c2f0
add esp, 4
mov ebx, dword [esi + 0x18]
test ebx, ebx
je 0x1013b8d8
push esi
push ebx
call fcn.1014ad40
push 0
lea eax, [esi + 0x28]
push eax
lea eax, [ebx + 0x2b4]
push eax
call fcn.10152690
add esp, 0x14
push esi
mov dword [esi + 0x18], 0
call fcn.10139150
add esp, 4
cmp dword [esi + 0x18], 0
lea ebx, [esi + 0x18]
je 0x1013b93d
mov eax, dword [esi + 0x34]
lea ebx, [esi + 0x18]
mov edx, dword [esp + 0x80]
sub eax, 2
cmp eax, 5
ja 0x1013b944
lea ebx, [esi + 0x18]
cmp ebp, 0xffffffff
je 0x1013b944
cmp byte [edx + 0x116], 0
lea ebx, [esi + 0x18]
jne 0x1013b944
push 1
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x1a]
push eax
push dword [esp + 0x90]
push esi
call fcn.1013a7e0
mov edi, dword [esp + 0x2c]
lea ebx, [esi + 0x18]
add esp, 0x14
mov edx, dword [esp + 0x80]
cmp dword [esi + 0x34], 0xf
jge 0x1013ba8f
test edi, edi
je 0x1013ba16
push edx
call fcn.1013c3c0
mov ebp, dword [ebx]
add esp, 4
test ebp, ebp
je 0x1013b9ac
cmp byte [esp + 0x12], 0
je 0x1013b9bb
cmp edi, 0x1c
push esi
push ebp
sete byte [esp + 0x40]
call fcn.1014ad40
push 0
lea eax, [esi + 0x28]
push eax
lea eax, [ebp + 0x2b4]
push eax
call fcn.10152690
push 1
push ebp
push esi
mov dword [ebx], 0
call fcn.10142b70
push dword [esp + 0x58]
push ebp
push esi
call fcn.101462f0
add esp, 0x2c
jmp 0x1013b9bb
cmp dword [esi + 0x34], 2
jne 0x1013b9bb
push esi
call fcn.100299d0
add esp, 4
cmp dword [esi + 0x34], 0xf
je 0x1013ba88
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x34], 0xf
dec dword [eax + 0x10]
mov eax, dword [esi + 0x7c]
cmp dword [eax + 0x10], 0
jne 0x1013b9e4
push eax
call fcn.1013c2f0
add esp, 4
mov ebx, dword [esi + 0x18]
test ebx, ebx
je 0x1013ba07
push esi
push ebx
call fcn.1014ad40
push 0
lea eax, [esi + 0x28]
push eax
lea eax, [ebx + 0x2b4]
push eax
call fcn.10152690
add esp, 0x14
push esi
mov dword [esi + 0x18], 0
call fcn.10139150
jmp 0x1013ba85
cmp dword [ebx], 0
je 0x1013ba8b
push esi
call fcn.1015a820
add esp, 4
test eax, eax
je 0x1013ba8b
push 2
push dword [ebx]
mov edi, 0x2a
mov dword [esp + 0x20], edi
call fcn.1014dae0
mov ebx, dword [esi + 0x34]
xor eax, eax
add esp, 8
cmp ebx, 0xe
setge al
add eax, 0xe
cmp ebx, eax
je 0x1013ba88
mov dword [esi + 0x34], eax
cmp ebx, 0xe
jl 0x1013ba6f
mov eax, dword [esi + 0x7c]
dec dword [eax + 0x10]
mov eax, dword [esi + 0x7c]
cmp dword [eax + 0x10], 0
jne 0x1013ba6f
push eax
call fcn.1013c2f0
add esp, 4
xor eax, eax
cmp ebx, 0xe
setge al
mov eax, dword [eax*4 + 0x11170ce8]
test eax, eax
je 0x1013ba88
push esi
call eax
add esp, 4
or ebp, 0xffffffff
cmp dword [esi + 0x34], 0xf
je 0x1013babb
mov ecx, dword [esp + 0x80]
cmp ebp, 0xffffffff
je 0x1013aa00
cmp byte [ecx + 0x116], 0
jne 0x1013aa00
mov dword [esi + 0x38], edi
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
mov eax, dword [esi + 0x678]
test eax, eax
je 0x1013bad5
push edi
push esi
call eax
mov ebx, dword [esp + 0x88]
add esp, 8
jmp 0x1013bafd
mov ebx, dword [esp + 0x80]
lea eax, [esi + 0x3c]
push eax
push eax
mov dword [eax + 0xc], 1
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], edi
lea eax, [ebx + 0x14]
push dword [ebx + 0x18]
push eax
call fcn.10152610
add esp, 0x10
cmp dword [esi + 0x34], 0x10
je 0x1013bb0a
mov dword [esi + 0x34], 0x10
lea eax, [esi + 0x1c]
push eax
push esi
push dword [ebx + 0x38]
lea eax, [ebx + 0x34]
push eax
call fcn.10152610
push esi
push ebx
call fcn.1013c8b0
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x6c
ret