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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0xb8
mov eax, dword [0x46900c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
push esi
mov esi, dword [0x46a538]
push edi
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x50], esi
call fcn.00408900
test eax, eax
mov dword [ebp - 0x94], eax
mov edi, eax
sete cl
mov dword [ebp - 0x6c], edi
mov byte [ebp - 0x49], cl
test eax, eax
jne 0x40a70c
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x90]
call fcn.004089c0
mov edi, eax
mov dword [ebp - 0x6c], edi
mov edx, dword [ebp - 0x48]
mov ecx, edx
and ecx, 0xc0200
cmp ecx, 0xc0200
jne 0x40a725
or edx, 6
mov dword [ebp - 0x48], edx
cmp dword [esi + 0x19f4], 0
mov ecx, dword [edi + 0x24c]
mov eax, dword [esi + 0x19b8]
mov dword [ebp - 0x54], ecx
lea ecx, [esi + 0x19f4]
mov dword [ebp - 0x58], eax
jne 0x40a753
cmp byte [esi + 0x19c5], 0
je 0x40a753
mov cl, 1
jmp 0x40a755
xor cl, cl
dec eax
mov byte [edi + 0x82], cl
cmp dword [edi + 0x24c], eax
mov ecx, dword [edi + 0x9c]
setl al
mov dword [ebp - 0x78], ecx
mov byte [ebp - 0x60], al
test edx, 0x4000000
je 0x40a7a8
push dword [esi + 0x1b34]
lea ecx, [esi + 0x1b28]
call fcn.00411c90
mov ecx, dword [edi + 0x8c]
cmp edi, dword [eax + 4]
setne dl
cmp ecx, dword [eax]
mov ecx, dword [ebp - 0x78]
setne al
or dl, al
mov al, byte [ebp - 0x60]
or al, dl
mov byte [ebp - 0x60], al
test al, al
jne 0x40a7b8
test ecx, ecx
jg 0x40a7b8
mov byte [edi + 0x80], al
jmp 0x40a7d0
push 1
mov edx, 8
mov byte [edi + 0x80], 1
mov ecx, edi
call fcn.00408870
add esp, 4
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0x54], eax
je 0x40a817
mov ecx, dword [ebp - 0x48]
mov dword [edi + 8], ecx
mov dword [edi + 0x24c], eax
xor eax, eax
movsd xmm0, qword [esi + 0x19b0]
cvtpd2ps xmm0, xmm0
movss dword [edi + 0x250], xmm0
mov word [edi + 0x88], ax
mov ax, word [esi + 0x1a0c]
mov word [edi + 0x8a], ax
inc dword [esi + 0x1a0c]
jmp 0x40a81d
mov eax, dword [edi + 8]
mov dword [ebp - 0x48], eax
lea ecx, [esi + 0x19f4]
call fcn.00411b90
test al, al
je 0x40a830
xor edx, edx
jmp 0x40a837
call fcn.00411b80
mov edx, dword [eax]
mov eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0x58]
je 0x40a84f
mov eax, dword [ebp - 0x48]
and eax, 0x5000000
neg eax
sbb eax, eax
and eax, edx
jmp 0x40a855
mov eax, dword [edi + 0x318]
cmp dword [edi + 0xbc], 0
mov dword [ebp - 0x5c], eax
jne 0x40a876
lea eax, [edi + 4]
push eax
lea ecx, [edi + 0xbc]
call fcn.00411b10
lea ecx, [esi + 0x19f4]
lea eax, [ebp - 0x6c]
push eax
call fcn.00411b10
mov dl, 1
mov dword [esi + 0x1a10], 0
mov ecx, edi
call fcn.0040c690
mov eax, dword [ebp - 0x48]
mov ecx, eax
and ecx, 0x4000000
mov dword [ebp - 0x74], ecx
je 0x40a8da
push dword [esi + 0x1b34]
lea edi, [esi + 0x1b34]
lea ecx, [esi + 0x1b28]
call fcn.00411c90
mov esi, eax
mov ecx, edi
mov eax, dword [ebp - 0x6c]
push esi
mov dword [esi + 4], eax
call fcn.00411c40
mov edi, dword [ebp - 0x6c]
mov eax, dword [esi]
mov esi, dword [ebp - 0x50]
mov dword [edi + 0x8c], eax
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x78], 0
jle 0x40a8f1
test eax, 0x1000000
jne 0x40a8f1
mov dword [edi + 0x32c], 0
mov ecx, dword [ebp - 0x54]
cmp ecx, dword [ebp - 0x58]
je 0x40a908
push dword [ebp - 0x5c]
mov edx, eax
mov ecx, edi
call fcn.0040a620
add esp, 4
test byte [esi + 0x1a90], 1
lea edx, [esi + 0x1a90]
mov byte [ebp - 0x43], 0
mov byte [ebp - 0x44], 0
mov byte [ebp - 0x42], 0
je 0x40a9a7
mov ecx, dword [esi + 0x1a94]
mov eax, dword [edi + 0xa0]
and eax, ecx
setne byte [ebp - 0x43]
test ecx, eax
je 0x40a990
lea ecx, [esi + 0x1aa8]
call fcn.00401cf0
comiss xmm0, dword [0x460058]
jbe 0x40a98a
mov eax, dword [esi + 0x1aa0]
mov ecx, dword [esi + 0x1aa4]
mov dword [edi + 0xac], eax
mov dword [edi + 0xb0], ecx
mov eax, dword [esi + 0x1aa8]
mov ecx, dword [esi + 0x1aac]
mov dword [edi + 0xb4], eax
mov dword [edi + 0xb8], ecx
and dword [edi + 0xa0], 0xfffffff1
jmp 0x40a9a1
mov ecx, dword [esi + 0x1a94]
push ecx
lea edx, [esi + 0x1aa0]
mov ecx, edi
call fcn.0040c360
add esp, 4
lea edx, [esi + 0x1a90]
mov eax, dword [edx]
test al, 2
je 0x40aa09
mov eax, dword [edi + 0xa4]
lea edx, [esi + 0x1ab0]
mov ecx, dword [esi + 0x1a98]
xorps xmm1, xmm1
and eax, ecx
je 0x40a9d5
movss xmm0, dword [edx]
comiss xmm0, xmm1
jbe 0x40a9d5
mov byte [ebp - 0x44], 1
jmp 0x40a9dd
mov byte [ebp - 0x44], 0
test eax, eax
je 0x40a9ee
movss xmm0, dword [esi + 0x1ab4]
comiss xmm0, xmm1
mov byte [ebp - 0x42], 1
ja 0x40a9f2
mov byte [ebp - 0x42], 0
push ecx
mov ecx, edi
call fcn.0040c410
mov eax, dword [esi + 0x1a90]
lea edx, [esi + 0x1a90]
add esp, 4
test al, al
jns 0x40aa42
movss xmm1, dword [esi + 0x1ac0]
xorps xmm0, xmm0
comiss xmm1, xmm0
jb 0x40aa29
movss dword [edi + 0x60], xmm1
mov dword [edi + 0x68], 0
movss xmm1, dword [esi + 0x1ac4]
comiss xmm1, xmm0
jb 0x40aa42
movss dword [edi + 0x64], xmm1
mov dword [edi + 0x6c], 0
test byte [edx], 4
je 0x40aa5b
mov eax, dword [esi + 0x1ab8]
mov ecx, dword [esi + 0x1abc]
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], ecx
jmp 0x40aa7f
mov eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0x58]
je 0x40aa7f
xorps xmm2, xmm2
lea ecx, [ebp - 0x84]
xorps xmm1, xmm1
call fcn.00401520
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0x2c], ecx
mov dword [edi + 0x30], eax
mov eax, dword [edx]
test al, 8
je 0x40aaa1
push dword [esi + 0x1a9c]
mov dl, byte [esi + 0x1ac8]
mov ecx, edi
call fcn.0040c490
mov eax, dword [esi + 0x1a90]
add esp, 4
test al, 0x20
je 0x40aaac
mov ecx, edi
call fcn.0040c010
cmp byte [edi + 0x80], 0
je 0x40aac6
push 0
mov edx, 8
mov ecx, edi
call fcn.00408870
add esp, 4
mov eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0x58]
je 0x40bd1f
mov eax, dword [ebp - 0x48]
movss xmm2, dword [0x46028c]
and eax, 0x3000000
movss xmm3, dword [0x46024c]
movaps xmm1, xmm2
push ecx
mov byte [edi + 0x7a], 1
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x58], eax
mov byte [edi + 0x83], 0
mov dword [esp], 0x7f7fffff
call fcn.00401550
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401df0
movups xmm0, xmmword [ebp - 0x2c]
push 1
lea ecx, [edi + 0xbc]
movups xmmword [edi + 0x22c], xmm0
call fcn.00411f40
mov ecx, dword [edi + 0x278]
call fcn.004189e0
cmp byte [edi + 0x354], 0
je 0x40ab4a
mov ecx, edi
call fcn.00405af0
cmp dword [esi + 0x1c50], 0
je 0x40abba
test dword [edi + 8], 0x80000
jne 0x40abba
cmp dword [ebp - 0x94], 0
je 0x40abba
mov ecx, dword [edi]
mov eax, dword [ebp - 0x90]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40ab90
test dl, dl
je 0x40ab8c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40ab90
add eax, 2
add ecx, 2
test dl, dl
jne 0x40ab70
xor eax, eax
jmp 0x40ab95
sbb eax, eax
or eax, 1
test eax, eax
je 0x40abba
mov eax, dword [edi + 0x44]
lea edx, [ebp - 0x64]
push dword [ebp - 0x90]
mov ecx, dword [edi]
mov dword [ebp - 0x64], eax
call fcn.00403bd0
mov dword [edi], eax
add esp, 4
mov eax, dword [ebp - 0x64]
mov dword [edi + 0x44], eax
mov edx, edi
lea ecx, [ebp - 0x84]
call fcn.00408d40
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0x24], ecx
mov dword [edi + 0x28], eax
mov eax, dword [edi + 0x98]
test eax, eax
jle 0x40abe3
dec eax
mov dword [edi + 0x98], eax
mov eax, dword [edi + 0x9c]
test eax, eax
jle 0x40abf4
dec eax
mov dword [edi + 0x9c], eax
cmp dword [ebp - 0x94], 0
mov cl, byte [ebp - 0x44]
mov dl, byte [ebp - 0x42]
jne 0x40ac15
test cl, cl
je 0x40ac0b
test dl, dl
jne 0x40ac15
mov dword [edi + 0x9c], 1
cmp byte [ebp - 0x60], 0
je 0x40ac75
mov eax, dword [ebp - 0x48]
test eax, 0x6000000
je 0x40ac75
mov dword [edi + 0x9c], 1
test al, 0x40
je 0x40ac75
test cl, cl
jne 0x40ac45
mov dword [edi + 0x1c], 0
mov dword [edi + 0x14], 0
test dl, dl
jne 0x40ac57
mov dword [edi + 0x20], 0
mov dword [edi + 0x18], 0
xorps xmm1, xmm1
lea ecx, [ebp - 0x84]
xorps xmm2, xmm2
call fcn.00401520
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0x24], ecx
mov dword [edi + 0x28], eax
jmp 0x40ac78
xorps xmm1, xmm1
mov ecx, edi
call fcn.00405a50
mov edx, dword [ebp - 0x48]
mov eax, edx
and eax, 0x1000000
mov dword [ebp - 0x54], eax
je 0x40ac99
mov eax, dword [esi + 0x154c]
mov dword [edi + 0x40], eax
jmp 0x40acc0
test edx, 0x6000000
je 0x40acb3
test edx, 0x8000000
jne 0x40acb3
movss xmm0, dword [esi + 0x1554]
jmp 0x40acbb
movss xmm0, dword [esi + 0x1530]
movss dword [edi + 0x40], xmm0
mov eax, dword [esi + 0x1524]
mov ecx, dword [esi + 0x1528]
mov dword [edi + 0x34], eax
mov eax, edx
and eax, 0x5010000
mov dword [edi + 0x38], ecx
cmp eax, 0x1000000
jne 0x40ad19
movss xmm0, dword [edi + 0x40]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x40ad19
test edx, 0x400
je 0x40ad00
movss xmm2, dword [esi + 0x1528]
jmp 0x40ad03
xorps xmm2, xmm2
lea ecx, [ebp - 0x84]
call fcn.00401520
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0x34], ecx
mov dword [edi + 0x38], eax
test dl, 0x21
jne 0x40ad82
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.00402f80
cmp dword [esi + 0x1a14], edi
jne 0x40ad64
cmp dword [esi + 0x1a30], 0
jne 0x40ad64
cmp dword [esi + 0x1a38], 0
jne 0x40ad64
push 1
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0x2c]
call fcn.00408180
add esp, 4
test al, al
je 0x40ad64
cmp byte [esi + 0x3e5], 0
je 0x40ad64
mov byte [edi + 0x7e], 1
cmp byte [edi + 0x7e], 0
je 0x40ad86
cmp byte [edi + 0x7d], 0
mov ecx, edi
sete al
mov byte [edi + 0x7d], al
call fcn.00411080
call fcn.0040c010
jmp 0x40ad86
mov byte [edi + 0x7d], 0
lea eax, [edi + 0x24]
mov byte [edi + 0x7e], 0
push eax
mov edx, edi
lea ecx, [ebp - 0x1c]
call fcn.00408e00
mov cl, byte [ebp - 0x49]
add esp, 4
test byte [ebp - 0x48], 0x40
mov byte [ebp - 0x41], cl
je 0x40adde
cmp byte [edi + 0x7d], 0
jne 0x40adde
cmp byte [ebp - 0x44], 0
jne 0x40adc1
movss xmm0, dword [ebp - 0x1c]
movss dword [edi + 0x1c], xmm0
mov byte [ebp - 0x49], 1
cmp byte [ebp - 0x42], 0
jne 0x40ae67
movss xmm0, dword [ebp - 0x18]
movss dword [edi + 0x20], xmm0
mov byte [ebp - 0x41], 1
jmp 0x40ae67
mov al, byte [edi + 0x90]
test al, al
jg 0x40adf1
cmp byte [edi + 0x91], 0
jle 0x40ae67
cmp byte [ebp - 0x44], 0
jne 0x40ae23
test al, al
jle 0x40ae23
cmp byte [edi + 0x93], 0
je 0x40ae15
movss xmm1, dword [ebp - 0x1c]
movss xmm0, dword [edi + 0x1c]
call fcn.00412490
jmp 0x40ae1a
movss xmm0, dword [ebp - 0x1c]
movss dword [edi + 0x1c], xmm0
mov byte [ebp - 0x49], 1
cmp byte [ebp - 0x42], 0
jne 0x40ae5a
cmp byte [edi + 0x91], 0
jle 0x40ae5a
cmp byte [edi + 0x93], 0
je 0x40ae4c
movss xmm1, dword [ebp - 0x18]
movss xmm0, dword [edi + 0x20]
call fcn.00412490
jmp 0x40ae51
movss xmm0, dword [ebp - 0x18]
movss dword [edi + 0x20], xmm0
mov byte [ebp - 0x41], 1
cmp byte [edi + 0x7d], 0
jne 0x40ae67
mov ecx, edi
call fcn.00411080
push dword [edi + 0x20]
mov edx, edi
lea ecx, [ebp - 0x84]
push dword [edi + 0x1c]
call fcn.00408b70
add esp, 8
mov dword [ebp - 0x64], eax
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [edi + 0x1c], ecx
mov dword [edi + 0x20], edx
cmp byte [edi + 0x7d], 0
je 0x40aeb8
cmp dword [ebp - 0x54], 0
jne 0x40aeb8
lea eax, [ebp - 0x84]
push eax
push ecx
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.00402f80
add esp, 4
mov ecx, eax
call fcn.00401e40
mov ecx, eax
jmp 0x40aec9
mov ecx, dword [ebp - 0x64]
mov eax, dword [eax]
mov dword [ebp - 0x68], eax
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x64], ecx
lea ecx, [ebp - 0x68]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], ecx
mov ecx, edi
call fcn.00402fc0
movaps xmm2, xmm0
call fcn.00402f50
cmp byte [ebp - 0x60], 0
addss xmm2, xmm0
movss dword [ebp - 0x64], xmm2
je 0x40af28
mov eax, dword [ebp - 0x48]
and eax, 0xc000000
mov dword [edi + 0x94], 0xffffffff
cmp eax, 0x4000000
jne 0x40af28
cmp byte [ebp - 0x43], 0
jne 0x40af28
lea ecx, [esi + 0x1b34]
call fcn.00411de0
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0x18]
mov dword [edi + 0xc], ecx
mov dword [edi + 0x10], eax
cmp dword [ebp - 0x54], 0
je 0x40af78
mov ecx, dword [ebp - 0x5c]
add ecx, 0x180
mov ax, word [ecx]
mov word [edi + 0x88], ax
lea eax, [ebp - 0x6c]
push eax
call fcn.00411b10
mov edx, dword [ebp - 0x74]
mov cl, byte [ebp - 0x43]
test edx, edx
jne 0x40af7e
test cl, cl
jne 0x40af7e
cmp dword [ebp - 0x58], 0x3000000
je 0x40af7e
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ecx + 0xc8]
mov ecx, dword [ecx + 0xcc]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ecx
jmp 0x40af7b
mov edx, dword [ebp - 0x74]
mov cl, byte [ebp - 0x43]
movss xmm0, dword [edi + 0xac]
ucomiss xmm0, dword [0x46024c]
lahf
test ah, 0x44
jnp 0x40afd6
cmp dword [edi + 0x9c], 0
jne 0x40afd6
lea eax, [edi + 0xb4]
push 0
push eax
lea edx, [edi + 0x1c]
lea ecx, [ebp - 0x84]
call fcn.00401b30
add esp, 4
lea edx, [edi + 0xac]
lea ecx, [ebp - 0x7c]
push eax
call fcn.00401b00
add esp, 4
mov edx, eax
mov ecx, edi
call fcn.0040c360
add esp, 4
jmp 0x40b01a
mov eax, dword [ebp - 0x48]
test eax, 0x10000000
jne 0x40b002
test edx, edx
je 0x40afee
test cl, cl
jne 0x40afee
cmp dword [ebp - 0x78], 0
jg 0x40b002
test eax, 0x2000000
je 0x40b01a
test cl, cl
jne 0x40b01a
cmp dword [ebp - 0x58], 0x3000000
je 0x40b01a
mov edx, edi
lea ecx, [ebp - 0x84]
call fcn.0040ddb0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0xc], ecx
mov dword [edi + 0x10], eax
lea ecx, [ebp - 0x2c]
call fcn.004084b0
lea eax, [esi + 0x15c0]
push eax
lea edx, [esi + 0x15b8]
lea ecx, [ebp - 0x7c]
call fcn.00401c20
add esp, 4
lea edx, [ebp - 0x24]
mov eax, ecx
lea ecx, [ebp - 0x84]
push eax
call fcn.00401b00
add esp, 4
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x70]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00401ad0
add esp, 4
lea ecx, [ebp - 0x40]
push eax
call fcn.00401dc0
cmp byte [ebp - 0x43], 0
jne 0x40b0ac
cmp dword [ebp - 0x54], 0
jne 0x40b0ac
cmp byte [edi + 0x90], 0
jg 0x40b0ac
cmp byte [edi + 0x91], 0
jg 0x40b0ac
lea ecx, [ebp - 0x2c]
call fcn.00401e70
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x40b0ac
call fcn.00401e80
comiss xmm0, xmm1
jbe 0x40b0ac
lea edx, [ebp - 0x40]
mov ecx, edi
call fcn.00409ab0
lea edx, [edi + 0xc]
lea ecx, [ebp - 0x84]
call fcn.00401d20
cmp dword [ebp - 0x54], 0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x48]
mov dword [edx + 4], eax
je 0x40b0d7
movss xmm0, dword [esi + 0x1548]
jmp 0x40b0f7
mov eax, ecx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x40b0ef
movss xmm0, dword [esi + 0x1550]
jmp 0x40b0f7
movss xmm0, dword [esi + 0x152c]
xor al, al
movss dword [edi + 0x3c], xmm0
mov dword [ebp - 0x6c], eax
cmp byte [ebp - 0x60], al
je 0x40b12c
test ecx, 0x1000
jne 0x40b12c
cmp dword [ebp - 0x74], 0
je 0x40b11a
mov byte [ebp - 0x6c], 1
jmp 0x40b12c
cmp dword [ebp - 0x58], 0
mov ecx, 1
movzx eax, al
cmove eax, ecx
mov dword [ebp - 0x6c], eax
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0xffffffff
movups xmmword [ebp - 0x14], xmm0
xor eax, eax
movss xmm0, dword [esi + 0x18dc]
movss xmm1, dword [edi + 0x3c]
movaps xmm2, xmm0
addss xmm1, dword [0x460140]
mulss xmm2, dword [0x4600b8]
cmp byte [esi + 0xb3], al
mulss xmm0, dword [0x46014c]
setne al
addss xmm1, xmm2
inc eax
mov dword [ebp - 0x74], eax
call fcn.00412490
cmp byte [edi + 0x7d], 0
cvttss2si esi, xmm0
jne 0x40b1aa
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
lea eax, [ebp - 0x30]
mov ecx, edi
push eax
lea edx, [ebp - 0x1c]
call fcn.00409200
add esp, 0x10
test al, al
je 0x40b1aa
mov byte [ebp - 0x41], 1
mov byte [ebp - 0x49], 1
mov al, byte [ebp - 0x30]
movss xmm6, dword [ebp - 0x64]
mov byte [edi + 0x84], al
cmp byte [edi + 0x7d], 0
jne 0x40b333
movss xmm2, dword [edi + 0x20]
lea ecx, [ebp - 0x7c]
movss xmm1, dword [edi + 0x1c]
subss xmm2, xmm6
call fcn.00401520
lea eax, [edi + 0x70]
push eax
lea eax, [ebp - 0xb0]
push eax
lea ecx, [edi + 0x1fc]
call fcn.00401e40
mov edx, eax
lea ecx, [ebp - 0x84]
call fcn.00401ad0
add esp, 4
cmp dword [ebp - 0x94], 0
jne 0x40b21d
xorps xmm2, xmm2
lea ecx, [ebp - 0xb0]
xorps xmm1, xmm1
xorps xmm0, xmm0
call fcn.00401520
jmp 0x40b248
movss xmm2, dword [0x46016c]
lea edx, [edi + 0x34]
lea ecx, [ebp - 0x98]
call fcn.00401a90
push eax
lea edx, [edi + 0x24]
lea ecx, [ebp - 0xa0]
call fcn.00401ad0
add esp, 4
xorps xmm0, xmm0
mov cl, byte [ebp - 0x49]
movss xmm5, dword [eax]
movss xmm4, dword [eax + 4]
test cl, cl
je 0x40b25f
movss xmm1, dword [ebp - 0x7c]
jmp 0x40b267
movss xmm1, dword [ebp - 0x84]
cmp byte [ebp - 0x41], 0
je 0x40b274
movss xmm2, dword [ebp - 0x78]
jmp 0x40b279
movss xmm2, dword [ebp - 0x80]
mov eax, dword [ebp - 0x48]
test eax, 0x4000
jne 0x40b290
comiss xmm4, xmm2
jbe 0x40b28c
test al, 8
je 0x40b290
xor cl, cl
jmp 0x40b292
mov cl, 1
mov byte [edi + 0x79], cl
test eax, 0x8000
jne 0x40b2d7
test cl, cl
je 0x40b2b0
mov eax, dword [ebp - 0x50]
movss xmm3, dword [eax + 0x1588]
mov eax, dword [ebp - 0x48]
jmp 0x40b2b3
xorps xmm3, xmm3
subss xmm1, xmm3
comiss xmm5, xmm1
jbe 0x40b2c8
and eax, 0x808
cmp eax, 0x800
je 0x40b2d4
mov eax, dword [ebp - 0x50]
xorps xmm2, xmm2
mov byte [edi + 0x78], 0
jmp 0x40b30c
mov eax, dword [ebp - 0x48]
mov byte [edi + 0x78], 1
cmp byte [edi + 0x79], 0
jne 0x40b301
comiss xmm4, xmm2
jbe 0x40b2ee
test al, 8
jne 0x40b2ee
mov al, 1
jmp 0x40b2f0
xor al, al
mov byte [edi + 0x79], al
cmp byte [edi + 0x78], 0
jne 0x40b301
mov eax, dword [ebp - 0x50]
xorps xmm2, xmm2
jmp 0x40b30c
mov eax, dword [ebp - 0x50]
movss xmm2, dword [eax + 0x1588]
cmp byte [edi + 0x79], 0
je 0x40b31a
movss xmm0, dword [eax + 0x1588]
movaps xmm1, xmm0
lea ecx, [ebp - 0xa0]
call fcn.00401520
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0x70], ecx
mov dword [edi + 0x74], eax
mov eax, dword [ebp - 0x48]
and eax, 0x5000000
mov dword [ebp - 0x94], eax
cmp eax, 0x1000000
jne 0x40b35b
cmp dword [ebp - 0x58], 0x3000000
je 0x40b35b
mov eax, dword [ebp - 0x5c]
add eax, 0x22c
jmp 0x40b35e
lea eax, [ebp - 0x2c]
movups xmm0, xmmword [eax]
lea eax, [ebp - 0xa8]
mov ecx, edi
push eax
movups xmmword [ebp - 0xb8], xmm0
call fcn.00402ee0
lea eax, [ebp - 0x8c]
mov ecx, edi
push eax
call fcn.00402f80
movups xmm0, xmmword [ebp - 0xa8]
lea eax, [ebp - 0xb8]
lea ecx, [edi + 0x1ec]
push eax
movups xmmword [ecx], xmm0
call fcn.00402060
mov eax, dword [edi + 0xc]
movaps xmm0, xmm6
mov dword [edi + 0x1fc], eax
addss xmm0, dword [edi + 0x10]
mov eax, dword [ebp - 0x48]
and eax, 0x401
movss dword [edi + 0x200], xmm0
movss xmm0, dword [edi + 0x14]
addss xmm0, dword [edi + 0xc]
subss xmm0, dword [edi + 0x70]
movss dword [edi + 0x204], xmm0
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [edi + 0x10]
subss xmm0, dword [edi + 0x74]
movss dword [edi + 0x208], xmm0
cmp eax, 1
jne 0x40b3fe
movss xmm2, dword [edi + 0x40]
movaps xmm1, xmm2
jmp 0x40b40e
mov eax, dword [ebp - 0x50]
movss xmm1, dword [edi + 0x40]
movss xmm2, dword [eax + 0x1564]
movss xmm0, dword [edi + 0x34]
lea ecx, [edi + 0x20c]
movss xmm3, dword [0x4600ec]
mulss xmm0, xmm3
call fcn.00401d10
call fcn.00412490
movss xmm1, dword [edi + 0x1fc]
addss xmm1, xmm3
addss xmm0, xmm1
call fcn.00401d10
movss dword [ecx], xmm0
movss xmm0, dword [edi + 0x200]
addss xmm0, xmm3
addss xmm0, xmm2
call fcn.00401d10
movss dword [edi + 0x210], xmm0
movss xmm0, dword [edi + 0x34]
movss xmm2, dword [edi + 0x204]
mulss xmm0, xmm3
addss xmm2, xmm3
call fcn.00401d10
movss xmm1, dword [edi + 0x40]
call fcn.00412490
subss xmm2, xmm0
movaps xmm0, xmm2
call fcn.00401d10
movss dword [edi + 0x214], xmm0
movss xmm0, dword [edi + 0x208]
addss xmm0, xmm3
subss xmm0, dword [edi + 0x40]
call fcn.00401d10
lea eax, [ebp - 0xb8]
movss dword [edi + 0x218], xmm0
push eax
call fcn.004020b0
movss xmm0, dword [edi + 0x14]
xorps xmm2, xmm2
comiss xmm0, xmm2
jbe 0x40b4e7
test dword [ebp - 0x48], 0x2000040
jne 0x40b4e7
mulss xmm0, dword [0x46010c]
jmp 0x40b4fa
mov eax, dword [ebp - 0x50]
movss xmm0, dword [eax + 0x18dc]
mulss xmm0, dword [0x4601c0]
call fcn.00401d10
movss dword [edi + 0x254], xmm0
lea ecx, [edi + 0x1fc]
movss xmm1, dword [edi + 0x34]
addss xmm1, xmm1
addss xmm1, dword [edi + 0x24]
call fcn.00401e70
subss xmm1, xmm0
xorps xmm0, xmm0
call fcn.00412490
movss dword [edi + 0x58], xmm0
lea ecx, [edi + 0x1fc]
movss xmm1, dword [edi + 0x38]
addss xmm1, xmm1
addss xmm1, dword [edi + 0x28]
call fcn.00401e80
subss xmm1, xmm0
xorps xmm0, xmm0
call fcn.00412490
push 1
mov edx, edi
movss dword [edi + 0x5c], xmm0
lea ecx, [ebp - 0xa0]
call fcn.0040d040
movss xmm2, dword [0x46024c]
add esp, 4
movaps xmm1, xmm2
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0x50], ecx
lea ecx, [ebp - 0xa0]
mov dword [edi + 0x54], eax
call fcn.00401520
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0x60], ecx
mov dword [edi + 0x64], eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [edi + 0x278]
mov eax, dword [eax + 0x18d8]
mov eax, dword [eax + 0x38]
push dword [eax + 8]
call fcn.00418df0
push 0
lea edx, [ebp - 0xb0]
lea ecx, [ebp - 0xb8]
call fcn.00407b00
add esp, 4
test dword [ebp - 0x48], 0x8000000
je 0x40b5e8
call fcn.0040d650
cmp edi, eax
jne 0x40b5e8
cmp dword [edi + 0x9c], 0
jg 0x40b5e8
mov cl, 1
jmp 0x40b5ea
xor cl, cl
mov edx, dword [ebp - 0x50]
mov eax, dword [edx + 0x1c4c]
test eax, eax
je 0x40b603
cmp edi, dword [eax + 0x31c]
jne 0x40b603
mov al, 1
jmp 0x40b605
xor al, al
mov byte [ebp - 0x41], al
test cl, cl
jne 0x40b614
test al, al
je 0x40b6cf
movss xmm1, dword [edx + 0x1cc0]
movzx ecx, cl
add ecx, 0x2e
call fcn.004049b0
push 0xf
push ecx
mov ecx, dword [edi + 0x278]
mov dword [esp], 0
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0041a550
cmp byte [ebp - 0x41], 0
je 0x40b6cf
mov eax, dword [ebp - 0x50]
cmp edi, dword [eax + 0x1c4c]
jne 0x40b6cf
lea eax, [ebp - 0xa8]
mov ecx, edi
push eax
call fcn.00402ee0
mov edx, dword [ebp - 0x50]
lea ecx, [ebp - 0xa8]
movss xmm1, dword [edx + 0x18dc]
call fcn.00401f90
lea eax, [ebp - 0x2c]
push eax
call fcn.00401f10
test al, al
jne 0x40b6cf
movss xmm1, dword [edx + 0x1c58]
mulss xmm1, dword [0x4600c0]
push 0xf
movss xmm0, dword [edx + 0x152c]
push ecx
mov ecx, 0x2d
movss dword [esp], xmm0
call fcn.004049b0
mov ecx, dword [edi + 0x278]
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.0041a550
cmp dword [ebp - 0x94], 0x1000000
mov byte [ebp - 0x41], 0
jne 0x40b712
cmp dword [ebp - 0x58], 0x3000000
je 0x40b712
mov ecx, dword [edi + 0x278]
call fcn.00412010
cmp dword [eax + 0x1c], 0
jne 0x40b712
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x278]
cmp dword [eax + 0x18], 0
jle 0x40b712
mov byte [ebp - 0x41], 1
mov dword [edi + 0x278], eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 0x1c48]
test ecx, ecx
jne 0x40b725
mov ecx, dword [eax + 0x1b40]
cmp byte [ebp - 0x6c], 0
jne 0x40b746
test ecx, ecx
je 0x40b73d
mov eax, dword [edi + 0x320]
cmp eax, dword [ecx + 0x320]
je 0x40b746
mov byte [ebp - 0x94], 0
jmp 0x40b74d
mov byte [ebp - 0x94], 1
movd xmm0, esi
lea eax, [ebp - 0x14]
cvtdq2ps xmm0, xmm0
push ecx
lea edx, [ebp - 0x8c]
mov ecx, edi
movss dword [esp], xmm0
push eax
push dword [ebp - 0x74]
push dword [ebp - 0x94]
call fcn.00409dc0
add esp, 0x10
cmp byte [ebp - 0x41], 0
je 0x40b789
lea eax, [edi + 0x27c]
mov dword [edi + 0x278], eax
mov esi, dword [ebp - 0x50]
cmp dword [esi + 0x1c4c], edi
jne 0x40b83c
movss xmm1, dword [esi + 0x152c]
movss xmm0, dword [edi + 0x3c]
call fcn.00412490
lea eax, [ebp - 0xa8]
mov ecx, edi
push eax
movaps xmm4, xmm0
call fcn.00402ee0
movss xmm2, dword [esi + 0x18dc]
lea ecx, [ebp - 0xa8]
movaps xmm1, xmm2
call fcn.00401f90
lea eax, [ebp - 0x2c]
push eax
call fcn.00401f10
test al, al
je 0x40b7fa
xorps xmm2, xmmword [0x4603a0]
subss xmm2, dword [0x460140]
movaps xmm1, xmm2
call fcn.00401f90
movss xmm4, dword [edi + 0x3c]
movss xmm1, dword [esi + 0x1c58]
push ecx
mov dword [esp], 0x40400000
mov ecx, 0x2d
push 0xffffffffffffffff
sub esp, 8
movss dword [esp + 4], xmm4
call fcn.004049b0
mov ecx, dword [edi + 0x278]
add esp, 4
push eax
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.0041a480
mov ecx, dword [ebp - 0x48]
xorps xmm3, xmm3
movss xmm4, dword [edi + 0x2c]
mov edx, ecx
shr edx, 3
not dl
and dl, 1
ucomiss xmm4, xmm3
lahf
test ah, 0x44
jnp 0x40b85f
lea ecx, [edi + 0x34]
jmp 0x40b899
mov eax, ecx
and eax, 0x808
cmp eax, 0x800
jne 0x40b874
movss xmm0, dword [edi + 0x24]
jmp 0x40b877
xorps xmm0, xmm0
movss xmm2, dword [edi + 0x34]
lea ecx, [edi + 0x34]
movss xmm1, dword [edi + 0x14]
addss xmm2, xmm2
subss xmm1, xmm2
subss xmm1, dword [edi + 0x70]
call fcn.00412490
movaps xmm4, xmm0
movss xmm2, dword [edi + 0x30]
ucomiss xmm2, xmm3
lahf
test ah, 0x44
jp 0x40b8d9
test dl, dl
je 0x40b8b2
movss xmm0, dword [edi + 0x28]
jmp 0x40b8b5
xorps xmm0, xmm0
movss xmm2, dword [edi + 0x38]
movss xmm1, dword [edi + 0x18]
addss xmm2, xmm2
subss xmm1, xmm2
subss xmm1, dword [ebp - 0x64]
subss xmm1, dword [edi + 0x74]
call fcn.00412490
movaps xmm2, xmm0
movss xmm1, dword [edi + 0x40]
movss xmm0, dword [ecx]
call fcn.00412490
movss xmm1, dword [edi + 0x1fc]
subss xmm1, dword [edi + 0x50]
addss xmm0, xmm1
call fcn.00401d10
movss dword [edi + 0x21c], xmm0
movss xmm1, dword [edi + 0x40]
movss xmm0, dword [edi + 0x38]
call fcn.00412490
movss xmm1, dword [edi + 0x200]
subss xmm1, dword [edi + 0x54]
addss xmm0, xmm1
call fcn.00401d10
movss dword [edi + 0x220], xmm0
lea edx, [edi + 0xc]
addss xmm4, dword [edi + 0x21c]
movss dword [edi + 0x224], xmm4
addss xmm2, dword [edi + 0x220]
movss dword [edi + 0x228], xmm2
movss xmm0, dword [edx]
subss xmm0, dword [edi + 0x50]
movss xmm2, dword [ebp - 0x64]
addss xmm0, dword [ecx]
movss dword [edi + 0x23c], xmm0
movss xmm0, dword [edi + 0x10]
subss xmm0, dword [edi + 0x54]
addss xmm0, dword [edi + 0x38]
addss xmm0, xmm2
movss dword [edi + 0x240], xmm0
movss xmm1, dword [edi + 0x2c]
ucomiss xmm1, xmm3
lahf
test ah, 0x44
jp 0x40b9ae
movss xmm0, dword [ecx]
movss xmm1, dword [edi + 0x14]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, dword [edi + 0x70]
addss xmm1, dword [edi + 0x23c]
movss dword [edi + 0x244], xmm1
movss xmm1, dword [edi + 0x30]
ucomiss xmm1, xmm3
lahf
test ah, 0x44
jp 0x40b9e7
movss xmm0, dword [edi + 0x38]
movss xmm1, dword [edi + 0x18]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, xmm2
subss xmm1, dword [edi + 0x74]
addss xmm1, dword [edi + 0x240]
movss dword [edi + 0x248], xmm1
movss xmm0, dword [ecx]
lea ecx, [ebp - 0xa0]
addss xmm0, xmm3
subss xmm0, dword [edi + 0x50]
movss dword [edi + 0x100], xmm0
mov dword [edi + 0x108], 0
mov dword [edi + 0x104], 0
addss xmm2, dword [edi + 0x38]
movss xmm1, dword [edi + 0x100]
addss xmm1, xmm3
subss xmm2, dword [edi + 0x54]
call fcn.00401520
push eax
lea ecx, [ebp - 0xb0]
call fcn.00401ad0
mov esi, eax
add esp, 4
xorps xmm2, xmm2
xorps xmm1, xmm1
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov dword [edi + 0xd8], ecx
mov dword [edi + 0xdc], edx
mov ecx, dword [esi]
mov edx, dword [esi + 4]
mov dword [edi + 0xc8], ecx
mov dword [edi + 0xcc], edx
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [edi + 0xd0], eax
mov dword [edi + 0xd4], ecx
mov eax, dword [edi + 0xd8]
mov ecx, dword [edi + 0xdc]
mov dword [edi + 0xe0], eax
mov dword [edi + 0xe4], ecx
lea ecx, [ebp - 0xa0]
call fcn.00401520
cmp dword [ebp - 0x54], 0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [edi + 0xf0], ecx
mov dword [edi + 0xf4], edx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0xe8], ecx
mov dword [edi + 0xec], eax
mov dword [edi + 0xfc], 0
mov dword [edi + 0xf8], 0
mov dword [edi + 0x134], 0
mov dword [edi + 0x138], 1
mov eax, dword [edi + 0x140]
mov dword [edi + 0x13c], eax
mov dword [edi + 0x140], 0
je 0x40bb1f
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x144]
jmp 0x40bb21
xor eax, eax
mov esi, dword [ebp - 0x50]
mov dword [edi + 0x144], eax
mov byte [edi + 0x148], 0
movss xmm1, dword [edi + 0x5c]
comiss xmm1, xmm3
seta al
mov byte [edi + 0x149], al
mov byte [edi + 0x14a], 0
movss xmm1, dword [esi + 0x1568]
movss xmm0, dword [edi + 0x34]
call fcn.00412490
movss xmm1, dword [esi + 0x1ae8]
call fcn.00412490
push dword [ebp - 0x60]
movss dword [edi + 0x14c], xmm0
mov eax, dword [esi + 0x1aec]
mov dword [edi + 0x150], eax
movss xmm2, dword [esi + 0x1568]
push ecx
lea ecx, [edi + 0x154]
call fcn.0042b2a0
push ecx
mov dword [edi + 0x178], 0
lea ecx, [edi + 0x180]
mov dword [edi + 0x17c], 0
call fcn.00411b50
lea eax, [edi + 0x258]
mov dword [edi + 0x18c], eax
mov eax, dword [ebp - 0x5c]
mov dword [edi + 0x190], 0
mov dword [edi + 0x194], 1
test eax, eax
je 0x40bbe2
mov eax, dword [eax + 0x194]
jmp 0x40bbe7
mov eax, 1
mov dword [edi + 0x198], eax
mov dword [edi + 0x1a0], 0xffffffff
mov dword [edi + 0x19c], 0xffffffff
mov eax, dword [edi + 0x254]
push ecx
mov dword [edi + 0x1a8], eax
lea ecx, [edi + 0x1b0]
mov dword [edi + 0x1ac], 0xbf800000
call fcn.00411b50
push ecx
lea ecx, [edi + 0x1bc]
call fcn.00411b50
push ecx
lea ecx, [edi + 0x1c8]
call fcn.00411b50
push 0
lea ecx, [edi + 0x1d4]
call fcn.00411aa0
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x40bc6b
mov eax, dword [eax + 0x1a4]
lea edx, [edi + 0x1a4]
push edx
lea ecx, [edi + 0x1b0]
mov dword [edx], eax
call fcn.00411b10
jmp 0x40bc75
mov dword [edi + 0x1a4], 0
mov al, byte [edi + 0x90]
test al, al
jle 0x40bc87
dec al
mov byte [edi + 0x90], al
mov al, byte [edi + 0x91]
test al, al
jle 0x40bc99
dec al
mov byte [edi + 0x91], al
cmp byte [ebp - 0x6c], 0
je 0x40bcaf
mov ecx, edi
call fcn.0040c010
xor dl, dl
mov ecx, edi
call fcn.0040e980
test byte [ebp - 0x48], 1
jne 0x40bccc
push ecx
push dword [ebp - 0x90]
lea edx, [ebp - 0x8c]
mov ecx, edi
call fcn.0040a210
add esp, 8
mov eax, dword [edi + 0x48]
lea edx, [ebp - 0x84]
push 0
lea ecx, [ebp - 0x8c]
mov dword [edi + 0x10c], eax
call fcn.00408180
movups xmm0, xmmword [ebp - 0x8c]
xor ecx, ecx
lea edx, [edi + 0x214]
add esp, 4
test al, al
setne cl
mov dword [edi + 0x110], ecx
lea ecx, [edi + 0x20c]
push 1
movups xmmword [edi + 0x114], xmm0
call fcn.00407b00
mov byte [edi + 0x7c], 0
jmp 0x40bd39
mov ecx, edi
call fcn.00405a50
push 1
lea edx, [edi + 0x214]
lea ecx, [edi + 0x20c]
call fcn.00407b00
inc word [edi + 0x86]
lea ecx, [esi + 0x1a90]
add esp, 4
call fcn.00402320
mov eax, dword [ebp - 0x48]
test eax, 0x1000000
je 0x40bdd3
test al, 0x40
jne 0x40bd9a
cmp byte [edi + 0x90], 0
jg 0x40bd9a
cmp byte [edi + 0x91], 0
jg 0x40bd9a
movss xmm0, dword [edi + 0x1ec]
comiss xmm0, dword [edi + 0x1f4]
jae 0x40bd90
movss xmm0, dword [edi + 0x1f0]
comiss xmm0, dword [edi + 0x1f8]
jb 0x40bd9a
mov dword [edi + 0x98], 1
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x40bdd3
cmp byte [eax + 0x7d], 0
jne 0x40bdb0
cmp dword [eax + 0x98], 0
jle 0x40bdc0
mov dword [edi + 0x98], 1
cmp byte [eax + 0x7d], 0
jne 0x40bdc9
cmp dword [eax + 0x9c], 0
jle 0x40bdd3
mov dword [edi + 0x9c], 1
xorps xmm1, xmm1
comiss xmm1, dword [esi + 0x1520]
jb 0x40bde9
mov dword [edi + 0x98], 1
cmp dword [edi + 0x98], 0
jg 0x40bdff
cmp dword [edi + 0x9c], 0
jg 0x40bdff
xor cl, cl
jmp 0x40be01
mov cl, 1
xor al, al
mov byte [edi + 0x81], cl
cmp byte [edi + 0x7d], al
jne 0x40be17
cmp byte [edi + 0x7a], al
je 0x40be17
test cl, cl
je 0x40be3b
cmp byte [edi + 0x90], 0
jg 0x40be3b
cmp byte [edi + 0x91], 0
jg 0x40be3b
cmp dword [edi + 0x9c], 0
mov ecx, 1
movzx eax, al
cmovle eax, ecx
mov ecx, dword [ebp - 4]
mov byte [edi + 0x7f], al
xor ecx, ebp
pop edi
xor al, 1
pop esi
call fcn.00432429
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret