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

Disassembly:
sub esp, 0x64
push ebx
push ebp
mov ebp, dword [0x100bc128]
push esi
mov esi, ecx
mov byte [esp + 0xf], dl
push edi
mov eax, dword [ebp + 0x1a6c]
mov dword [esp + 0x44], esi
mov byte [eax + 0x8c], 1
mov ebx, dword [ebp + 0x1a6c]
cmp byte [ebx + 0x8f], 0
jne 0x1004620e
mov ecx, dword [ebx + 0xc0]
xor edx, edx
mov eax, dword [ebx + 0xc8]
push dword [eax + ecx*4 - 4]
mov ecx, esi
call fcn.100120f0
mov edi, eax
mov dword [esp + 0x14], edi
cmp dword [ebp + 0x1aa4], edi
jne 0x10045b44
mov dword [ebp + 0x1aa8], edi
cmp dword [ebp + 0x1adc], edi
jne 0x10045b53
mov byte [ebp + 0x1ae0], 1
mov eax, esi
cmp esi, 0xffffffff
jae 0x10045b76
nop word [eax + eax]
mov cl, byte [eax]
test cl, cl
je 0x10045b76
cmp cl, 0x23
jne 0x10045b70
cmp byte [eax + 1], cl
je 0x10045b76
inc eax
cmp eax, 0xffffffff
jb 0x10045b60
movss xmm1, dword [ebp + 0x1930]
xorps xmm0, xmm0
cmp esi, eax
jne 0x10045b8a
xorps xmm2, xmm2
jmp 0x10045bca
push ecx
push eax
push esi
push ecx
mov ecx, dword [ebp + 0x192c]
lea eax, [esp + 0x38]
mov dword [esp], 0xbf800000
movaps xmm2, xmm1
push eax
call fcn.10032170
movss xmm0, dword [esp + 0x28]
addss xmm0, dword [0x100afeb4]
movss xmm1, dword [esp + 0x2c]
cvttss2si eax, xmm0
xorps xmm0, xmm0
movd xmm2, eax
cvtdq2ps xmm2, xmm2
mov esi, dword [esp + 0x7c]
movss dword [esp + 0x30], xmm2
mov eax, dword [esp + 0x30]
mov dword [esp + 0x48], eax
movss xmm3, dword [esi + 4]
ucomiss xmm3, xmm0
movss dword [esp + 0x34], xmm1
mov ecx, dword [esp + 0x34]
lahf
mov dword [esp + 0x4c], ecx
movss dword [esp + 0x18], xmm3
test ah, 0x44
jp 0x10045c07
movaps xmm3, xmm1
movss dword [esp + 0x18], xmm1
movss xmm7, dword [esi]
ucomiss xmm7, xmm0
lahf
test ah, 0x44
jp 0x10045c17
movaps xmm7, xmm2
movss xmm1, dword [ebx + 0xcc]
lea ecx, [esp + 0x20]
movss dword [esp + 0x7c], xmm1
movss xmm1, dword [ebx + 0xd0]
addss xmm1, dword [ebx + 0x104]
movss dword [esp + 0x20], xmm7
movss dword [esp + 0x24], xmm3
movss dword [esp + 0x28], xmm1
call fcn.1001da70
mov ecx, dword [esp + 0x78]
mov edx, ecx
movss xmm2, dword [esp + 0x7c]
shr edx, 1
and dl, 1
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
je 0x10045c7d
movss xmm5, dword [ebx + 0x224]
movss xmm1, dword [ebx + 0x22c]
jmp 0x10045c88
movss xmm1, dword [ebx + 0x21c]
movaps xmm5, xmm2
movss xmm0, dword [esi]
xorps xmm4, xmm4
ucomiss xmm0, xmm4
lahf
test ah, 0x44
jnp 0x10045ca0
test ecx, 0x800000
je 0x10045cad
movaps xmm7, xmm1
subss xmm7, xmm5
maxss xmm7, dword [esp + 0x30]
movss xmm6, dword [esp + 0x28]
addss xmm7, xmm5
movss dword [esp + 0x58], xmm2
movaps xmm0, xmm6
movss dword [esp + 0x5c], xmm6
movss dword [esp + 0x60], xmm5
movss dword [esp + 0x64], xmm6
movss dword [esp + 0x50], xmm7
movss dword [esp + 0x68], xmm7
addss xmm0, dword [esp + 0x18]
movss dword [esp + 0x7c], xmm0
movss dword [esp + 0x54], xmm0
movss dword [esp + 0x6c], xmm0
test ecx, 0x4000000
jne 0x10045d70
test dl, dl
jne 0x10045d0a
movss xmm4, dword [ebp + 0x1560]
movss xmm3, dword [ebp + 0x1564]
movaps xmm0, xmm4
mulss xmm0, dword [0x100afe7c]
cvttss2si eax, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [0x100afe7c]
movd xmm2, eax
cvttss2si eax, xmm0
cvtdq2ps xmm2, xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm4, xmm2
subss xmm3, xmm0
subss xmm5, xmm2
subss xmm6, xmm0
addss xmm4, xmm7
addss xmm3, dword [esp + 0x7c]
movss dword [esp + 0x60], xmm5
movss dword [esp + 0x64], xmm6
movss dword [esp + 0x68], xmm4
movss dword [esp + 0x6c], xmm3
movss xmm0, dword [ebx + 0x234]
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [ebx + 0x23c]
movss dword [esp + 0x78], xmm0
test dl, dl
je 0x10045da8
mov eax, dword [ebx + 0x224]
mov dword [ebx + 0x234], eax
mov eax, dword [ebx + 0x22c]
mov dword [ebx + 0x23c], eax
mov eax, ecx
mov edx, edi
and eax, 8
lea ecx, [esp + 0x60]
mov dword [esp + 0x18], eax
push 0
je 0x10045dd9
mov esi, dword [ebx + 0x1b0]
mov eax, esi
or eax, 0x14
mov dword [ebx + 0x1b0], eax
call fcn.1001dba0
mov dword [ebx + 0x1b0], esi
jmp 0x10045dde
call fcn.1001dba0
mov cl, al
mov eax, dword [esp + 0x20]
test al, al
je 0x10045e04
movss xmm0, dword [esp + 0x7c]
movss dword [ebx + 0x234], xmm0
movss xmm0, dword [esp + 0x78]
movss dword [ebx + 0x23c], xmm0
test cl, cl
je 0x1004620e
test al, al
je 0x10045ee4
cmp dword [ebx + 0x198], 0
je 0x10045e27
call fcn.100358b0
jmp 0x10045ee4
cmp dword [ebp + 0x1efc], 0
je 0x10045ee4
mov eax, dword [0x100bc128]
mov edx, dword [eax + 0x1a6c]
mov esi, dword [eax + 0x1efc]
movups xmm0, xmmword [edx + 0x234]
movups xmmword [esi + 0x174], xmm0
mov eax, dword [edx + 0x288]
movups xmm0, xmmword [esi + 0x134]
movss xmm4, dword [esi + 0x134]
movss xmm3, dword [esi + 0x138]
movss xmm2, dword [esi + 0x13c]
movss xmm1, dword [esi + 0x140]
movups xmmword [edx + 0x234], xmm0
movss dword [esp + 0x30], xmm4
movss dword [esp + 0x34], xmm3
movss dword [esp + 0x38], xmm2
movss dword [esp + 0x3c], xmm1
movss dword [eax + 0x60], xmm4
movss dword [eax + 0x64], xmm3
movss dword [eax + 0x68], xmm2
movss dword [eax + 0x6c], xmm1
mov eax, dword [edx + 0x288]
movups xmm0, xmmword [esp + 0x30]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
movups xmmword [eax + ecx*8 - 0x10], xmm0
movzx eax, byte [esi + 0x212]
lea ecx, [esi + 0x1c4]
push eax
push dword [edx + 0x288]
call fcn.1002f5c0
mov eax, dword [esp + 0x1c]
mov edi, 0
mov esi, dword [esp + 0x1c]
mov ecx, eax
shr ecx, 3
and ecx, 0x20000
mov edx, ecx
or edx, 0x10
and eax, 0x200000
mov eax, esi
cmove edx, ecx
mov ecx, edx
or ecx, 0x80
and eax, 0x400000
mov eax, esi
cmove ecx, edx
mov edx, ecx
or edx, 0x4000
cmp dword [esp + 0x18], 0
cmove edx, ecx
mov ecx, edx
or ecx, 0x120
and al, 4
movzx eax, byte [esp + 0x13]
cmove ecx, edx
mov edx, esi
and edx, 0x10
cmp dword [esp + 0x18], 0
mov dword [esp + 0x28], edx
cmove edi, eax
mov eax, ecx
or eax, 0x1000
mov dword [esp + 0x30], edi
test edx, edx
mov edx, dword [esp + 0x14]
cmove eax, ecx
lea ecx, [esp + 0x60]
push eax
lea eax, [esp + 0x17]
push eax
lea eax, [esp + 0x80]
push eax
call fcn.10036790
mov dl, byte [esp + 0x78]
mov cl, al
mov edi, dword [0x100bc128]
mov byte [esp + 0x7c], cl
mov byte [esp + 0x78], dl
test cl, cl
jne 0x10045f9f
test dl, dl
je 0x10046010
test esi, 0x2000000
je 0x10046010
cmp byte [ebp + 0x1c17], 0
jne 0x10045ff6
cmp dword [ebp + 0x1bc4], ebx
jne 0x10045ff6
mov eax, dword [ebp + 0x1c0c]
cmp eax, dword [ebx + 0x140]
jne 0x10045ff6
mov edx, dword [esp + 0x14]
mov byte [ebp + 0x1c16], 1
mov eax, dword [ebx + 0x14c]
mov ecx, dword [ebx + 0x140]
mov dword [edi + 0x1bcc], eax
mov eax, dword [edi + 0x1bc4]
mov dword [edi + 0x1bc8], edx
mov dword [eax + ecx*4 + 0x330], edx
mov dl, byte [esp + 0x78]
mov cl, byte [esp + 0x7c]
test cl, cl
je 0x10046010
mov eax, dword [edi + 0x1a6c]
mov word [edi + 0x1ab4], 0x101
or dword [eax + 0x11c], 4
cmp dword [esp + 0x28], 0
je 0x1004601c
call fcn.10018380
mov al, byte [esp + 0x13]
test al, al
je 0x10046030
test esi, 0x1000000
je 0x10046030
mov dl, 1
jmp 0x1004603e
test dl, dl
jne 0x1004603e
cmp byte [esp + 0x30], dl
je 0x100460c7
test al, al
je 0x1004604d
test dl, dl
je 0x1004604d
mov esi, 0x1a
jmp 0x1004605d
xor eax, eax
test dl, dl
setne al
add eax, 0x18
mov dword [esp + 0x78], eax
mov esi, eax
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
movss xmm0, dword [0x100afebc]
push 0xf
push ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x3c], ecx
mov ecx, esi
mov dword [esp + 0x34], edx
mov edx, dword [edi + 0x1a6c]
mov dword [esp + 0x30], eax
mov dword [esp], 0
call fcn.10012e10
mov ecx, dword [edx + 0x288]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.1002e880
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x60]
push 0xa
call fcn.10013890
mov edi, dword [0x100bc128]
cmp byte [esp + 0x20], 0
je 0x10046193
cmp dword [ebx + 0x198], 0
je 0x100460e5
call fcn.10035960
jmp 0x10046193
cmp dword [ebp + 0x1efc], 0
je 0x10046193
mov esi, dword [edi + 0x1a6c]
mov edi, dword [edi + 0x1efc]
mov eax, dword [esi + 0x288]
imul edx, dword [edi + 0x5c], 0x68
movups xmm0, xmmword [edi + 0x174]
movss xmm4, dword [edi + 0x174]
movss xmm3, dword [edi + 0x178]
movss xmm2, dword [edi + 0x17c]
movss xmm1, dword [edi + 0x180]
add edx, dword [edi + 0xc]
movups xmmword [esi + 0x234], xmm0
movss dword [esp + 0x30], xmm4
movss dword [esp + 0x34], xmm3
movss dword [esp + 0x38], xmm2
movss dword [esp + 0x3c], xmm1
movss dword [eax + 0x60], xmm4
movss dword [eax + 0x64], xmm3
movss dword [eax + 0x68], xmm2
movss dword [eax + 0x6c], xmm1
mov eax, dword [esi + 0x288]
movups xmm0, xmmword [esp + 0x30]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
movups xmmword [eax + ecx*8 - 0x10], xmm0
movzx eax, byte [edx + 0x57]
lea ecx, [edi + 0x1c4]
push eax
push dword [esi + 0x288]
call fcn.1002f5c0
mov esi, dword [esp + 0x18]
test esi, esi
je 0x100461a8
lea edx, [ebp + 0x15ec]
xor ecx, ecx
call fcn.10012fa0
lea eax, [esp + 0x60]
push eax
lea eax, [ebp + 0x15b4]
push eax
lea eax, [esp + 0x50]
push eax
push 0
push dword [esp + 0x54]
lea edx, [esp + 0x64]
lea ecx, [esp + 0x6c]
call fcn.100135a0
test esi, esi
je 0x100461da
mov ecx, 1
call fcn.10012ff0
mov al, byte [esp + 0x7c]
test al, al
je 0x10046210
test dword [ebx + 8], 0x4000000
je 0x10046210
test byte [esp + 0x1c], 1
jne 0x10046210
test byte [ebx + 0x1b0], 0x20
jne 0x10046210
call fcn.1001edf0
mov al, byte [esp + 0x7c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 8
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 8