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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a0
mov eax, dword [0x49c00c]
xor eax, esp
mov dword [esp + 0x19c], eax
push esi
mov esi, ecx
push edi
mov dword [esp + 0x2c], esi
cmp dword [esi + 0x458], 0
jge 0x423569
test byte [esi + 4], 2
jne 0x42355a
push 0x1b
push 0xd9
jmp 0x42355e
push 2
push 2
call fcn.00423240
mov dword [esi + 0x458], eax
cmp dword [esi + 0x45c], 0
jge 0x423589
test byte [esi + 4], 4
jne 0x423589
push 0x40
push 0x41
mov ecx, esi
call fcn.00423240
mov dword [esi + 0x45c], eax
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0x38]
mov dword [esi + 0x24], eax
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x28], eax
mov dword [esp + 0x38], 0
mov eax, dword [esp + 0x38]
mov dword [esp + 0x3c], 0
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 8], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x30], eax
test ecx, ecx
je 0x4235f9
mov eax, dword [0x4a5724]
test eax, eax
je 0x4235f0
dec dword [eax + 0x374]
push ecx
call fcn.0044a8af
add esp, 4
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x423618
mov eax, dword [0x4a5724]
test eax, eax
je 0x42360f
dec dword [eax + 0x374]
push ecx
call fcn.0044a8af
add esp, 4
mov ecx, dword [esi + 0x4c]
xor edi, edi
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
lea edx, [edi + 8]
mov dword [esp + 0x58], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x34], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x30], ecx
test ecx, ecx
jle 0x42367a
cmp ecx, edx
mov eax, ecx
lea ecx, [esp + 0x50]
cmovl eax, edx
push eax
call fcn.00426b80
lea edx, [edi + 8]
mov ecx, dword [esi + 0x34]
mov dword [esp + 0x1c], ecx
test ecx, ecx
jle 0x42369f
cmp ecx, 8
mov eax, ecx
lea ecx, [esp + 0x64]
cmovl eax, edx
push eax
call fcn.00426b00
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x34], edi
imul eax, dword [esp + 0x30], 0xc4
push eax
push 0
push dword [esp + 0x60]
call fcn.00443790
mov eax, dword [esp + 0x28]
add esp, 0xc
lea eax, [eax + eax*2]
shl eax, 3
push eax
push 0
push edi
call fcn.00443790
add esp, 0xc
mov dword [esp + 0x24], 0
cmp dword [esi + 0x4c], 0
jle 0x423800
mov edx, dword [esp + 0x58]
xor eax, eax
add edx, 0xa4
mov dword [esp + 0x28], eax
mov dword [esp + 8], edx
mov ecx, dword [esi + 0x54]
mov dword [edx - 4], 0xffffffff
add ecx, eax
xor edx, edx
mov dword [esp + 0x10], ecx
cmp dword [esi + 0x34], edx
jle 0x423736
mov eax, dword [esp + 8]
mov edi, ecx
nop
cmp dword [eax - 4], 0xffffffff
jne 0x42372e
mov ecx, dword [esi + 0x3c]
mov eax, dword [edi + 0x74]
cmp eax, dword [ecx + edx*4]
mov eax, dword [esp + 8]
jne 0x423728
mov dword [eax - 4], edx
inc edx
cmp edx, dword [esi + 0x34]
jl 0x423710
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 8]
add eax, 0xffffff5c
mov dword [esp + 0xc], eax
cmp dword [eax + 0xa0], 0xffffffff
je 0x423850
mov esi, dword [ecx]
mov edx, dword [ecx + 0xc]
mov ecx, esi
call fcn.00418f00
mov edx, esi
mov esi, dword [esp + 0xc]
push eax
mov ecx, esi
call fcn.00419130
add esp, 4
test eax, eax
je 0x423850
mov eax, dword [esi + 0xa0]
mov esi, 0x491058
mov edx, dword [esp + 8]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], ecx
mov eax, dword [eax + 0x30]
test eax, eax
cmovne esi, eax
mov dword [edx - 8], esi
cmp word [esi], 0
je 0x4237bf
movzx eax, word [esi + 2]
test ax, ax
je 0x4237bb
mov ecx, eax
cmp dword [edx], ecx
cmovge ecx, dword [edx]
add esi, 4
mov dword [edx], ecx
cmp word [esi], 0
jne 0x4237a0
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x14]
inc dword [edi + ecx*8]
mov ecx, dword [edx]
mov eax, dword [esp + 0x28]
cmp dword [edi + esi*8 + 4], ecx
cmovge ecx, dword [edi + esi*8 + 4]
add edx, 0xc4
mov dword [edi + esi*8 + 4], ecx
add eax, 0x78
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x2c]
inc ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 8], edx
mov dword [esp + 0x28], eax
cmp ecx, dword [esi + 0x4c]
jl 0x4236f2
mov eax, dword [esp + 0x30]
xor esi, esi
mov dword [esp + 0x24], esi
test eax, eax
jle 0x423adb
mov esi, dword [esp + 0x58]
add esi, 0xb0
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], esi
mov eax, dword [esi - 0x10]
lea ecx, [eax + eax*2]
mov eax, dword [esi]
mov dword [esp + 8], ecx
mov ecx, dword [esi - 0xc]
add ecx, 0x20
sar ecx, 5
mov dword [esp + 0xc], ecx
cmp ecx, eax
jle 0x423873
test eax, eax
je 0x42385a
cdq
sub eax, edx
mov edx, eax
sar edx, 1
add edx, dword [esi]
jmp 0x42385f
mov byte [esp + 0x1b], 0
jmp 0x42463a
mov edx, 8
cmp edx, ecx
mov eax, ecx
lea ecx, [esi - 4]
cmovg eax, edx
push eax
call fcn.004177c0
mov ecx, dword [esp + 0xc]
lea eax, [ecx*4]
mov dword [esi - 4], ecx
push eax
push 0
push dword [esi + 4]
call fcn.00443790
mov edx, dword [esp + 0x14]
add esp, 0xc
lea eax, [edx*8 + 0xc]
add eax, edi
mov dword [esp + 0x14], eax
cmp dword [eax], 0
jne 0x42390a
mov ecx, dword [edi + edx*8 + 4]
mov edx, dword [eax + 4]
add ecx, 0x20
sar ecx, 5
mov dword [esp + 0x20], ecx
mov dword [esp + 0xc], edx
cmp ecx, edx
jle 0x4238eb
test edx, edx
je 0x4238cd
mov eax, edx
cdq
sub eax, edx
mov edx, eax
sar edx, 1
add edx, dword [esp + 0xc]
jmp 0x4238d2
mov edx, 8
cmp edx, ecx
mov eax, ecx
mov ecx, dword [esp + 0x14]
cmovg eax, edx
push eax
call fcn.004177c0
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
mov dword [eax], ecx
lea eax, [ecx*4]
push eax
mov eax, dword [esp + 0x18]
push 0
push dword [eax + 8]
call fcn.00443790
mov edx, dword [esp + 0x14]
add esp, 0xc
mov eax, dword [esi - 0x14]
mov dword [esp + 0x14], eax
movzx ecx, word [eax]
test cx, cx
je 0x4239e3
nop dword [eax]
movzx eax, word [eax + 2]
test ax, ax
je 0x4239db
movzx edi, cx
cmp edi, eax
ja 0x4239c0
mov eax, dword [esp + 0x34]
mov esi, edi
mov ecx, edi
sar esi, 5
and ecx, 0x1f
mov dword [esp + 0xc], ecx
mov edx, dword [eax + edx*8 + 0x14]
mov eax, 1
shl eax, cl
test dword [edx + esi*4], eax
jne 0x4239ab
mov ecx, dword [esp + 0x10]
mov edx, edi
lea ecx, [ecx - 0xb0]
call fcn.00419670
test eax, eax
je 0x4239ab
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x34]
inc dword [eax - 8]
inc dword [edx + ecx*8 + 8]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0xc]
mov eax, dword [ecx + esi*4]
bts eax, edx
mov dword [ecx + esi*4], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 8]
mov ecx, dword [eax + ecx*8 + 0x14]
mov eax, dword [ecx + esi*4]
bts eax, edx
inc dword [esp + 0x24]
mov dword [ecx + esi*4], eax
mov eax, dword [esp + 0x14]
inc edi
mov edx, dword [esp + 8]
movzx eax, word [eax + 2]
cmp edi, eax
jbe 0x423938
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 8]
add eax, 4
mov dword [esp + 0x14], eax
movzx ecx, word [eax]
test cx, cx
jne 0x423920
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x34]
add esi, 0xc4
sub dword [esp + 0x28], 1
mov dword [esp + 0x10], esi
jne 0x423824
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x24]
test eax, eax
jle 0x423adb
mov esi, dword [esp + 0x58]
add esi, 0xc0
mov dword [esp + 0x28], eax
mov ecx, dword [esi - 0x18]
mov dword [esp + 0x20], ecx
cmp ecx, dword [esi - 4]
jle 0x423a87
mov eax, dword [0x4a5724]
test eax, eax
je 0x423a31
inc dword [eax + 0x374]
lea eax, [ecx*4]
push eax
call fcn.0044f5c5
mov edx, dword [esi]
add esp, 4
mov dword [esp + 0xc], eax
test edx, edx
je 0x423a7e
mov ecx, dword [esi - 8]
shl ecx, 2
push ecx
push edx
push eax
call fcn.00443d00
mov ecx, dword [esi]
add esp, 0xc
test ecx, ecx
je 0x423a71
mov eax, dword [0x4a5724]
test eax, eax
je 0x423a71
dec dword [eax + 0x374]
push ecx
call fcn.0044a8af
mov eax, dword [esp + 0x10]
add esp, 4
mov dword [esi], eax
mov eax, dword [esp + 0x20]
mov dword [esi - 4], eax
lea ecx, [esi - 0x14]
lea edx, [esi - 8]
call fcn.00423460
mov ecx, dword [esi - 0xc]
test ecx, ecx
je 0x423ac6
mov eax, dword [0x4a5724]
mov dword [esi - 0x10], 0
mov dword [esi - 0x14], 0
test eax, eax
je 0x423ab6
dec dword [eax + 0x374]
push ecx
call fcn.0044a8af
add esp, 4
mov dword [esi - 0xc], 0
add esi, 0xc4
sub dword [esp + 0x28], 1
jne 0x423a16
mov esi, dword [esp + 0x24]
cmp dword [esp + 0x1c], 0
jle 0x423b36
mov esi, dword [esp + 0x1c]
lea eax, [edi + 0x14]
mov dword [esp + 0x28], eax
nop dword [eax]
mov ecx, dword [eax]
test ecx, ecx
je 0x423b26
mov dword [eax - 4], 0
mov dword [eax - 8], 0
mov eax, dword [0x4a5724]
test eax, eax
je 0x423b13
dec dword [eax + 0x374]
push ecx
call fcn.0044a8af
mov eax, dword [esp + 0x2c]
add esp, 4
mov dword [eax], 0
add eax, 0x18
mov dword [esp + 0x28], eax
sub esi, 1
jne 0x423af0
mov esi, dword [esp + 0x24]
test edi, edi
je 0x423b5a
mov eax, dword [0x4a5724]
test eax, eax
je 0x423b49
dec dword [eax + 0x374]
push edi
call fcn.0044a8af
add esp, 4
mov dword [esp + 0x34], 0
xor ecx, ecx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x24], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x6c], ecx
test esi, esi
jle 0x423bb4
cmp esi, 8
lea ecx, [esp + 0x38]
mov eax, esi
mov edi, 8
cmovl eax, edi
push eax
call fcn.00426a80
cmp esi, edi
lea ecx, [esp + 0x64]
mov eax, esi
cmovl eax, edi
push eax
call fcn.004269f0
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x24], ecx
mov eax, esi
shl eax, 4
push eax
push 0
push ecx
call fcn.00443790
add esp, 0xc
lea eax, [esi*8]
sub eax, esi
shl eax, 2
push eax
push 0
push dword [esp + 0x74]
call fcn.00443790
mov esi, dword [esp + 0x3c]
xor eax, eax
add esp, 0xc
mov dword [esp + 0x14], eax
xor edx, edx
mov dword [esp + 0x1c], eax
test esi, esi
jle 0x423e49
mov edi, dword [esp + 0x58]
xor esi, esi
mov ecx, dword [esp + 0x30]
add edi, 0xa8
mov dword [esp + 0x10], esi
mov dword [esp + 8], edi
mov dword [esp + 0xc], ecx
mov ecx, dword [edi]
test ecx, ecx
je 0x423e29
mov eax, dword [esp + 0x1c]
xorps xmm0, xmm0
mov esi, dword [esp + 0x6c]
add dword [esp + 0x1c], ecx
shl eax, 4
add eax, dword [esp + 0x24]
mov dword [edi - 0x14], eax
lea eax, [edx*8]
sub eax, edx
add edx, ecx
mov dword [esp + 0x20], edx
lea eax, [esi + eax*4]
mov esi, dword [esp + 0x10]
mov dword [edi - 0x10], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x54]
mov eax, dword [ecx + esi + 0x10]
add ecx, esi
mov dword [edi - 0x2c], eax
mov eax, dword [edi + 0x18]
mov dword [edi - 0x24], eax
mov eax, dword [edi + 0x10]
mov dword [edi - 0x20], eax
mov eax, dword [edi - 0x10]
mov dword [edi - 0x28], 0
mov dword [edi - 0x1c], eax
mov al, byte [ecx + 0x14]
mov byte [edi - 0x18], al
mov al, byte [ecx + 0x18]
mov byte [edi - 0x17], al
movss xmm1, dword [ecx + 0x10]
comiss xmm1, xmm0
mov edx, dword [edi - 0xa4]
mov dword [esp + 0x28], ecx
jbe 0x423cf8
mov edi, dword [edi - 0x8c]
mov eax, 0x100
cwde
movzx ecx, byte [edx + edi + 6]
movsx ecx, cx
imul ecx, eax
movzx eax, byte [edx + edi + 7]
movzx edx, byte [edx + edi + 5]
add cx, ax
movsx esi, cx
mov ecx, dword [esp + 8]
mov eax, dword [ecx - 0xa4]
movzx ecx, byte [eax + edi + 4]
mov eax, 0x100
mov edi, dword [esp + 8]
cwde
movsx ecx, cx
imul ecx, eax
add dx, cx
movsx eax, dx
sub eax, esi
mov esi, dword [esp + 0x10]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
jmp 0x423d1f
mov eax, dword [edi - 0x94]
movzx ecx, byte [edx + eax + 0x13]
movzx eax, byte [edx + eax + 0x12]
shl eax, 8
add ecx, eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
xorps xmm1, xmmword [0x491d80]
mov eax, dword [esp + 0x2c]
xor ecx, ecx
movss dword [esp + 0x48], xmm1
mov dword [esp + 0x70], ecx
mov eax, dword [eax + 0x10]
mov dword [esp + 8], eax
cmp dword [edi + 0x10], ecx
jle 0x423e21
mov dword [esp + 0x44], ecx
mov edx, dword [edi + 0x18]
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x64]
push eax
mov edx, dword [edx + ecx*4]
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x68]
push eax
mov eax, dword [esp + 0x38]
lea ecx, [edi - 0xa8]
sub esp, 8
movd xmm3, dword [eax + 0x18]
movd xmm2, dword [eax + 0x14]
cvtdq2ps xmm3, xmm3
mov dword [esp + 4], 0
mov dword [esp], 0
cvtdq2ps xmm2, xmm2
mulss xmm3, xmm1
mulss xmm2, xmm1
call fcn.00419670
mov edx, eax
lea ecx, [edi - 0xa8]
call fcn.0041bc80
mov ecx, dword [esp + 0x20]
add esp, 0x18
sub ecx, dword [esp + 0x5c]
add ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x44]
dec cx
mov esi, dword [esp + 0x28]
mov eax, dword [edi - 0x14]
movss xmm1, dword [esp + 0x48]
add cx, word [esi + 0x14]
mov word [eax + edx + 4], cx
mov ecx, dword [esp + 0x4c]
sub ecx, dword [esp + 0x38]
add ecx, dword [esp + 8]
mov eax, dword [edi - 0x14]
dec cx
add cx, word [esi + 0x18]
mov word [eax + edx + 6], cx
mov eax, dword [edi - 0x14]
movzx ecx, word [eax + edx + 6]
movzx eax, word [eax + edx + 4]
add edx, 0x10
imul ecx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x44], edx
add eax, ecx
mov ecx, dword [esp + 0x70]
inc ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x70], ecx
cmp ecx, dword [edi + 0x10]
jl 0x423d43
mov esi, dword [esp + 0x10]
jmp 0x423e25
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
add edi, 0xc4
add esi, 0x78
sub dword [esp + 0xc], 1
mov dword [esp + 8], edi
mov dword [esp + 0x10], esi
jne 0x423c14
mov esi, dword [esp + 0x30]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
call fcn.0047ad70
mov edi, dword [esp + 0x2c]
cvtsd2ss xmm0, xmm0
mov ecx, dword [edi + 0xc]
mov dword [edi + 0x20], 0
cvttss2si eax, xmm0
inc eax
test ecx, ecx
jle 0x423e78
mov dword [edi + 0x1c], ecx
jmp 0x423eb6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x491468]
jb 0x423e8f
mov eax, 0x1000
jmp 0x423eb3
comiss xmm0, dword [0x491464]
jb 0x423e9f
mov eax, 0x800
jmp 0x423eb3
comiss xmm0, dword [0x491458]
mov eax, 0x200
mov ecx, 0x400
cmovae eax, ecx
mov dword [edi + 0x1c], eax
push 0x2c
lea eax, [esp + 0x78]
push 0
push eax
call fcn.00443790
add esp, 8
lea ecx, [esp + 0x78]
push dword [edi + 0x10]
sub esp, 8
push dword [edi + 0x1c]
call fcn.0041e820
mov edx, dword [esp + 0x8c]
add esp, 0x14
mov ecx, edi
call fcn.004246a0
test esi, esi
jle 0x423f67
mov esi, dword [esp + 0x58]
mov ecx, dword [esp + 0x30]
add esi, 0xa8
mov dword [esp + 0x20], ecx
mov eax, dword [esi]
test eax, eax
je 0x423f56
mov edx, dword [esi - 0x14]
mov ecx, dword [esp + 0x78]
push eax
call fcn.004186d0
xor ecx, ecx
add esp, 4
mov dword [esp + 0xc], ecx
cmp dword [esi], ecx
jle 0x423f56
xor edx, edx
mov eax, dword [esi - 0x14]
cmp dword [edx + eax + 0xc], 0
je 0x423f4a
movzx ecx, word [edx + eax + 0xa]
movzx eax, word [edx + eax + 6]
add ecx, eax
cmp dword [edi + 0x20], ecx
cmovge ecx, dword [edi + 0x20]
mov dword [edi + 0x20], ecx
mov ecx, dword [esp + 0xc]
inc ecx
add edx, 0x10
mov dword [esp + 0xc], ecx
cmp ecx, dword [esi]
jl 0x423f26
add esi, 0xc4
sub dword [esp + 0x20], 1
jne 0x423f04
mov esi, dword [esp + 0x30]
test byte [edi + 4], 1
je 0x423f72
mov eax, dword [edi + 0x20]
jmp 0x423f98
mov ecx, dword [edi + 0x20]
dec ecx
mov eax, ecx
sar eax, 1
or ecx, eax
mov eax, ecx
sar eax, 2
or ecx, eax
mov eax, ecx
sar eax, 4
or ecx, eax
mov eax, ecx
sar eax, 8
or ecx, eax
mov eax, ecx
sar eax, 0x10
or eax, ecx
mov edx, dword [edi + 0x1c]
lea ecx, [eax + 1]
movss xmm0, dword [0x491374]
mov dword [edi + 0x20], ecx
movd xmm1, edx
cvtdq2ps xmm1, xmm1
imul edx, ecx
divss xmm0, xmm1
movss xmm1, dword [0x491374]
movss dword [esp + 0x38], xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mov eax, dword [esp + 0x38]
mov dword [edi + 0x24], eax
divss xmm1, xmm0
movss dword [esp + 0x3c], xmm1
mov eax, dword [esp + 0x3c]
mov dword [edi + 0x28], eax
mov eax, dword [0x4a5724]
test eax, eax
je 0x423ff3
inc dword [eax + 0x374]
push edx
call fcn.0044f5c5
mov ecx, dword [edi + 0x1c]
add esp, 4
imul ecx, dword [edi + 0x20]
mov dword [edi + 0x14], eax
push ecx
push 0
push eax
call fcn.00443790
mov eax, dword [edi + 0x14]
add esp, 0xc
mov dword [esp + 0x98], eax
mov eax, dword [edi + 0x20]
mov dword [esp + 0x80], eax
test esi, esi
jle 0x4241be
mov ecx, dword [esp + 0x58]
xor eax, eax
mov dword [esp + 0x48], eax
mov edx, esi
mov dword [esp + 8], ecx
mov dword [esp + 0x44], esi
mov esi, dword [edi + 0x54]
add esi, eax
cmp dword [ecx + 0xa8], 0
je 0x42419c
push dword [ecx + 0x94]
lea eax, [ecx + 0x7c]
mov edx, ecx
push ecx
push eax
lea ecx, [esp + 0x80]
call fcn.0041edb0
movss xmm1, dword [esi + 0x44]
add esp, 0xc
ucomiss xmm1, dword [0x491374]
movss dword [esp + 0x38], xmm1
lahf
test ah, 0x44
jnp 0x424186
xor esi, esi
nop
movd xmm0, esi
mov eax, esi
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x491b30]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.004795c0
cmp eax, 0xff
jbe 0x4240c1
mov eax, 0xff
jmp 0x4240c4
movzx eax, al
movss xmm1, dword [esp + 0x38]
mov byte [esp + esi + 0xa0], al
inc esi
cmp esi, 0x100
jb 0x424090
mov ecx, dword [esp + 8]
xor eax, eax
mov dword [esp + 0x1c], eax
mov edx, dword [ecx + 0x94]
cmp dword [ecx + 0xa8], eax
jle 0x42418a
lea ecx, [edx + 4]
mov edx, dword [esp + 8]
mov dword [esp + 0x20], ecx
cmp dword [ecx + 8], 0
je 0x42416e
mov eax, dword [edi + 0x1c]
movzx edx, word [ecx + 6]
movzx esi, word [ecx]
imul edx, eax
mov dword [esp + 0xc], eax
movzx eax, word [ecx + 4]
add edx, eax
add edx, dword [edi + 0x14]
movzx edi, word [ecx + 2]
test edi, edi
je 0x424162
mov eax, dword [esp + 0xc]
xor ecx, ecx
test esi, esi
je 0x424157
nop word [eax + eax]
movzx eax, byte [ecx + edx]
mov al, byte [esp + eax + 0xa0]
mov byte [ecx + edx], al
inc ecx
cmp ecx, esi
jl 0x424140
mov eax, dword [esp + 0xc]
dec edi
add edx, eax
test edi, edi
jg 0x424131
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x2c]
inc eax
add ecx, 0x10
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
cmp eax, dword [edx + 0xa8]
jl 0x424101
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov dword [ecx + 0x94], 0
add eax, 0x78
add ecx, 0xc4
sub edx, 1
mov dword [esp + 0x48], eax
mov dword [esp + 8], ecx
mov dword [esp + 0x44], edx
jne 0x424042
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x9c]
test ecx, ecx
je 0x4241d8
mov eax, dword [0x4a5724]
test eax, eax
je 0x4241d8
dec dword [eax + 0x374]
push ecx
call fcn.0044a8af
mov eax, dword [esp + 0x7c]
add esp, 4
test eax, eax
je 0x4241f9
mov ecx, dword [0x4a5724]
test ecx, ecx
je 0x4241f9
dec dword [ecx + 0x374]
push eax
call fcn.0044a8af
mov ecx, dword [esp + 0x28]
add esp, 4
test ecx, ecx
je 0x42422a
mov eax, dword [0x4a5724]
test eax, eax
je 0x424219
dec dword [eax + 0x374]
push ecx
call fcn.0044a8af
add esp, 4
mov dword [esp + 0x24], 0
test esi, esi
jle 0x424587
mov ecx, dword [esp + 0x58]
xor edx, edx
add ecx, 4
mov dword [esp + 0x14], edx
mov dword [esp + 8], ecx
mov dword [esp + 0x20], esi
jmp 0x424254
mov edi, dword [esp + 0x2c]
cmp dword [ecx + 0xa4], 0
je 0x42468f
mov eax, dword [edi + 0x54]
mov edi, dword [ecx]
add eax, edx
mov dword [esp + 0x10], eax
mov eax, dword [eax + 0x74]
mov dword [esp + 0xc], eax
mov eax, dword [ecx + 0x18]
movzx edx, byte [eax + edi + 5]
movzx ecx, byte [eax + edi + 4]
mov eax, 0x100
movsx ecx, cx
cwde
imul ecx, eax
add dx, cx
mov ecx, dword [esp + 8]
movsx esi, dx
mov eax, dword [ecx + 0x18]
movzx edx, byte [eax + edi + 7]
movzx ecx, byte [eax + edi + 6]
mov eax, 0x100
cwde
movsx ecx, cx
imul ecx, eax
add dx, cx
movsx eax, dx
sub esi, eax
mov eax, dword [esp + 0x10]
movss xmm1, dword [eax + 0x10]
mov eax, dword [esp + 8]
movd xmm0, esi
mov esi, 0x100
cvtdq2ps xmm0, xmm0
mov edx, dword [eax + 0x18]
movsx eax, si
movzx ecx, byte [edx + edi + 4]
divss xmm1, xmm0
movsx ecx, cx
imul ecx, eax
movzx eax, byte [edx + edi + 5]
movss dword [esp + 0x4c], xmm1
add cx, ax
movsx eax, cx
movzx ecx, byte [edx + edi + 6]
mov dword [esp + 0x38], eax
movsx eax, si
mov esi, dword [esp + 0xc]
movsx ecx, cx
imul ecx, eax
movzx eax, byte [edx + edi + 7]
mov edx, dword [esp + 0x10]
add cx, ax
cmp byte [edx + 0x3c], 0
movsx edi, cx
jne 0x4243b5
mov ecx, esi
call fcn.00424eb0
mov edx, dword [esp + 0x10]
xorps xmm3, xmm3
movd xmm1, dword [esp + 0x38]
cvtdq2ps xmm1, xmm1
mov ecx, dword [esp + 0x2c]
mov eax, dword [edx + 0x10]
mov dword [esi + 0x10], eax
xor eax, eax
mov dword [esi + 0x3c], edx
mov dword [esi + 0x38], ecx
comiss xmm1, xmm3
mulss xmm1, dword [esp + 0x4c]
seta al
lea eax, [eax*2 - 1]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movd xmm1, edi
cvtdq2ps xmm1, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
xor eax, eax
comiss xmm1, xmm3
mulss xmm1, dword [esp + 0x4c]
cvtdq2ps xmm0, xmm0
seta al
lea eax, [eax*2 - 1]
movss dword [esi + 0x4c], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esi + 0x50], xmm0
jmp 0x4243bc
mov ecx, dword [esp + 0x2c]
xorps xmm3, xmm3
inc word [esi + 0x40]
movss xmm0, dword [edx + 0x28]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [esi + 0x4c]
addss xmm0, dword [0x491340]
mov edi, dword [esp + 8]
mov dword [esp + 0x1c], 0
cmp dword [edi + 0xa4], 0
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [edx + 0x2c]
movss dword [esp + 0x38], xmm0
jle 0x424565
xor eax, eax
mov dword [esp + 8], eax
nop dword [eax]
movd xmm0, dword [ecx + 0x1c]
sub esp, 0x20
movss xmm1, dword [0x491374]
movss xmm5, dword [0x491374]
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movd xmm0, dword [ecx + 0x20]
mov ecx, dword [edi + 0x94]
cvtdq2ps xmm0, xmm0
movss xmm7, dword [eax + ecx + 0x14]
movss xmm6, dword [eax + ecx + 0x18]
addss xmm7, xmm3
divss xmm5, xmm0
movss xmm0, dword [eax + ecx + 8]
addss xmm6, xmm3
addss xmm0, xmm3
addss xmm7, dword [esp + 0x6c]
addss xmm6, dword [esp + 0x58]
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [eax + ecx + 0xc]
movzx eax, word [eax + ecx]
addss xmm0, xmm3
movd xmm4, eax
mov eax, dword [esp + 0x28]
cvtdq2ps xmm4, xmm4
movzx eax, word [eax + ecx + 2]
movss dword [esp + 0x80], xmm0
mulss xmm4, xmm1
movd xmm3, eax
mov eax, dword [esp + 0x28]
cvtdq2ps xmm3, xmm3
movzx eax, word [eax + ecx + 4]
mulss xmm3, xmm5
movd xmm2, eax
mov eax, dword [esp + 0x28]
cvtdq2ps xmm2, xmm2
movzx eax, word [eax + ecx + 6]
mulss xmm2, xmm1
movd xmm1, eax
mov eax, dword [esp + 0x28]
cvtdq2ps xmm1, xmm1
movss xmm0, dword [eax + ecx + 0x10]
mov eax, dword [edi + 0xbc]
mov ecx, dword [esp + 0x3c]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0x80]
addss xmm0, dword [esp + 0x58]
movzx eax, word [eax + ecx*4]
mov ecx, esi
mulss xmm1, xmm5
movss dword [esp + 0x18], xmm1
movss dword [esp + 0x14], xmm2
movss dword [esp + 0x10], xmm3
movss xmm3, dword [esp + 0x7c]
addss xmm3, dword [esp + 0x6c]
movss dword [esp + 0xc], xmm4
movss dword [esp + 8], xmm6
movss dword [esp + 4], xmm7
movss dword [esp], xmm0
push eax
push edx
call fcn.00425380
mov ecx, dword [esp + 0x1c]
xorps xmm3, xmm3
mov eax, dword [esp + 8]
inc ecx
mov edx, dword [esp + 0x10]
add eax, 0x1c
cmp ecx, dword [edi + 0xa4]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 8], eax
jl 0x424410
mov edx, dword [esp + 0x14]
add edi, 0xc4
add edx, 0x78
sub dword [esp + 0x20], 1
mov ecx, edi
mov dword [esp + 8], edi
mov dword [esp + 0x14], edx
jne 0x424250
mov edi, dword [esp + 0x30]
test edi, edi
jle 0x4245e8
mov esi, dword [esp + 0x58]
add esi, 0xb4
nop dword [eax]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x4245bf
mov eax, dword [0x4a5724]
test eax, eax
je 0x4245b6
dec dword [eax + 0x374]
push ecx
call fcn.0044a8af
add esp, 4
mov ecx, dword [esi]
test ecx, ecx
je 0x4245dd
mov eax, dword [0x4a5724]
test eax, eax
je 0x4245d4
dec dword [eax + 0x374]
push ecx
call fcn.0044a8af
add esp, 4
add esi, 0xc4
sub edi, 1
jne 0x4245a0
mov ecx, dword [esp + 0x2c]
call fcn.00424ab0
mov ecx, dword [esp + 0x6c]
mov byte [esp + 0x1b], 1
test ecx, ecx
je 0x424616
mov eax, dword [0x4a5724]
test eax, eax
je 0x42460d
dec dword [eax + 0x374]
push ecx
call fcn.0044a8af
add esp, 4
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x424636
mov eax, dword [0x4a5724]
test eax, eax
je 0x42462d
dec dword [eax + 0x374]
push ecx
call fcn.0044a8af
add esp, 4
mov edi, dword [esp + 0x34]
test edi, edi
je 0x424656
mov eax, dword [0x4a5724]
test eax, eax
je 0x42464d
dec dword [eax + 0x374]
push edi
call fcn.0044a8af
add esp, 4
mov eax, dword [esp + 0x58]
test eax, eax
je 0x424677
mov ecx, dword [0x4a5724]
test ecx, ecx
je 0x42466e
dec dword [ecx + 0x374]
push eax
call fcn.0044a8af
add esp, 4
mov ecx, dword [esp + 0x1a4]
mov al, byte [esp + 0x1b]
pop edi
pop esi
xor ecx, esp
call fcn.0043ed51
mov esp, ebp
pop ebp
ret
mov edi, dword [esp + 8]
jmp 0x424569