Function at 0x480410
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
push 0xffffffffffffffff
push 0x5f2fdb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1d8
mov eax, dword [0x67bbb0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1b4], ecx
mov esi, dword [0x682310]
mov eax, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
mov dword [ebp - 0x160], eax
mov eax, dword [esi + 0x1c48]
mov dword [ebp - 0x16c], esi
mov byte [eax + 0xc5], 1
mov eax, dword [esi + 0x1c48]
mov dword [ebp - 0x18c], eax
cmp byte [eax + 0xc8], 0
jne 0x4806a7
mov edx, dword [ebx + 0x14]
mov eax, edx
shr eax, 0xe
mov ecx, edx
and eax, 0xffffff01
shr ecx, 0x1a
mov dword [ebp - 0x170], eax
and ecx, 0xffffff01
mov eax, edx
mov dword [ebp - 0x154], ecx
shr eax, 0xf
and eax, 0xffffff01
mov dword [ebp - 0x1a4], eax
mov eax, edx
shr eax, 0x10
not al
and eax, 0xffffff01
mov dword [ebp - 0x184], eax
mov eax, edx
shr eax, 0x12
and eax, 0xffffff01
mov dword [ebp - 0xcc], eax
test cl, cl
je 0x4804f4
call fcn.00457270
mov ecx, dword [ebp - 0x18c]
push 0
push dword [ebp - 0x1b4]
call fcn.0044bc50
movss xmm0, dword [0x66def0]
mov edx, dword [ebp - 0x1b4]
push ecx
mov dword [esp], 0xbf800000
lea ecx, [ebp - 0x8c]
push 1
push 0
mov dword [ebp - 0x158], eax
movss dword [ebp - 0x1a8], xmm0
call fcn.00450650
movss xmm0, dword [edi]
add esp, 0xc
cmp byte [ebp - 0x154], 0
movss dword [ebp - 0x30], xmm0
movss xmm0, dword [edi + 4]
movss dword [ebp - 0x2c], xmm0
je 0x48056b
movss xmm1, dword [esi + 0x19d8]
mulss xmm1, dword [0x66de8c]
jmp 0x480573
movss xmm1, dword [ebp - 0x88]
movss xmm0, dword [esi + 0x15d4]
addss xmm0, xmm0
addss xmm0, xmm1
movss dword [ebp - 0x1c], xmm0
call fcn.00457110
push dword [ebp - 0x2c]
movss xmm2, dword [ebp - 0x1c]
lea ecx, [ebp - 0xa0]
push dword [ebp - 0x30]
movaps xmm1, xmm0
call fcn.00457190
movss xmm0, dword [ebp - 0x8c]
xorps xmm1, xmm1
add esp, 8
comiss xmm0, xmm1
jbe 0x4805c7
movss xmm4, dword [esi + 0x15e8]
addss xmm4, xmm0
jmp 0x4805ca
xorps xmm4, xmm4
cmp byte [ebp - 0x154], 0
lea ecx, [ebp - 0x84]
mov eax, dword [ebp - 0x18c]
movss xmm6, dword [ebp - 0x9c]
movss xmm5, dword [ebp - 0xa0]
addss xmm4, xmm5
movss dword [ebp - 0x1a0], xmm5
movss xmm0, dword [eax + 0x10c]
movss xmm3, dword [eax + 0x108]
addss xmm0, xmm6
movss dword [ebp - 0xc8], xmm3
movaps xmm1, xmm3
movss xmm2, dword [eax + 0x10c]
addss xmm1, xmm5
addss xmm4, xmm3
movss dword [ebp - 0xb8], xmm6
movss dword [ebp - 0xc4], xmm2
movss dword [ebp - 0xbc], xmm0
movaps xmm0, xmm2
addss xmm0, xmm6
movss dword [ebp - 0x84], xmm3
movss dword [ebp - 0xc0], xmm1
movss dword [ebp - 0x80], xmm2
movss dword [ebp - 0x7c], xmm4
mov dword [ebp - 0x174], eax
movss dword [ebp - 0x78], xmm0
je 0x4807c5
mov edi, dword [ebp - 0x158]
lea eax, [ebp - 0xc8]
push 1
push eax
mov edx, edi
call fcn.00456cc0
add esp, 8
test al, al
jne 0x4806ae
movss xmm1, dword [esi + 0x15d4]
lea ecx, [ebp - 0x84]
call fcn.00456c90
call fcn.004573a0
xor al, al
jmp 0x482e2f
lea edx, [esi + 0x16cc]
mov ecx, 3
call fcn.0044a2e0
movss xmm1, dword [esi + 0x15d8]
mov ecx, 6
call fcn.0044a380
movss xmm1, dword [esi + 0x15dc]
mov ecx, 7
call fcn.0044a380
movss xmm1, dword [ebp - 0xc0]
lea eax, [ebp - 0x30]
movss xmm0, dword [ebp - 0xbc]
mov edx, edi
subss xmm1, dword [ebp - 0xc8]
subss xmm0, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0x1b4]
push 4
push 1
push eax
movss dword [ebp - 0x30], xmm1
movss dword [ebp - 0x2c], xmm0
call fcn.00450cf0
add esp, 0xc
mov byte [ebp - 0x166], al
mov ecx, 2
call fcn.0044a470
mov ecx, 1
call fcn.0044a330
cmp byte [ebp - 0x166], 0
jne 0x480758
call fcn.00450ec0
call fcn.004573a0
xor al, al
jmp 0x482e2f
mov edi, dword [esi + 0x1c48]
mov dword [ebp - 0x174], edi
movsx ecx, word [edi + 0x182]
mov eax, dword [edi + 0x17c]
bts ecx, eax
mov word [edi + 0x182], cx
movss xmm0, dword [edi + 0x108]
addss xmm0, dword [esi + 0x15d0]
movss dword [edi + 0x108], xmm0
movss xmm0, dword [esi + 0x15d4]
addss xmm0, dword [edi + 0x10c]
movss dword [edi + 0x10c], xmm0
movss xmm0, dword [ebp - 0x1a0]
subss xmm0, dword [edi + 0xb8]
movss dword [ebp - 0x1a0], xmm0
jmp 0x480800
movss xmm1, dword [esi + 0x15d4]
call fcn.00456c90
test dword [ebx + 0x14], 0x10000000
jne 0x480800
mov edx, dword [ebp - 0x158]
lea eax, [ebp - 0xc8]
push 1
push eax
lea ecx, [ebp - 0x84]
call fcn.00456cc0
add esp, 8
test al, al
je 0x4806a7
mov edx, dword [ebp - 0x158]
lea ecx, [ebp - 0xc8]
call fcn.0044bfe0
mov dl, al
mov byte [ebp - 0x165], dl
test dl, dl
je 0x480827
mov dword [esi + 0x1f58], 1
mov ecx, dword [0x682310]
xor edi, edi
mov eax, dword [ebp - 0x158]
add ecx, 0x2070
cmp dword [ecx], eax
mov eax, dword [ebp - 0x18c]
cmove edi, ecx
mov dword [ebp - 0x178], edi
mov eax, dword [eax + 0x158]
mov ecx, eax
shr ecx, 8
shr eax, 9
and ecx, 0xffffff01
and eax, 0xffffff01
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], eax
test dl, dl
je 0x48087f
cmp byte [esi + 0x3e0], 0
mov byte [ebp - 0x146], 1
jne 0x480886
mov byte [ebp - 0x146], 0
mov eax, dword [esi + 0x1c84]
mov ecx, dword [ebp - 0x158]
cmp eax, ecx
je 0x4808b8
cmp dword [esi + 0x1e30], ecx
je 0x4808af
cmp dword [esi + 0x1e24], ecx
jne 0x4808b8
cmp dword [esi + 0x1e48], 2
jne 0x4808b8
mov byte [ebp - 0x149], 1
jmp 0x4808bf
mov byte [ebp - 0x149], 0
cmp byte [ebp - 0x154], 0
je 0x4808f0
test edi, edi
je 0x4808f0
test eax, eax
jne 0x4808f0
mov ecx, dword [ebp - 0x174]
push eax
push str.SCROLLY
call fcn.0044bca0
mov byte [ebp - 0x14b], 1
cmp dword [esi + 0x1cbc], eax
je 0x4808f7
mov byte [ebp - 0x14b], 0
cmp byte [ebp - 0x154], 0
je 0x480924
test edi, edi
je 0x480924
mov ecx, dword [ebp - 0x174]
push 0
push str.SCROLLY
call fcn.0044bca0
mov ecx, dword [esi + 0x1c84]
cmp ecx, eax
jne 0x480924
mov dl, 1
jmp 0x48092c
mov ecx, dword [esi + 0x1c84]
xor dl, dl
mov eax, ecx
mov byte [ebp - 0x147], dl
mov byte [ebp - 0x15a], 0
cmp eax, dword [ebp - 0x158]
je 0x480982
test byte [ebx + 0x14], 0x10
jne 0x480952
cmp byte [ebp - 0x149], 0
je 0x480982
mov eax, dword [ebp - 0x154]
test al, al
jne 0x480988
mov byte [ebp - 0x150], 1
movss xmm0, dword [0x66dee0]
movss dword [ebp - 0x19c], xmm0
test edi, edi
je 0x4809a9
xor al, 1
cmp byte [edi + 0x53], al
je 0x4809a9
mov al, 1
jmp 0x4809ab
mov eax, dword [ebp - 0x154]
mov byte [ebp - 0x150], 0
test al, al
je 0x480963
mov esi, dword [ebp - 0x174]
movss xmm0, dword [esi + 0x94]
mov esi, dword [ebp - 0x16c]
jmp 0x48096b
xor al, al
cmp byte [ebp - 0x146], 0
mov byte [ebp - 0x14a], al
mov dword [ebp - 0x194], 0x3c
jne 0x4809f5
cmp byte [ebp - 0x14b], 0
jne 0x4809f5
cmp byte [ebp - 0x149], 0
jne 0x4809f5
cmp byte [ebp - 0x20], 0
jne 0x4809f5
cmp byte [ebp - 0x18], 0
jne 0x4809f5
mov byte [ebp - 0x148], 0
test dl, dl
jne 0x4809fc
mov byte [ebp - 0x14b], dl
jmp 0x480a0b
mov byte [ebp - 0x148], 1
mov byte [ebp - 0x14b], 1
cmp ecx, dword [ebp - 0x158]
jne 0x480a13
test al, al
je 0x480b3a
lea edi, [esi + 0x2070]
mov esi, dword [ebp - 0x160]
mov dword [edi + 0xe68], 0xbe99999a
mov dword [ebp - 0x178], edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x480a32
sub esi, ecx
lea ecx, [edi + 0x24]
inc esi
push esi
call fcn.00466d90
push esi
mov esi, dword [ebp - 0x160]
push esi
push dword [edi + 0x2c]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [ebp - 0xe0], 0
lea ecx, [edi + 0xc]
push 0x3d
call fcn.00466ea0
lea ecx, [edi + 0x18]
push 0
call fcn.00466d90
mov edx, dword [ebp - 0x194]
lea eax, [ebp - 0xe0]
mov ecx, dword [edi + 0x14]
push eax
push 0
push esi
mov byte [edi + 0x30], 0
call fcn.00449bd0
mov dword [edi + 4], eax
add esp, 0xc
mov eax, dword [ebp - 0xe0]
sub eax, esi
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x158]
cmp dword [edi], eax
jne 0x480abf
cmp byte [ebp - 0x14a], 0
jne 0x480abf
mov ecx, edi
call fcn.0047bad0
jmp 0x480b01
mov dword [edi], eax
lea ecx, [edi + 0x3c]
mov eax, dword [ebp - 0x154]
movzx edx, al
xor edx, 1
mov dword [edi + 0x38], 0
call fcn.00480170
mov edx, dword [ebp - 0x154]
test dl, dl
jne 0x480b07
mov edx, dword [ebp - 0x150]
mov eax, 1
cmp byte [ebp - 0x20], 0
movzx edx, dl
cmovne edx, eax
mov dword [ebp - 0x150], edx
mov edx, dword [ebp - 0x154]
test dword [ebx + 0x14], 0x2000
je 0x480b14
mov byte [edi + 0x48], 1
mov esi, dword [ebp - 0x16c]
test dl, dl
jne 0x480b3a
cmp byte [ebp - 0x18], dl
jne 0x480b33
cmp byte [ebp - 0x146], dl
je 0x480b3a
cmp byte [esi + 0x100], dl
je 0x480b3a
mov byte [ebp - 0x150], 1
mov eax, dword [ebp - 0x158]
cmp dword [esi + 0x1c84], eax
je 0x480bf9
cmp byte [ebp - 0x148], 0
je 0x480bf9
mov edx, dword [ebp - 0x18c]
mov ecx, eax
call fcn.0044bd90
mov edx, dword [ebp - 0x18c]
mov ecx, dword [ebp - 0x158]
call fcn.004589d0
mov ecx, dword [ebp - 0x18c]
call fcn.00456170
mov eax, dword [esi + 0x1c98]
mov edx, dword [ebp - 0x154]
or eax, 3
mov dword [esi + 0x1c98], eax
test dl, dl
jne 0x480ba1
test byte [ebx + 0x14], 0x80
je 0x480baa
or eax, 0xc
mov dword [esi + 0x1c98], eax
mov eax, dword [esi + 0x1ca0]
or dword [esi + 0x1c9c], 2
or eax, 0x180
mov ecx, dword [esi + 0x1ca4]
mov dword [esi + 0x1ca0], eax
mov dword [esi + 0x1ca4], ecx
test dl, dl
je 0x480be1
or eax, 0x60
mov dword [esi + 0x1ca4], ecx
mov dword [esi + 0x1ca0], eax
test dword [ebx + 0x14], 0x440
je 0x480bf9
or eax, 1
mov dword [esi + 0x1ca4], ecx
mov dword [esi + 0x1ca0], eax
mov eax, dword [esi + 0x1c84]
mov ecx, dword [ebp - 0x158]
cmp eax, ecx
jne 0x480c4c
test edi, edi
jne 0x480c22
xor edx, edx
xor ecx, ecx
call fcn.0044bd90
mov eax, dword [esi + 0x1c84]
mov ecx, dword [ebp - 0x158]
cmp eax, ecx
jne 0x480c4c
cmp byte [esi + 0x3e0], 0
je 0x480c59
cmp byte [ebp - 0x14b], 0
jne 0x480c59
cmp byte [ebp - 0x148], 0
jne 0x480c59
mov byte [ebp - 0x15a], 1
mov dl, 1
jmp 0x480c5f
test edi, edi
je 0x480c5d
cmp byte [ebp - 0x147], 0
je 0x480c5d
mov dl, 1
jmp 0x480c5f
xor dl, dl
mov byte [ebp - 0x147], dl
test edi, edi
je 0x480c79
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x480c79
test dl, dl
je 0x480c79
mov al, 1
jmp 0x480c7b
xor al, al
cmp byte [ebp - 0x170], 0
mov byte [ebp - 0x14c], al
mov byte [ebp - 0x166], 0
mov byte [ebp - 0x14b], 0
je 0x480d26
test edi, edi
je 0x480d26
test dl, dl
jne 0x480cb0
test al, al
je 0x480d2e
push 0x3d
lea ecx, [edi + 0xc]
mov dword [ebp - 0xe4], 0
call fcn.00466ea0
mov edx, dword [edi + 0xc]
lea eax, [ebp - 0xe4]
mov ecx, dword [edi + 0x14]
push eax
push 0
push dword [ebp - 0x160]
call fcn.00449bd0
mov dword [edi + 4], eax
add esp, 0xc
mov eax, dword [ebp - 0xe4]
mov ecx, edi
sub eax, dword [ebp - 0x160]
mov dword [edi + 8], eax
call fcn.0047bad0
mov ecx, dword [edi + 0x40]
xor edx, edx
movzx eax, byte [ebp - 0x14c]
cmp ecx, dword [edi + 0x44]
mov esi, dword [ebp - 0x16c]
mov ecx, dword [ebp - 0x158]
cmovne edx, eax
mov al, dl
mov dl, byte [ebp - 0x147]
mov byte [ebp - 0x14c], al
test dl, dl
jne 0x480d36
test al, al
jne 0x480d36
cmp dword [esi + 0x1c84], ecx
jne 0x480d50
cmp byte [ebp - 0x170], 0
jne 0x480d50
test edi, edi
je 0x480d50
cmp byte [edi + 0x30], 0
mov byte [ebp - 0x17f], 1
jne 0x480d57
mov byte [ebp - 0x17f], 0
cmp byte [ebp - 0x1a4], 0
je 0x480de4
mov edx, dword [esi + 0x19d4]
cmp dword [edx + 0x14], 0x2a
ja 0x480d75
mov eax, dword [edx + 0x2c]
jmp 0x480d94
mov eax, dword [edx + 0x1c]
mov ecx, 0xffff
movzx eax, word [eax + 0x54]
cmp ax, cx
jne 0x480d8b
mov eax, dword [edx + 0x2c]
jmp 0x480d94
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x28]
lea eax, [eax + ecx*8]
mov dword [ebp - 0x18], eax
lea ecx, [esi + 0x2eec]
mov eax, dword [edx + 0x10]
mov dword [ecx + 0x10], eax
mov eax, dword [esi + 0x19d4]
mov eax, dword [eax + 0x40]
mov dword [ecx + 0x40], eax
mov eax, dword [esi + 0x19d4]
mov eax, dword [eax + 0x44]
mov dword [ecx + 0x44], eax
mov eax, dword [esi + 0x19d4]
mov eax, dword [eax + 0x48]
mov dword [ecx + 0x48], eax
mov eax, dword [esi + 0x19d4]
mov eax, dword [eax + 0x30]
mov dword [ecx + 0x30], eax
mov eax, dword [ebp - 0x18]
mov dword [ecx + 0x2c], eax
mov eax, dword [eax + 4]
mov dword [ecx + 0xc], eax
call fcn.00456410
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x17c], 0
cmp dword [esi + 0x1c84], eax
jne 0x48117e
mov eax, dword [edi + 8]
mov byte [edi + 0xe6e], 0
mov dword [edi + 0x34], 0x3c
mov dword [edi + 0xe74], 0
mov dword [edi + 0xe78], 0
mov dword [ebp - 0x17c], eax
mov eax, dword [ebx + 0x14]
mov dword [edi + 0xe70], eax
cmp byte [esi + 0xec], 0
mov dword [esi + 0x3264], 1
sete al
cmp byte [ebp - 0x154], 0
mov byte [esi + 0x1c91], al
movss xmm2, dword [esi + 0xe4]
subss xmm2, dword [ebp - 0xc8]
subss xmm2, dword [esi + 0x15d0]
addss xmm2, dword [edi + 0x38]
je 0x480e8c
mov eax, dword [ebp - 0x174]
movss xmm3, dword [esi + 0xe8]
subss xmm3, dword [eax + 0x10c]
jmp 0x480e9c
movss xmm3, dword [esi + 0x19d8]
mulss xmm3, dword [0x66dde4]
cmp byte [ebp - 0x150], 0
mov cl, byte [esi + 0xb8]
mov byte [ebp - 0x146], cl
jne 0x480fc3
mov dl, byte [ebp - 0x165]
test dl, dl
je 0x480ecf
test cl, cl
jne 0x480f11
cmp byte [esi + 0x3e5], cl
jne 0x480fc3
cmp byte [esi + 0x3e0], 0
mov al, byte [edi + 0xe6d]
je 0x480f6e
test al, al
jne 0x480f6e
test dl, dl
je 0x480fde
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.0047eea0
mov cl, byte [ebp - 0x146]
mov dword [edi + 0xe68], 0xbe99999a
jmp 0x480fde
cmp byte [esi + 0x3e5], 0
je 0x480ecf
push 0x20000c
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.0047f280
add esp, 4
mov byte [edi + 0xe6c], 1
lea edx, [edi + 0x3c]
mov dword [edi + 0xe68], 0xbe99999a
mov ecx, edi
push 0x60000d
call fcn.0047f280
mov esi, dword [ebp - 0x16c]
add esp, 4
mov cl, byte [ebp - 0x146]
mov byte [edi + 0xe6c], 1
mov dword [edi + 0xe68], 0xbe99999a
jmp 0x480fde
cmp byte [esi + 0xec], 0
je 0x480fde
test al, al
jne 0x480fde
movss xmm0, dword [esi + 0x378]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x480fa0
movss xmm0, dword [esi + 0x37c]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x480fde
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.0047eef0
mov cl, byte [ebp - 0x146]
mov dword [edi + 0xe68], 0xbe99999a
mov byte [edi + 0xe6c], 1
jmp 0x480fde
mov eax, dword [edi + 4]
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], eax
mov dword [edi + 0x3c], eax
mov byte [edi + 0x52], 0
mov byte [edi + 0xe6d], 1
cmp byte [edi + 0xe6d], 0
je 0x480ff7
cmp byte [esi + 0xec], 0
jne 0x480ff7
mov byte [edi + 0xe6d], 0
cmp byte [esi + 0x100], 0
je 0x481009
cmp byte [esi + 0x102], 0
je 0x481016
test cl, cl
je 0x48101f
cmp byte [esi + 0x103], 0
je 0x48101f
mov byte [ebp - 0x145], 1
jmp 0x481026
mov byte [ebp - 0x145], 0
test dword [ebx + 0x14], 0x400
je 0x4810cf
mov eax, dword [0x682310]
mov ecx, dword [eax + 0x34]
test ecx, ecx
js 0x4810cf
mov dl, 1
call fcn.00450af0
mov cl, byte [ebp - 0x145]
test al, al
je 0x4810d5
test cl, cl
jne 0x4810d5
cmp byte [esi + 0x101], cl
jne 0x4810d5
cmp byte [ebp - 0x170], cl
jne 0x4810d5
mov ecx, dword [esi + 0x1518]
mov eax, dword [esi + 0x1510]
lea edx, [ecx + eax*2]
cmp ecx, edx
jae 0x48108f
nop
movzx eax, word [ecx]
add ecx, 2
cmp eax, 9
je 0x4810cf
cmp ecx, edx
jb 0x481080
mov edx, dword [ebx + 0x14]
lea ecx, [ebp - 0x54]
push 2
push 0
push 0
mov dword [ebp - 0x54], 9
call fcn.00480250
add esp, 0xc
test al, al
je 0x4810cf
push dword [ebp - 0x54]
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.0047f280
add esp, 4
mov byte [edi + 0xe6c], 1
mov dword [edi + 0xe68], 0xbe99999a
mov cl, byte [ebp - 0x145]
mov edx, dword [esi + 0x1510]
lea eax, [esi + 0x1510]
test edx, edx
jle 0x48117e
test cl, cl
jne 0x481175
cmp byte [ebp - 0x170], cl
jne 0x481175
cmp byte [ebp - 0x149], cl
jne 0x481175
xor ecx, ecx
mov dword [ebp - 0x18], ecx
test edx, edx
jle 0x481175
nop word [eax + eax]
mov eax, dword [esi + 0x1518]
movzx eax, word [eax + ecx*2]
mov dword [ebp - 0x20], eax
cmp eax, 9
jne 0x48112b
cmp byte [esi + 0x101], 0
jne 0x481167
mov edx, dword [ebx + 0x14]
lea ecx, [ebp - 0x20]
push 2
push 0
push 0
call fcn.00480250
add esp, 0xc
test al, al
je 0x481164
push dword [ebp - 0x20]
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.0047f280
add esp, 4
mov byte [edi + 0xe6c], 1
mov dword [edi + 0xe68], 0xbe99999a
mov ecx, dword [ebp - 0x18]
inc ecx
lea eax, [esi + 0x1510]
mov dword [ebp - 0x18], ecx
cmp ecx, dword [eax]
jl 0x481110
push 0
mov ecx, eax
call fcn.00466ea0
mov ecx, dword [esi + 0x1c84]
xor dl, dl
mov eax, ecx
mov byte [ebp - 0x145], dl
cmp ecx, dword [ebp - 0x158]
jne 0x481b9a
cmp byte [esi + 0x1c90], dl
jne 0x481b9a
cmp byte [ebp - 0x15a], dl
jne 0x481b9a
movss xmm0, dword [ebp - 0xb8]
mov ecx, 1
subss xmm0, dword [esi + 0x15d4]
divss xmm0, dword [esi + 0x19d8]
cvttss2si eax, xmm0
cmp eax, 1
cmovge ecx, eax
xor eax, eax
mov dword [edi + 0x4c], ecx
cmp byte [esi + 0x101], al
mov dword [ebp - 0x20], ecx
mov ecx, 0x400000
cmovne eax, ecx
mov ecx, dword [esi + 0x380]
mov dword [ebp - 0x150], eax
mov al, byte [esi + 0xb8]
mov byte [ebp - 0x18d], al
mov dword [ebp - 0x164], ecx
test al, al
je 0x481225
cmp ecx, 0xa
jne 0x481225
mov byte [ebp - 0x159], 1
mov dword [ebp - 0x164], ecx
jmp 0x48122c
mov byte [ebp - 0x159], 0
test al, al
je 0x48125b
cmp byte [esi + 0x103], 0
mov al, byte [esi + 0x102]
mov byte [ebp - 0x146], al
je 0x481267
cmp byte [esi + 0x100], 0
jne 0x481267
test al, al
jne 0x481267
mov byte [ebp - 0x149], 1
jmp 0x48126e
mov al, byte [esi + 0x100]
mov byte [ebp - 0x146], al
mov byte [ebp - 0x149], 0
cmp ecx, 1
sete al
cmp byte [esi + 0xb8], 0
mov byte [ebp - 0x148], al
je 0x48128f
cmp ecx, 8
sete al
mov byte [ebp - 0x148], al
test al, al
je 0x4812b5
mov eax, dword [0x682310]
mov eax, dword [eax + 0x80]
test eax, eax
js 0x4812b5
mov dl, 1
mov ecx, eax
call fcn.00450af0
test al, al
jne 0x4812d1
mov ecx, dword [ebp - 0x164]
cmp ecx, 2
jne 0x4812fd
mov eax, dword [0x682310]
mov ecx, dword [eax + 0x5c]
test ecx, ecx
js 0x4812fd
mov dl, 1
call fcn.00450af0
test al, al
je 0x4812fd
cmp byte [ebp - 0x170], 0
jne 0x4812fd
cmp byte [ebp - 0x1a4], 0
jne 0x4812fd
cmp byte [ebp - 0x154], 0
je 0x4812f4
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x4812fd
mov byte [ebp - 0x14a], 1
jmp 0x481304
mov byte [ebp - 0x14a], 0
cmp byte [ebp - 0x148], 0
je 0x481324
mov eax, dword [0x682310]
mov ecx, dword [eax + 0x78]
test ecx, ecx
js 0x481324
mov dl, 1
call fcn.00450af0
test al, al
jne 0x481344
cmp dword [ebp - 0x164], 1
jne 0x481367
mov eax, dword [0x682310]
mov ecx, dword [eax + 0x58]
test ecx, ecx
js 0x481367
mov dl, 1
call fcn.00450af0
test al, al
je 0x481367
cmp byte [ebp - 0x1a4], 0
jne 0x481367
cmp byte [ebp - 0x154], 0
je 0x48135e
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x481367
mov byte [ebp - 0x17e], 1
jmp 0x48136e
mov byte [ebp - 0x17e], 0
cmp byte [ebp - 0x148], 0
je 0x48138e
mov eax, dword [0x682310]
mov ecx, dword [eax + 0x7c]
test ecx, ecx
js 0x48138e
mov dl, 1
call fcn.00450af0
test al, al
jne 0x4813ae
cmp dword [ebp - 0x164], 2
jne 0x4813be
mov eax, dword [0x682310]
mov ecx, dword [eax + 0x58]
test ecx, ecx
js 0x4813be
mov dl, 1
call fcn.00450af0
test al, al
je 0x4813be
cmp byte [ebp - 0x170], 0
mov byte [ebp - 0x165], 1
je 0x4813c5
mov byte [ebp - 0x165], 0
cmp byte [ebp - 0x148], 0
je 0x481401
mov eax, dword [0x682310]
mov ecx, dword [eax + 0x88]
test ecx, ecx
js 0x481401
mov dl, 1
call fcn.00450af0
test al, al
je 0x481401
cmp byte [ebp - 0x170], 0
jne 0x481401
cmp byte [ebp - 0x184], 0
mov byte [ebp - 0x17d], 1
jne 0x481408
mov byte [ebp - 0x17d], 0
cmp byte [ebp - 0x148], 0
je 0x48142b
mov eax, dword [0x682310]
mov ecx, dword [eax + 0x84]
test ecx, ecx
js 0x48142b
mov dl, 1
call fcn.00450af0
test al, al
jne 0x48144e
cmp byte [ebp - 0x159], 0
je 0x481467
mov eax, dword [0x682310]
mov ecx, dword [eax + 0x88]
test ecx, ecx
js 0x481467
mov dl, 1
call fcn.00450af0
test al, al
je 0x481467
cmp byte [ebp - 0x170], 0
jne 0x481467
cmp byte [ebp - 0x184], 0
mov byte [ebp - 0x159], 1
jne 0x48146e
mov byte [ebp - 0x159], 0
mov eax, dword [0x682310]
mov ecx, dword [eax + 0x38]
test ecx, ecx
js 0x4814d3
mov dl, 1
call fcn.00450af0
test al, al
je 0x4814d3
cmp byte [ebp - 0x149], 0
je 0x4814a9
mov eax, 0x200004
lea edx, [edi + 0x3c]
or eax, dword [ebp - 0x150]
mov ecx, edi
push eax
call fcn.0047f280
jmp 0x481b57
mov eax, 0x200000
mov ecx, 0x20000c
cmp byte [ebp - 0x146], 0
lea edx, [edi + 0x3c]
cmovne eax, ecx
mov ecx, edi
or eax, dword [ebp - 0x150]
push eax
call fcn.0047f280
jmp 0x481b57
mov eax, dword [0x682310]
mov ecx, dword [eax + 0x3c]
test ecx, ecx
js 0x481518
mov dl, 1
call fcn.00450af0
test al, al
je 0x481518
cmp byte [ebp - 0x149], 0
je 0x48150e
mov eax, 0x200005
lea edx, [edi + 0x3c]
or eax, dword [ebp - 0x150]
mov ecx, edi
push eax
call fcn.0047f280
jmp 0x481b57
mov eax, 0x200001
lea ecx, [eax + 0xc]
jmp 0x4814b3
mov eax, dword [0x682310]
mov ecx, dword [eax + 0x40]
test ecx, ecx
js 0x4815a8
mov dl, 1
call fcn.00450af0
test al, al
je 0x4815a8
cmp byte [ebp - 0x154], 0
je 0x4815a8
cmp byte [esi + 0x100], 0
je 0x481584
mov ecx, dword [ebp - 0x174]
movss xmm0, dword [ecx + 0x94]
subss xmm0, dword [esi + 0x19d8]
maxss xmm0, dword [0x66dd90]
movss dword [ecx + 0xa4], xmm0
mov dword [ecx + 0xac], 0
mov dword [ecx + 0xb4], 0
jmp 0x481b6b
movzx eax, byte [ebp - 0x149]
lea edx, [edi + 0x3c]
mov ecx, edi
lea eax, [eax*4 + 0x200002]
or eax, dword [ebp - 0x150]
push eax
call fcn.0047f280
jmp 0x481b57
mov eax, dword [0x682310]
mov ecx, dword [eax + 0x44]
test ecx, ecx
js 0x481623
mov dl, 1
call fcn.00450af0
test al, al
je 0x481623
cmp byte [ebp - 0x154], 0
je 0x481623
cmp byte [esi + 0x100], 0
je 0x4815ff
mov ecx, dword [ebp - 0x174]
mov eax, dword [0x682310]
movss xmm0, dword [ecx + 0x94]
addss xmm0, dword [esi + 0x19d8]
mov eax, dword [eax + 0x1c48]
minss xmm0, dword [eax + 0x9c]
jmp 0x481563
movzx eax, byte [ebp - 0x149]
lea edx, [edi + 0x3c]
mov ecx, edi
lea eax, [eax*4 + 0x200003]
or eax, dword [ebp - 0x150]
push eax
call fcn.0047f280
jmp 0x481b57
mov eax, dword [0x682310]
mov ecx, dword [eax + 0x48]
test ecx, ecx
js 0x481694
mov dl, 1
call fcn.00450af0
test al, al
je 0x481694
cmp byte [ebp - 0x154], 0
je 0x481694
mov ecx, dword [ebp - 0x150]
lea edx, [edi + 0x3c]
or ecx, 0x20000e
push ecx
mov ecx, edi
call fcn.0047f280
movd xmm0, dword [ebp - 0x20]
movss xmm1, dword [ebp - 0x19c]
cvtdq2ps xmm0, xmm0
mov byte [edi + 0xe6c], 1
mov dword [edi + 0xe68], 0xbe99999a
mulss xmm0, dword [esi + 0x19d8]
subss xmm1, xmm0
movss dword [ebp - 0x19c], xmm1
jmp 0x481b68
mov eax, dword [0x682310]
mov ecx, dword [eax + 0x4c]
test ecx, ecx
js 0x481701
mov dl, 1
call fcn.00450af0
test al, al
je 0x481701
cmp byte [ebp - 0x154], 0
je 0x481701
mov ecx, dword [ebp - 0x150]
lea edx, [edi + 0x3c]
or ecx, 0x20000f
push ecx
mov ecx, edi
call fcn.0047f280
movd xmm0, dword [ebp - 0x20]
cvtdq2ps xmm0, xmm0
mov byte [edi + 0xe6c], 1
mov dword [edi + 0xe68], 0xbe99999a
mulss xmm0, dword [esi + 0x19d8]
addss xmm0, dword [ebp - 0x19c]
movss dword [ebp - 0x19c], xmm0
jmp 0x481b68
mov eax, dword [0x682310]
mov ecx, dword [eax + 0x50]
test ecx, ecx
js 0x481740
mov dl, 1
call fcn.00450af0
test al, al
je 0x481740
xor eax, eax
lea edx, [edi + 0x3c]
cmp byte [esi + 0x100], al
mov ecx, edi
setne al
lea eax, [eax*2 + 0x200004]
or eax, dword [ebp - 0x150]
push eax
call fcn.0047f280
jmp 0x481b57
mov eax, dword [0x682310]
mov ecx, dword [eax + 0x54]
test ecx, ecx
js 0x48177f
mov dl, 1
call fcn.00450af0
test al, al
je 0x48177f
xor eax, eax
lea edx, [edi + 0x3c]
cmp byte [esi + 0x100], al
mov ecx, edi
setne al
lea eax, [eax*2 + 0x200005]
or eax, dword [ebp - 0x150]
push eax
call fcn.0047f280
jmp 0x481b57
mov eax, dword [0x682310]
mov ecx, dword [eax + 0x5c]
test ecx, ecx
js 0x4817bb
mov dl, 1
call fcn.00450af0
test al, al
je 0x4817bb
cmp byte [ebp - 0x170], 0
jne 0x4817bb
mov ecx, dword [ebp - 0x150]
lea edx, [edi + 0x3c]
or ecx, 0x200008
push ecx
mov ecx, edi
call fcn.0047f280
jmp 0x481b57
mov eax, dword [0x682310]
mov ecx, dword [eax + 0x60]
test ecx, ecx
js 0x48185e
mov dl, 1
call fcn.00450af0
test al, al
je 0x48185e
cmp byte [ebp - 0x170], 0
jne 0x48185e
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
jne 0x481842
cmp byte [ebp - 0x146], 0
je 0x4817fb
push 0x60000c
jmp 0x481824
cmp byte [ebp - 0x18d], 0
je 0x481842
cmp byte [esi + 0x103], 0
je 0x481842
cmp byte [esi + 0x102], 0
jne 0x481842
cmp byte [esi + 0x100], 0
jne 0x481842
push 0x600004
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.0047f280
mov dword [edi + 0xe68], 0xbe99999a
add esp, 4
mov byte [edi + 0xe6c], 1
mov ecx, dword [ebp - 0x150]
lea edx, [edi + 0x3c]
or ecx, 0x200009
push ecx
mov ecx, edi
call fcn.0047f280
jmp 0x481b57
mov eax, dword [0x682310]
mov ecx, dword [eax + 0x68]
test ecx, ecx
js 0x481875
mov dl, 1
call fcn.00450af0
test al, al
jne 0x481890
mov eax, dword [0x682310]
mov ecx, dword [eax + 0x70]
test ecx, ecx
js 0x48190d
mov dl, 1
call fcn.00450af0
test al, al
je 0x48190d
mov ecx, dword [ebx + 0x14]
mov eax, ecx
shr eax, 0xb
and al, 1
cmp byte [ebp - 0x154], 0
je 0x4818b0
test al, al
je 0x4818c3
cmp byte [esi + 0x100], 0
jne 0x4818cc
mov byte [ebp - 0x15a], 1
mov byte [ebp - 0x14b], 1
jmp 0x481b6b
cmp byte [esi + 0x100], 0
jne 0x4818b0
cmp byte [ebp - 0x170], 0
jne 0x481b6b
push 2
push 0
mov edx, ecx
mov dword [ebp - 0x24], 0xa
push 0
lea ecx, [ebp - 0x24]
call fcn.00480250
add esp, 0xc
test al, al
je 0x481b6b
push dword [ebp - 0x24]
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.0047f280
jmp 0x481b57
mov eax, dword [0x682310]
mov ecx, dword [eax + 0x6c]
test ecx, ecx
js 0x481931
mov dl, 1
call fcn.00450af0
test al, al
je 0x481931
mov dl, 1
mov byte [ebp - 0x15a], dl
jmp 0x481b71
mov al, byte [ebp - 0x17d]
test al, al
jne 0x481b38
cmp byte [ebp - 0x159], al
jne 0x481b38
cmp byte [ebp - 0x148], al
je 0x48198a
mov eax, dword [0x682310]
mov ecx, dword [eax + 0x74]
test ecx, ecx
js 0x48198a
mov dl, 1
call fcn.00450af0
test al, al
je 0x48198a
mov eax, dword [edi + 4]
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], eax
mov dword [edi + 0x3c], eax
mov byte [edi + 0x52], 0
mov byte [edi + 0xe6c], 1
jmp 0x481b6b
mov al, byte [ebp - 0x14a]
test al, al
jne 0x481a6e
cmp byte [ebp - 0x17e], al
jne 0x481a6e
cmp byte [ebp - 0x165], al
je 0x481b6b
call fcn.0044c200
mov esi, eax
test esi, esi
je 0x481b6b
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4819c4
sub ecx, edx
lea ecx, [ecx*2 + 2]
call fcn.0044c1b0
xor ecx, ecx
mov dword [ebp - 0x184], eax
cmp byte [esi], cl
je 0x481a3c
xor edi, edi
push 0
mov edx, esi
lea ecx, [ebp - 0x18]
call fcn.00449a70
add esp, 4
add esi, eax
cmp dword [ebp - 0x18], 0
je 0x481a2a
mov edx, dword [ebx + 0x14]
lea ecx, [ebp - 0x18]
push 5
push 0
push 0
call fcn.00480250
add esp, 0xc
test al, al
je 0x481a25
mov ecx, dword [ebp - 0x184]
mov ax, word [ebp - 0x18]
mov word [ecx + edi*2], ax
inc edi
cmp byte [esi], 0
jne 0x4819e7
mov eax, dword [ebp - 0x184]
mov dword [ebp - 0x24], edi
mov edi, dword [ebp - 0x178]
mov ecx, dword [ebp - 0x24]
xor edx, edx
mov word [eax + ecx*2], dx
test ecx, ecx
jle 0x481a62
push ecx
push eax
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.0047f1f0
mov eax, dword [ebp - 0x184]
add esp, 8
mov byte [edi + 0xe6c], 1
mov ecx, eax
call fcn.0044c1d0
jmp 0x481b6b
cmp dword [esi + 0xdc], 0
je 0x481af9
mov ecx, dword [edi + 0x44]
mov eax, dword [edi + 0x40]
cmp eax, ecx
je 0x481a8c
mov esi, ecx
cmovl esi, eax
jmp 0x481a8e
xor esi, esi
cmp eax, ecx
mov dword [ebp - 0x20], esi
cmovge ecx, eax
jne 0x481a9b
mov ecx, dword [edi + 4]
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x24], ecx
lea edx, [eax + ecx*2]
lea ecx, [eax + esi*2]
call fcn.00449d10
mov edi, eax
lea ecx, [edi + 1]
call fcn.0044c1b0
mov ecx, dword [ebp - 0x178]
lea edx, [edi + 1]
mov dword [ebp - 0x1c], eax
mov esi, dword [ecx + 0x14]
mov ecx, dword [ebp - 0x24]
lea ecx, [esi + ecx*2]
push ecx
mov ecx, dword [ebp - 0x20]
lea ecx, [esi + ecx*2]
push ecx
mov ecx, eax
call fcn.00449c40
mov ecx, dword [ebp - 0x1c]
add esp, 8
call fcn.0044c230
mov ecx, dword [ebp - 0x1c]
call fcn.0044c1d0
mov edi, dword [ebp - 0x178]
mov al, byte [ebp - 0x14a]
test al, al
je 0x481b6b
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
jne 0x481b19
mov eax, dword [edi + 4]
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], eax
mov dword [edi + 0x3c], eax
mov byte [edi + 0x52], 0
mov byte [edi + 0xe6c], 1
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x481b6b
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.0047f160
mov byte [edi + 0x52], 0
jmp 0x481b6b
movzx eax, al
lea edx, [edi + 0x3c]
xor eax, 1
mov ecx, edi
add eax, 0x20000a
push eax
call fcn.0047f280
mov eax, dword [edi + 0x3c]
mov dword [edi + 0x44], eax
mov dword [edi + 0x40], eax
mov dword [edi + 0xe68], 0xbe99999a
mov byte [edi + 0xe6c], 1
add esp, 4
mov dl, byte [ebp - 0x145]
mov eax, dword [edi + 0x40]
cmp eax, dword [edi + 0x44]
je 0x481b86
cmp byte [ebp - 0x147], 0
je 0x481b86
mov al, 1
jmp 0x481b88
xor al, al
or byte [ebp - 0x14c], al
mov eax, dword [ebp - 0x16c]
mov eax, dword [eax + 0x1c84]
cmp eax, dword [ebp - 0x158]
jne 0x48219e
xor ecx, ecx
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x164], ecx
test dl, dl
je 0x481d9d
cmp byte [ebp - 0x170], cl
jne 0x481cd3
mov esi, dword [edi + 0x2c]
mov ecx, esi
mov eax, dword [ebp - 0x160]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x481bf7
test dl, dl
je 0x481bf3
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x481bf7
add eax, 2
add ecx, 2
test dl, dl
jne 0x481bd7
xor eax, eax
jmp 0x481bfc
sbb eax, eax
or eax, 1
test eax, eax
je 0x481cd3
mov ecx, dword [edi + 0x24]
xor eax, eax
dec ecx
mov dword [ebp - 0x150], esi
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd4], eax
mov dword [ebp - 4], eax
test ecx, ecx
jle 0x481ca5
lea edi, [ecx + esi]
mov dword [ebp - 0x18], eax
test edi, edi
je 0x481c45
cmp esi, edi
jae 0x481c66
cmp byte [esi], 0
je 0x481c66
push edi
mov edx, esi
lea ecx, [ebp - 0x1c]
call fcn.00449a70
add esi, eax
add esp, 4
cmp dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x18]
je 0x481c66
inc eax
jmp 0x481c3a
inc eax
lea ecx, [ebp - 0xdc]
push eax
call fcn.00466ea0
mov edx, dword [ebp - 0xdc]
mov ecx, dword [ebp - 0xd4]
push 0
push edi
push dword [ebp - 0x150]
call fcn.00449bd0
mov ecx, dword [ebp - 0xdc]
add esp, 0xc
mov eax, dword [ebp - 0xd4]
dec ecx
mov edi, dword [ebp - 0x178]
jmp 0x481ca7
xor ecx, ecx
push ecx
push eax
lea edx, [edi + 0x3c]
mov ecx, edi
call fcn.004801d0
add esp, 8
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0xd4]
test ecx, ecx
je 0x481ccc
call fcn.0044c1d0
mov dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x14b], 0
mov eax, dword [ebx + 0x14]
je 0x481ce7
test al, 0x20
jne 0x481da0
mov ecx, dword [ebp - 0x164]
mov edx, dword [ebp - 0x150]
test edx, edx
je 0x482180
cmp byte [ebp - 0xcc], 0
je 0x482146
mov dword [ebp - 0x140], eax
xorps xmm0, xmm0
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x130], eax
lea eax, [ecx + 1]
cmp eax, 0x3c
movlpd qword [ebp - 0x138], xmm0
movlpd qword [ebp - 0x124], xmm0
cmovle eax, dword [ebp - 0x194]
mov dword [ebp - 0x128], eax
lea eax, [ebp - 0x144]
push eax
xor eax, eax
movlpd qword [ebp - 0x11c], xmm0
mov dword [ebp - 0x144], 0x40000
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x13c], 0
call eax
mov esi, dword [ebp - 0x128]
add esp, 4
mov eax, dword [ebp - 0x130]
mov edx, dword [ebp - 0x150]
mov dword [ebp - 0x160], eax
lea ecx, [esi - 1]
cmp dword [ebp - 0x12c], ecx
cmovl ecx, dword [ebp - 0x12c]
jmp 0x48214b
mov eax, dword [ebx + 0x14]
cmp byte [ebp - 0x170], 0
jne 0x481dd6
mov eax, dword [edi + 0xc]
lea ecx, [edi + 0x18]
mov byte [edi + 0x30], 1
lea eax, [eax*4 + 1]
push eax
call fcn.00466d90
mov edx, dword [edi + 0x18]
mov ecx, dword [edi + 0x20]
push 0
push dword [edi + 0x14]
call fcn.00449c40
mov eax, dword [ebx + 0x14]
add esp, 8
test eax, 0x801c0
je 0x4820f0
mov esi, 0x16
test al, 0x40
je 0x481e0b
mov eax, dword [0x682310]
mov ecx, dword [eax + 0x34]
test ecx, ecx
js 0x481e08
mov dl, 1
call fcn.00450af0
test al, al
je 0x481e08
lea eax, [esi + 0x2a]
xor esi, esi
jmp 0x481e7b
mov eax, dword [ebx + 0x14]
test al, al
jns 0x481e54
mov eax, dword [0x682310]
mov ecx, dword [eax + 0x40]
test ecx, ecx
js 0x481e30
mov dl, 1
call fcn.00450af0
test al, al
je 0x481e30
mov eax, 0x80
lea esi, [eax - 0x7d]
jmp 0x481e7b
mov eax, dword [0x682310]
mov ecx, dword [eax + 0x44]
test ecx, ecx
js 0x481e51
mov dl, 1
call fcn.00450af0
test al, al
je 0x481e51
mov eax, 0x80
lea esi, [eax - 0x7c]
jmp 0x481e7b
mov eax, dword [ebx + 0x14]
test eax, 0x80000
je 0x481e6b
cmp byte [edi + 0xe6e], 0
je 0x481e6b
mov eax, 0x80000
jmp 0x481e7b
test eax, 0x100
je 0x4820f0
mov eax, 0x100
mov dword [ebp - 0x114], eax
xor ecx, ecx
mov eax, dword [ebx + 0x14]
xorps xmm0, xmm0
mov dword [ebp - 0x110], eax
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x100], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0xfc], eax
mov eax, dword [edi + 0x34]
mov dword [ebp - 0x104], esi
mov esi, dword [edi + 0x14]
mov dword [ebp - 0xf8], eax
mov eax, dword [edi + 0x3c]
mov word [ebp - 0xe7], cx
mov byte [ebp - 0xe5], cl
mov dword [ebp - 0x10c], ecx
mov byte [ebp - 0xf4], cl
lea edx, [esi + eax*2]
mov ecx, esi
mov dword [ebp - 0x108], 0
movlpd qword [ebp - 0xf3], xmm0
mov dword [ebp - 0xeb], 0
call fcn.00449d10
mov ecx, dword [ebp - 0x178]
mov edi, eax
mov dword [ebp - 0xf0], edi
mov ecx, dword [ecx + 0x40]
lea edx, [esi + ecx*2]
mov ecx, esi
call fcn.00449d10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x178]
mov ecx, dword [eax + 0x44]
lea edx, [esi + ecx*2]
mov ecx, esi
call fcn.00449d10
mov dword [ebp - 0x1ac], eax
mov dword [ebp - 0xe8], eax
lea eax, [ebp - 0x114]
push eax
xor eax, eax
call eax
mov dl, byte [ebp - 0xf4]
add esp, 4
mov eax, dword [ebp - 0xf0]
mov byte [ebp - 0x14a], dl
cmp eax, edi
jne 0x481f60
test dl, dl
je 0x481fbb
mov esi, dword [ebp - 0x100]
lea edi, [eax + esi]
xor eax, eax
mov dword [ebp - 0x18], eax
test edi, edi
je 0x481f76
cmp esi, edi
jae 0x481f9d
cmp byte [esi], 0
je 0x481f9d
push edi
mov edx, esi
lea ecx, [ebp - 0x98]
call fcn.00449a70
add esi, eax
add esp, 4
cmp dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x18]
je 0x481f9d
inc eax
jmp 0x481f6b
mov edi, dword [ebp - 0x178]
mov dl, byte [ebp - 0x14a]
mov dword [edi + 0x3c], eax
mov eax, dword [ebp - 0xf0]
mov byte [edi + 0xe6c], 1
jmp 0x481fc1
mov edi, dword [ebp - 0x178]
mov ecx, dword [ebp - 0xec]
cmp ecx, dword [ebp - 0x1c]
jne 0x481fd0
test dl, dl
je 0x48202b
cmp ecx, eax
jne 0x481fd9
mov eax, dword [edi + 0x3c]
jmp 0x482022
mov esi, dword [ebp - 0x100]
xor eax, eax
lea edi, [ecx + esi]
mov dword [ebp - 0x18], eax
test edi, edi
je 0x481fef
cmp esi, edi
jae 0x482016
cmp byte [esi], 0
je 0x482016
push edi
mov edx, esi
lea ecx, [ebp - 0x94]
call fcn.00449a70
add esi, eax
add esp, 4
cmp dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x18]
je 0x482016
inc eax
jmp 0x481fe4
mov ecx, dword [ebp - 0xec]
mov edi, dword [ebp - 0x178]
mov dl, byte [ebp - 0x14a]
mov dword [edi + 0x40], eax
mov eax, dword [ebp - 0xe8]
cmp eax, dword [ebp - 0x1ac]
jne 0x482041
test dl, dl
je 0x4820ed
cmp eax, ecx
jne 0x48204a
mov eax, dword [edi + 0x40]
jmp 0x48208d
mov esi, dword [ebp - 0x100]
lea edi, [eax + esi]
xor eax, eax
mov dword [ebp - 0x18], eax
test edi, edi
je 0x482060
cmp esi, edi
jae 0x482087
cmp byte [esi], 0
je 0x482087
push edi
mov edx, esi
lea ecx, [ebp - 0x90]
call fcn.00449a70
add esi, eax
add esp, 4
cmp dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x18]
je 0x482087
inc eax
jmp 0x482055
mov edi, dword [ebp - 0x178]
cmp byte [ebp - 0x14a], 0
mov dword [edi + 0x44], eax
je 0x4820ed
mov eax, dword [ebp - 0xfc]
mov edx, dword [ebp - 0x17c]
cmp eax, edx
jle 0x4820bf
cmp byte [ebp - 0xcc], 0
je 0x4820bf
lea ecx, [edi + 0xc]
sub eax, edx
add eax, dword [ecx]
push eax
call fcn.00466ea0
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 0x14]
push 0
push 0
push dword [ebp - 0x100]
call fcn.00449bd0
mov dword [edi + 4], eax
add esp, 0xc
mov eax, dword [ebp - 0xfc]
mov dword [edi + 8], eax
mov dword [edi + 0xe68], 0xbe99999a
mov eax, dword [ebx + 0x14]
cmp byte [ebp - 0x170], 0
jne 0x481ce7
mov esi, dword [edi + 0x20]
mov eax, esi
mov ecx, dword [ebp - 0x160]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x482128
test dl, dl
je 0x482124
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x482128
add eax, 2
add ecx, 2
test dl, dl
jne 0x482108
xor eax, eax
jmp 0x48212d
sbb eax, eax
or eax, 1
test eax, eax
mov eax, dword [ebx + 0x14]
je 0x481ce7
mov ecx, dword [edi + 8]
mov dword [ebp - 0x150], esi
jmp 0x481ced
mov esi, 0x3c
lea eax, [ecx + 1]
cmp eax, esi
cmovl esi, eax
cmp esi, 1
jb 0x482179
jbe 0x48216e
lea eax, [esi - 1]
push eax
push edx
push dword [ebp - 0x160]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
add esp, 0xc
mov eax, dword [ebp - 0x160]
mov byte [eax + esi - 1], 0
mov byte [ebp - 0x166], 1
mov dword [edi + 0xe70], 0
mov dword [edi + 0xe74], 0
mov dword [edi + 0xe78], 0
cmp byte [ebp - 0x15a], 0
mov esi, dword [ebp - 0x16c]
mov eax, dword [ebp - 0x158]
je 0x4821ca
cmp dword [esi + 0x1c84], eax
jne 0x4821ca
xor edx, edx
xor ecx, ecx
call fcn.0044bd90
mov eax, dword [ebp - 0x158]
mov ecx, dword [ebp - 0x154]
test cl, cl
jne 0x482253
push 1
mov edx, eax
lea ecx, [ebp - 0xc8]
call fcn.0044b020
mov eax, dword [0x682310]
lea ecx, [ebp - 0x50]
movss xmm0, dword [esi + 0x15d8]
add esp, 4
movss dword [ebp - 0x1c], xmm0
movups xmm1, xmmword [eax + 0x16cc]
movss xmm0, dword [eax + 0x1598]
movups xmmword [ebp - 0x50], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm0, xmm1
movss dword [ebp - 0x44], xmm0
call fcn.00449d60
push dword [ebp - 0xbc]
movss xmm2, dword [ebp - 0x1c]
mov dl, 1
push dword [ebp - 0xc0]
mov ecx, eax
push dword [ebp - 0xc4]
push dword [ebp - 0xc8]
call fcn.0044ad60
mov ecx, dword [ebp - 0x154]
add esp, 0x10
movss xmm0, dword [ebp - 0xc8]
movss xmm1, dword [ebp - 0xc4]
movss dword [ebp - 0x64], xmm0
movss dword [ebp - 0x60], xmm1
addss xmm0, dword [ebp - 0x1a0]
addss xmm1, dword [ebp - 0xb8]
movss dword [ebp - 0x5c], xmm0
movss dword [ebp - 0x58], xmm1
test cl, cl
je 0x4822a5
mov edx, dword [ebp - 0x174]
mov eax, dword [edx + 0x108]
mov dword [ebp - 0x30], eax
mov eax, dword [edx + 0x10c]
mov dword [ebp - 0x2c], eax
jmp 0x4822cf
movss xmm0, dword [esi + 0x15d0]
addss xmm0, dword [ebp - 0xc8]
movss dword [ebp - 0x30], xmm0
movss xmm0, dword [esi + 0x15d4]
addss xmm0, dword [ebp - 0xc4]
movss dword [ebp - 0x2c], xmm0
cmp byte [ebp - 0x17f], 0
lea eax, [ebp - 0x30]
movss xmm0, dword [eax]
movss dword [ebp - 0x40], xmm0
movss xmm0, dword [eax + 4]
movss dword [ebp - 0x3c], xmm0
xorps xmm0, xmm0
movss dword [ebp - 0x20], xmm0
movss dword [ebp - 0x18], xmm0
je 0x482306
mov edx, dword [edi + 0x20]
mov dword [ebp - 0x160], edx
jmp 0x48230c
mov edx, dword [ebp - 0x160]
cmp byte [ebp - 0x147], 0
mov dword [ebp - 0xb4], 0
jne 0x48241f
cmp byte [ebp - 0x14c], 0
jne 0x48241f
test cl, cl
je 0x48236e
mov edi, dword [ebp - 0x160]
lea edx, [ebp - 0xb4]
mov ecx, edi
call fcn.0047e900
movss xmm1, dword [esi + 0x19d8]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm1, xmm0
movss xmm0, dword [ebp - 0x1a0]
movss dword [ebp - 0x20], xmm0
movss dword [ebp - 0x18], xmm1
jmp 0x4823b3
mov eax, dword [ebp - 0x158]
cmp dword [esi + 0x1c84], eax
jne 0x482383
mov eax, dword [edi + 8]
add eax, edx
jmp 0x48239a
mov ecx, edx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x482388
sub ecx, edx
mov edx, dword [ebp - 0x160]
lea eax, [edx + ecx]
mov edi, dword [ebp - 0x160]
mov dword [ebp - 0xb4], eax
sub eax, edx
cmp eax, 0x200000
jge 0x482d10
mov eax, dword [0x682310]
lea ecx, [ebp - 0x50]
movups xmm0, xmmword [eax + 0x165c]
movups xmmword [ebp - 0x50], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [eax + 0x1598]
movss dword [ebp - 0x44], xmm0
call fcn.00449d60
movss xmm2, dword [esi + 0x19d8]
lea ecx, [ebp - 0x64]
xor edx, edx
cmp byte [ebp - 0x154], dl
cmovne ecx, edx
push ecx
push ecx
mov dword [esp], edx
push dword [ebp - 0xb4]
push edi
push eax
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x174]
push dword [esi + 0x19d4]
mov ecx, dword [eax + 0x2c4]
call fcn.004716c0
jmp 0x482d10
mov eax, dword [edi + 8]
add eax, edx
movss dword [ebp - 0x1ac], xmm0
xor edx, edx
mov dword [ebp - 0xb4], eax
mov ecx, dword [edi + 0x14]
mov dword [ebp - 0x150], ecx
movss dword [ebp - 0xcc], xmm0
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x164], 0xfffffc18
mov dword [ebp - 0x158], 0xfffffc18
cmp byte [ebp - 0x147], dl
je 0x482490
mov eax, dword [edi + 0x3c]
mov edx, 1
mov dword [ebp - 0x164], 0xffffffff
lea eax, [ecx + eax*2]
mov dword [ebp - 0x17c], eax
cmp byte [ebp - 0x14c], 0
je 0x4824c3
mov ecx, dword [edi + 0x44]
cmp dword [edi + 0x40], ecx
mov eax, dword [ebp - 0x150]
cmovl ecx, dword [edi + 0x40]
inc edx
mov dword [ebp - 0x158], 0xffffffff
lea eax, [eax + ecx*2]
mov ecx, dword [ebp - 0x150]
mov dword [ebp - 0x184], eax
mov esi, dword [ebp - 0x150]
mov eax, dword [ebp - 0x154]
movzx eax, al
add edx, eax
xor eax, eax
movzx esi, word [esi]
mov dword [ebp - 0x1c], esi
test si, si
mov esi, dword [ebp - 0x16c]
je 0x482555
mov eax, dword [ebp - 0x1c]
xor edi, edi
movzx esi, ax
nop
cmp si, 0xa
jne 0x48252f
inc edi
cmp dword [ebp - 0x164], 0xffffffff
jne 0x482513
cmp ecx, dword [ebp - 0x17c]
jb 0x482513
dec edx
mov dword [ebp - 0x164], edi
test edx, edx
jle 0x48253d
cmp dword [ebp - 0x158], 0xffffffff
jne 0x48252f
cmp ecx, dword [ebp - 0x184]
jb 0x48252f
dec edx
mov dword [ebp - 0x158], edi
test edx, edx
jle 0x48253d
movzx eax, word [ecx + 2]
add ecx, 2
mov esi, eax
test ax, ax
jne 0x4824f0
mov esi, dword [ebp - 0x16c]
mov dword [ebp - 0x194], edi
mov edi, dword [ebp - 0x178]
mov eax, dword [ebp - 0x194]
cmp dword [ebp - 0x164], 0xffffffff
lea edx, [eax + 1]
mov eax, dword [ebp - 0x17c]
mov ecx, edx
cmovne ecx, dword [ebp - 0x164]
cmp dword [ebp - 0x158], 0xffffffff
mov dword [ebp - 0x1c], ecx
mov ecx, edx
cmovne ecx, dword [ebp - 0x158]
mov dword [ebp - 0x194], ecx
mov ecx, dword [ebp - 0x150]
mov dword [ebp - 0x2c], edx
mov edx, eax
cmp eax, ecx
jbe 0x4825aa
cmp word [edx - 2], 0xa
je 0x4825a4
add edx, 0xfffffffe
cmp edx, ecx
ja 0x482596
mov eax, dword [ebp - 0x17c]
push 0
push 0
push 0
push eax
lea ecx, [ebp - 0x1bc]
call fcn.0047e940
movd xmm3, dword [ebp - 0x1c]
add esp, 0x10
cmp dword [ebp - 0x194], 0
movss xmm0, dword [esi + 0x19d8]
movss xmm1, dword [eax]
cvtdq2ps xmm3, xmm3
movss dword [ebp - 0x158], xmm1
mulss xmm3, xmm0
movss dword [ebp - 0x1c], xmm3
jl 0x482664
mov eax, dword [ebp - 0x184]
mov edx, eax
mov ecx, dword [ebp - 0x150]
cmp eax, ecx
jbe 0x482617
cmp word [edx - 2], 0xa
je 0x482611
add edx, 0xfffffffe
cmp edx, ecx
ja 0x482603
mov eax, dword [ebp - 0x184]
push 0
push 0
push 0
push eax
lea ecx, [ebp - 0x1c4]
call fcn.0047e940
movd xmm1, dword [ebp - 0x194]
add esp, 0x10
movss xmm3, dword [ebp - 0x1c]
cvtdq2ps xmm1, xmm1
movss xmm0, dword [eax]
movss dword [ebp - 0xcc], xmm0
movss xmm0, dword [esi + 0x19d8]
mulss xmm1, xmm0
movss dword [ebp - 0x1ac], xmm1
movss xmm1, dword [ebp - 0x158]
mov ecx, dword [ebp - 0x154]
movss xmm5, dword [ebp - 0x1a0]
test cl, cl
je 0x48268e
movd xmm4, dword [ebp - 0x2c]
cvtdq2ps xmm4, xmm4
movss dword [ebp - 0x20], xmm5
mulss xmm4, xmm0
movss dword [ebp - 0x18], xmm4
jmp 0x482693
movss xmm4, dword [ebp - 0x18]
cmp byte [ebp - 0x147], 0
je 0x4827af
cmp byte [edi + 0xe6c], 0
je 0x4827af
test dword [ebx + 0x14], 0x1000
jne 0x4826ff
movss xmm2, dword [edi + 0x38]
movaps xmm0, xmm5
comiss xmm2, xmm1
mulss xmm0, dword [0x66ddd0]
subss xmm5, dword [esi + 0x15d0]
jbe 0x4826f0
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x38], xmm0
jmp 0x482706
subss xmm1, xmm5
comiss xmm1, xmm2
jb 0x482706
addss xmm0, xmm1
jmp 0x4826de
mov dword [edi + 0x38], 0
xorps xmm5, xmm5
test cl, cl
je 0x4827a8
movss xmm2, dword [ebp - 0x19c]
movaps xmm0, xmm3
subss xmm0, dword [esi + 0x19d8]
comiss xmm2, xmm0
jbe 0x48273a
movss xmm3, dword [ebp - 0xb8]
xorps xmm2, xmm2
maxss xmm2, xmm0
jmp 0x48275e
movaps xmm0, xmm3
movss xmm3, dword [ebp - 0xb8]
subss xmm0, xmm3
comiss xmm0, xmm2
jb 0x48275e
movss xmm2, dword [esi + 0x15d4]
addss xmm2, xmm2
addss xmm2, xmm0
comiss xmm5, xmm2
movss xmm1, dword [esi + 0x15d4]
jbe 0x482770
xorps xmm1, xmm1
jmp 0x482784
addss xmm1, xmm1
addss xmm1, xmm4
subss xmm1, xmm3
maxss xmm1, xmm5
minss xmm1, xmm2
mov eax, dword [ebp - 0x174]
movss xmm0, dword [eax + 0x94]
subss xmm0, xmm1
addss xmm0, dword [ebp - 0x3c]
movss dword [ebp - 0x3c], xmm0
movss dword [eax + 0x94], xmm1
mov byte [edi + 0xe6c], 0
cmp byte [ebp - 0x14c], 0
movss xmm0, dword [edi + 0x38]
movss dword [ebp - 0x17c], xmm0
je 0x482a74
mov edx, dword [edi + 0x44]
mov eax, edx
mov ecx, dword [edi + 0x40]
cmp ecx, edx
mov esi, dword [ebp - 0x150]
cmovl eax, ecx
cmovge edx, ecx
cmp byte [ebp - 0x147], 0
lea esi, [esi + eax*2]
mov eax, dword [ebp - 0x150]
lea eax, [eax + edx*2]
mov dword [ebp - 0x164], eax
je 0x482804
movss xmm1, dword [0x66de28]
jmp 0x48280c
movss xmm1, dword [0x66ddec]
mov eax, dword [0x682310]
lea ecx, [ebp - 0xb0]
movups xmm0, xmmword [eax + 0x196c]
mulss xmm1, dword [eax + 0x1598]
movups xmmword [ebp - 0xb0], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm1, xmm0
movss dword [ebp - 0xa4], xmm1
call fcn.00449d60
cmp byte [ebp - 0x154], 0
mov dword [ebp - 0x2c], eax
je 0x482863
xorps xmm0, xmm0
movss dword [ebp - 0x1a8], xmm0
movss dword [ebp - 0x194], xmm0
jmp 0x482876
movss xmm0, dword [0x66de60]
movss dword [ebp - 0x194], xmm0
xorps xmm0, xmm0
movss xmm2, dword [ebp - 0x3c]
addss xmm2, dword [ebp - 0x1ac]
movss xmm1, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x164]
mov dword [ebp - 0xb8], esi
addss xmm1, dword [ebp - 0xcc]
subss xmm2, xmm0
movss dword [ebp - 0x184], xmm2
cmp esi, ecx
jae 0x482a68
subss xmm1, dword [ebp - 0x17c]
mov edi, dword [ebp - 0x16c]
movss xmm3, dword [edi + 0x19d8]
movss dword [ebp - 0x1ac], xmm1
nop
movss xmm0, dword [ebp - 0x58]
addss xmm0, xmm3
comiss xmm2, xmm0
ja 0x482a62
movss xmm0, dword [ebp - 0x60]
comiss xmm0, xmm2
jbe 0x482912
cmp esi, ecx
jae 0x482a2e
movzx eax, word [esi]
add esi, 2
mov dword [ebp - 0xb8], esi
cmp eax, 0xa
je 0x482a2e
cmp esi, ecx
jb 0x4828f4
jmp 0x482a2e
push 1
push 0
lea eax, [ebp - 0xb8]
mov edx, esi
push eax
push ecx
lea ecx, [ebp - 0xd0]
call fcn.0047e940
movss xmm2, dword [ebp - 0xd0]
xorps xmm5, xmm5
add esp, 0x10
comiss xmm5, xmm2
jb 0x482976
mov eax, dword [edi + 0x19d4]
cmp dword [eax], 0x20
jle 0x482956
mov eax, dword [eax + 8]
movss xmm0, dword [eax + 0x80]
jmp 0x48295b
movss xmm0, dword [eax + 0xc]
mulss xmm0, dword [0x66dde4]
cvttss2si eax, xmm0
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss dword [ebp - 0xd0], xmm2
movss xmm0, dword [ebp - 0x1a8]
lea eax, [ebp - 0x50]
subss xmm0, dword [edi + 0x19d8]
movss xmm3, dword [ebp - 0x1ac]
lea ecx, [ebp - 0x74]
movss xmm1, dword [ebp - 0x194]
addss xmm2, xmm3
addss xmm1, dword [ebp - 0x184]
addss xmm3, xmm5
addss xmm0, dword [ebp - 0x184]
push eax
movss dword [ebp - 0x6c], xmm2
movss dword [ebp - 0x68], xmm1
movss dword [ebp - 0x74], xmm3
movss dword [ebp - 0x70], xmm0
movups xmm0, xmmword [ebp - 0x64]
movups xmmword [ebp - 0x50], xmm0
call fcn.004476f0
movups xmm0, xmmword [ebp - 0x64]
lea eax, [ebp - 0x1d4]
push eax
lea ecx, [ebp - 0x74]
movups xmmword [ebp - 0x1d4], xmm0
call fcn.00447670
test al, al
je 0x482a1a
push 0
push ecx
mov dword [esp], 0
lea eax, [ebp - 0x6c]
push dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x174]
mov ecx, dword [eax + 0x2c4]
call fcn.00471450
mov ecx, dword [ebp - 0x164]
movss xmm2, dword [ebp - 0x184]
mov esi, dword [ebp - 0xb8]
movss xmm3, dword [edi + 0x19d8]
movss xmm1, dword [ebp - 0x40]
movaps xmm0, xmm3
addss xmm2, xmm0
subss xmm1, dword [ebp - 0x17c]
movss dword [ebp - 0x184], xmm2
movss dword [ebp - 0x1ac], xmm1
cmp esi, ecx
jb 0x4828d0
mov edi, dword [ebp - 0x178]
mov ecx, dword [ebp - 0x154]
mov esi, dword [ebp - 0x16c]
test cl, cl
jne 0x482a8f
mov eax, dword [ebp - 0xb4]
sub eax, dword [ebp - 0x160]
cmp eax, 0x200000
jge 0x482b2c
mov eax, dword [0x682310]
lea ecx, [ebp - 0x50]
movups xmm1, xmmword [eax + 0x165c]
movss xmm0, dword [eax + 0x1598]
movups xmmword [ebp - 0x50], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm0, xmm1
movss dword [ebp - 0x44], xmm0
call fcn.00449d60
movss xmm0, dword [ebp - 0x40]
lea ecx, [ebp - 0x64]
subss xmm0, dword [ebp - 0x17c]
movss xmm2, dword [esi + 0x19d8]
xor edx, edx
cmp byte [ebp - 0x154], dl
cmovne ecx, edx
push ecx
push ecx
mov dword [esp], edx
push dword [ebp - 0xb4]
movss dword [ebp - 0x1b0], xmm0
push dword [ebp - 0x160]
movss xmm0, dword [ebp - 0x3c]
subss xmm0, dword [0x66dd90]
push eax
lea eax, [ebp - 0x1b0]
push eax
mov eax, dword [ebp - 0x174]
push dword [esi + 0x19d4]
movss dword [ebp - 0x1ac], xmm0
mov ecx, dword [eax + 0x2c4]
call fcn.004716c0
cmp byte [ebp - 0x147], 0
je 0x482d0a
movss xmm0, dword [esi + 0x18]
addss xmm0, dword [edi + 0xe68]
movss dword [edi + 0xe68], xmm0
cmp byte [esi + 0xb9], 0
je 0x482b92
xorps xmm1, xmm1
comiss xmm1, xmm0
jae 0x482b92
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x30], xmm0
fld qword [ebp - 0x30]
fld qword [0x66de58]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
movss xmm0, dword [0x66de0c]
fstp qword [ebp - 0x30]
movsd xmm1, qword [ebp - 0x30]
cvtpd2ps xmm1, xmm1
comiss xmm0, xmm1
jae 0x482b92
xor cl, cl
jmp 0x482b94
mov cl, 1
movss xmm0, dword [ebp - 0x158]
movss xmm3, dword [0x66de28]
addss xmm0, dword [ebp - 0x40]
subss xmm0, dword [ebp - 0x17c]
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0x3c]
addss xmm0, dword [ebp - 0x1c]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
subss xmm0, dword [0x66dd90]
movss dword [ebp - 0x1a8], xmm1
movss dword [ebp - 0x50], xmm1
cvttss2si eax, xmm0
movd xmm2, eax
cvtdq2ps xmm2, xmm2
movss dword [ebp - 0x1c], xmm2
movaps xmm0, xmm2
subss xmm0, dword [esi + 0x19d8]
addss xmm0, dword [0x66dde4]
movss dword [ebp - 0x4c], xmm0
movaps xmm0, xmm1
addss xmm0, xmm3
movss dword [ebp - 0x48], xmm0
movaps xmm0, xmm2
subss xmm0, dword [0x66de4c]
movss dword [ebp - 0x44], xmm0
test cl, cl
je 0x482cce
movups xmm0, xmmword [ebp - 0x64]
lea eax, [ebp - 0x1e4]
push eax
lea ecx, [ebp - 0x50]
movups xmmword [ebp - 0x1e4], xmm0
call fcn.00447670
test al, al
je 0x482cb9
mov eax, dword [ebp - 0x174]
lea ecx, [ebp - 0x38]
mov esi, dword [eax + 0x2c4]
mov eax, dword [0x682310]
movups xmm0, xmmword [eax + 0x165c]
movups xmmword [ebp - 0x38], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [eax + 0x1598]
movss dword [ebp - 0x2c], xmm0
call fcn.00449d60
movss xmm0, dword [ebp - 0x50]
push ecx
mov dword [esp], 0x3f800000
mov ecx, esi
push eax
lea eax, [ebp - 0x198]
movss dword [ebp - 0x198], xmm0
movss xmm0, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x50]
movss dword [ebp - 0x194], xmm0
push eax
call fcn.00471260
mov esi, dword [ebp - 0x16c]
movss xmm3, dword [0x66de28]
movss xmm2, dword [ebp - 0x1c]
movss xmm1, dword [ebp - 0x1a8]
cmp byte [ebp - 0x170], 0
mov edi, dword [ebp - 0x160]
jne 0x482d10
subss xmm2, dword [esi + 0x19d8]
mov eax, dword [ebp - 0x18c]
subss xmm1, xmm3
movss dword [esi + 0x2fa4], xmm2
movss dword [esi + 0x2fa0], xmm1
mov eax, dword [eax + 0x30]
mov dword [esi + 0x2fb0], eax
jmp 0x482d10
mov edi, dword [ebp - 0x160]
cmp byte [ebp - 0x1a4], 0
je 0x482d1e
call fcn.00456560
cmp byte [ebp - 0x154], 0
je 0x482d5e
movss xmm0, dword [ebp - 0x20]
lea ecx, [ebp - 0x188]
movss dword [ebp - 0x188], xmm0
movss xmm0, dword [esi + 0x15d4]
addss xmm0, dword [ebp - 0x18]
movss dword [ebp - 0x184], xmm0
call fcn.0047dd30
call fcn.00450ec0
call fcn.004573a0
cmp byte [esi + 0x3028], 0
je 0x482d9c
cmp byte [ebp - 0x1a4], 0
jne 0x482d9c
mov eax, dword [0x682310]
lea ecx, [ebp - 0x40]
mov edx, edi
mov dword [eax + 0x3040], 0x66c070
mov dword [eax + 0x3044], 0x66c06c
push dword [ebp - 0xb4]
call fcn.0045c1a0
add esp, 4
movss xmm0, dword [ebp - 0x8c]
comiss xmm0, dword [0x66dd90]
jbe 0x482def
movss xmm0, dword [esi + 0x15e8]
xor edx, edx
addss xmm0, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0x1b4]
movss dword [ebp - 0x30], xmm0
movss xmm0, dword [ebp - 0xc4]
addss xmm0, dword [esi + 0x15d4]
movss dword [ebp - 0x2c], xmm0
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push 1
call fcn.0044a4f0
add esp, 0xc
mov dl, byte [ebp - 0x166]
mov ecx, dword [ebx + 0x14]
test dl, dl
je 0x482e1f
test ecx, 0x8000000
jne 0x482e1f
mov eax, dword [0x682310]
mov word [eax + 0x1c94], 0x101
mov eax, dword [eax + 0x1c48]
or dword [eax + 0x158], 4
test cl, 0x20
movzx eax, dl
movzx ecx, byte [ebp - 0x14b]
cmovne eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005eee94
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret